Click here to Skip to main content
15,905,238 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i write an application with C# , then
and add to it a setup project and it operate successfully , but i want to change default of path installation from c:\programfiles to c:\windows\system32

anybody have a solution?

koolprasad2003 3-Sep-11 5:14am    
if your problem is solved then make "SOLVED" by accepting answer

Share this answer
yes, you can set defaut installation path. following are the steps

•Right click on your setup project root in Solution Explorer and choose "View -> File System"

•Click on (select) "Application Folder" in the window which opened.

•If you look in the "Properties Pane" in Visual Studio there is an entry called "DefaultLocation". Change this to point it somewhere besides "Program Files".
Share this answer

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