Click here to Skip to main content
15,893,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i need to create installer for my winforms application.
i searched the web .

but i didn't get what i want. my requirement is:

when am installing that setup that should ask which drive you want to use. and that selected drive and folder should apper in textbox of my project
Posted

1 solution

The usual installer feature is a custom target directory (but not a drive, a directory name). This feature should be available in all non-nonsense installer toolsets. I usually recommend open-source WiX:
http://en.wikipedia.org/wiki/WiX[^],
http://wixtoolset.org[^].

One of the main reason for using it to me is probably the most correct integration with both MSBuild and Visual Studio. In this respect (and other aspects) this product is well ahead of the "standard" project template "Setup" which used to come with earlier versions of Visual Studio, as well as many other products. Please see my past answers:
installshield and Visual Studio 2012[^],
Custom setup project[^].

—SA
 
Share this answer
 
Comments
Member 10263519 31-Dec-13 4:28am    
not that thing,while installing the application using installer that should ask drive/folder.

in that folder ,from project ,we r creating excel sheet
Member 10263519 31-Dec-13 4:29am    
simply how to get the parameter from user while installation.
Sergey Alexandrovich Kryukov 31-Dec-13 12:30pm    
I am not telling it, because you did not tell us what toolset you are using, or probably did not choose the one to work with. When you do and make first steps, you can ask other questions, but you will find it all in your documentation.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900