A windows installer question

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
 
G

Guest

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
 
J

Jim Wooley

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
 
B

BVM

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
 
B

BVM

Jim,

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

Thanks,

Dennis Huang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top