A windows installer question

  • Thread starter Thread starter BVM
  • Start date Start date
B

BVM

Hi:

I want the application defaulted to install on a specific location like C:\MyApp, not under C:\Program Files. How can I do it?

Thanks,

Dennis Huang
 
Hi BVM
If using the VS 2003 installer, right click on the installer project and
select view file system. In there you shold see Application Folder. Select
that and look at the properties. You should see DefaultLocation, and you can
change this to what you want. Note that the installer will by default allow
the user to change the install location.

HTH
 
I want the application defaulted to install on a specific location
like C:\MyApp, not under C:\Program Files. How can I do it?

Not allowing the user to select the install location is a bad practice. You
should use dynamic configuration settings to allow the user to set the install
location and point the necessary file associations as appropriate.
Jim Wooley
http://devauthority.com/blogs/jwooley/default.asp
 
Thanks NZSnark.

Dennis Huang

NZSnark said:
Hi BVM
If using the VS 2003 installer, right click on the installer project and
select view file system. In there you shold see Application Folder. Select
that and look at the properties. You should see DefaultLocation, and you
can
change this to what you want. Note that the installer will by default
allow
the user to change the install location.

HTH
 
Jim,

User still can choose their own location, but I just want them to install in
a default location.

Thanks,

Dennis Huang
 
Back
Top