You Tube

Sunday 19 March 2017

Create a setup project in visual studio ...

Adding Project a Primary Output ...

Add a setup project in your project solution by
Right Click on Solution -> Add -> New project
Add New Project window opens. Select Setup Project by
Other Project Types -> Setup and Deployment -> Visual Studio Installer
Give some name to your setup project and click OK
Setup Project gets added into your project solution.
Right click on your setup project
Go to Add option and then Project Output
Select Primary Output of in the list box and select your application in the top combo box. Now click OK.
Again right click on your setup project and Go to View option and then Custom Actions
Now Custom Actions window gets opened. Right click the Custom Actions and then Add Custom Action…
A window opens, now you have to double click Application Folder option. Doing this, you get to see Primary output from “Your Project”. Select that option and click OK
You would see that primary output of your project gets added in Install, Commit, Rollback and Uninstall option.
Make sure that your setup project is got added into your project solution. 



Choose What to Install or Download before installing ...

Choose Setup Soltion and then prerequisites ... 
then choose what to install ...

No comments:

Post a Comment