0% found this document useful (0 votes)
4 views14 pages

001-Ms Install Project

This document provides a step-by-step tutorial on setting up a project using the Microsoft Visual Studio Installer Projects Extension. It covers installation of the extension, creating a setup project, adding project outputs, and customizing the setup with shortcuts, registry keys, and launch conditions. Finally, it explains how to build the project and obtain the final setup file (.msi).

Uploaded by

phynann8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views14 pages

001-Ms Install Project

This document provides a step-by-step tutorial on setting up a project using the Microsoft Visual Studio Installer Projects Extension. It covers installation of the extension, creating a setup project, adding project outputs, and customizing the setup with shortcuts, registry keys, and launch conditions. Finally, it explains how to build the project and obtain the final setup file (.msi).

Uploaded by

phynann8
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension.

- Hexaview Technologies

Setup Project using Microsoft Visual Studio


Installer Projects Extension.
Blogs, Technology

This blog will guide you through a step-by-step tutorial on how we can set up the project using
Microsoft Visual Studio Installer Projects Extension.

Step 1: Install the Microsoft Visual Studio Installer Projects Extension.

– go to Extensions->Manage Extensions in the visual studio toolbar.

[Link] 1/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

– download Microsoft Visual Studio Installer Projects from the online tab menu.

– close all the windows of the visual studio after downloading the extension, then the extension
will be installed, and modification will begin.
-Open the visual studio after installation of the extension.

Step 2: Create the Setup Project

-open visual studio and open the project you want to create a setup of. Right-click on the solution
[Link] 2/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

and go to Add -> new project, and select Setup Project.

-After creating the setup project Right-click on the setup project, go to Add->ProjectOutput.

[Link] 3/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

-Primary Output of the selected project and all required dependencies would be added in the
setup project. Now right, click on the primary output and click on Find an Editor.

[Link] 4/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

-Primary Output of the selected project and all required dependencies would be added in the
setup project. Now right click on the primary output and click on Find in Editor

-you will get the following screen.

[Link] 5/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Now go to the User’s Desktop folder to add a shortcut to the desktop after installation. Then
Right-click on the window and click on Create New Shortcut.

Then Select the Application Folder in the popup window below.

[Link] 6/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Then select Primary Output of the project and click ok.

– Using the same steps, you can also create a shortcut in the User’s Program Menu and
Application Folder. The shortcut of the project would be added; you can rename the shortcut’s
name. Here I named it as ProjectShortcut.

[Link] 7/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

– you can also change the icon of the shortcut in ProjectShortcut properties

you can also do the modifications such as:

-Adding Files or Assembly to Your Setup Project

-Creating the Key Hierarchy

-Defining Launching Conditions

-Define custom actions

-Modify User Interface

-Adding file type

-Merge Module

for this, right-click on the setup project and select View. You will get the following options

[Link] 8/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Registry:- Here you can create the key hierarchy. Click on the registry:-

-The registry for the project opens. Next, you must create a key

hierarchy as detailed in the following steps.

1. Under Registry on Target Machine, right-click on any folders and select New Key. The new key
appears in editable mode.

2. Enter the name for the new key.

3. Repeat the above step to build the key hierarchy as per your requirement.

FileType:- Here, you can add file type,

-Right-click the File Types on the Target Machine node to add a new file type

-In the Properties window, you may specify the properties of the file type:

Enter the extension, a description, and the command to open a file of this type

User Interface:- Here, you can modify the user interface of the setup that will be visible to the
user while installing the project.

Launch Conditions: Here, you can define the application’s conditions. E.g., Create launching
conditions to check if Outlook and Microsoft .NET Framework applications are present before
starting the installation.

Custom Actions:- Custom actions are for adding code that is needed to be executed during
installation. You can add custom actions for install, commit, rollback, and uninstall to execute
that action while performing any of these actions.

For adding files, Assembly, or merging modules, right-click on the project and then go to Add.

[Link] 9/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Select File to add any file

-Select Assembly to add Assembly .

-Select merge module to merge any module in the setup.

Step 3: Build the Project

-Change the configuration of the project you are creating setup to release and build the Setup
project.
-check the release folder of the setup project to get the final setup(.msi File)
-You can install the .msi File and run the project.

final setup file is shown below.

[Link] 10/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Urvashi Sahu

Urvashi is an Application Engineer. She have worked on both


frontend and backend development till now. She loves exploring
new technologies and working on that. She is interested in full
stack development.

Recent Posts

World of Privacy – Are you protected or controlled?


August 25, 2022

Importance of TSaaS Technology in Capital Market


August 25, 2022

Benefits of Customized AI-Powered Wealth Management Platform


August 24, 2022

Second-Generation Packaging (2GP) in Salesforce


August 4, 2022

The Best Data Pipeline Tools List


July 26, 2022

[Link] 11/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Enter Email

SUBSCRIBE

MAIN CATEGORIES

Capital Markets 4

Center of excellence 6

Cloud 5

Data Science 13

Fintech 6

General 3

Lending 1

Salesforce 6

Technology 17

Wealth Management 5

Discover your digital transformation journey with


us
Witness the transition in technology paradigms and reinvent your business to become a ready-
to-go company

Talk to Expert
[Link] 12/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies
Talk to Expert

Services
Salesforce Wealth Management

Data Science Lending

Cloud Capital Market

Custom Software Services On-Demand Solutions

Products
ReportWa

PDF Scrapper

Video Reporting

AlHexa Chatbot

Quick Links
About Us Security

Tech Stack Careers

Blog Case Studies

Press Release Social Impact

Connect with Us

hello@[Link]

+1 (646) 403-4525

Hexaview Technologies, Inc.


Headquarters (USA) #7, Quaker Dr., East Brunswick, NJ, USA 08816
[Link] 13/14
8/30/22, 3:06 PM Setup Project using Microsoft Visual Studio Installer Projects Extension. - Hexaview Technologies

Stay in the know with our newsletter

Subscribe

Enter Email

Copyright © 2022 Hexaview Technologies, Inc.

Privacy Policies Cookie Policy Terms and Conditions Legal Notice

[Link] 14/14

You might also like