Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / August 2006

Tip: Looking for answers? Try searching our database.

A windows installer question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BVM - 21 Aug 2006 00:52 GMT
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
NZSnark - 21 Aug 2006 06:58 GMT
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

> Hi:
>
[quoted text clipped - 3 lines]
>
> Dennis Huang
BVM - 28 Aug 2006 00:31 GMT
Thanks NZSnark.

Dennis Huang

> Hi BVM
> If using the VS 2003 installer, right click on the installer project and
[quoted text clipped - 15 lines]
>>
>> Dennis Huang
Jim Wooley - 21 Aug 2006 14:35 GMT
> 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
BVM - 28 Aug 2006 01:12 GMT
Jim,

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

Thanks,

Dennis Huang

>> I want the application defaulted to install on a specific location
>> like C:\MyApp, not under C:\Program Files. How can I do it?
[quoted text clipped - 4 lines]
> Jim Wooley
> http://devauthority.com/blogs/jwooley/default.aspx

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.