Custom installation path through SETUP

2

When I publish the application of windows form, it already generates Setup by Visual Studio 2010 which, when running, installs in "program files" in Windows 7 the Installation. I would like to create a directory named c: \ CartorioScanner \ and in this directory when running Setup, installing the program, would you know how I can do this? Very Grateful

    
asked by anonymous 19.05.2016 / 19:14

1 answer

1

One of the setups I learned that was well didactic with the developers I work for is this way, I hope it helps:

Step 1: Create a setup application.

Nexttoyourwebproject,applications,andsoon.(I'llusethesetupprojectexample,butwebsetuplookslikethesesteps)

Step2:Opencustomactions

Hereyouwillincludeyourprojectandwewillgotothenextstep

Step3:Let'saddtheproject

step4:double-clickthe"application folder" Byopeningthisoptionyouwillbeintheoptionprimaryoutput

Step5:Enteryourapplicationintothesetup.

AsIhavenoapplicationinmysolution,nooptionappearedonthetab,butasanexampleIgaveaquickscribbletoexemplify.

Step6:Giveokatallandmakesuretheitemsareaddedcorrectly.

Inthisstep,afterconfirmingallthestepsintheimagefromstep4,yourprojectwillappearinallfolders:Install,Commit,Rollback,Uninstall.AutomaticallytheDllswillappearinthe"detected dependencies" folder in the setup application. After doing this, give a build and if it works correctly just search the setup that is in the debug folder of this application.

    
19.05.2016 / 21:28