This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: DestinationFolder Problem
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 02, 2009
02:32 PM
DestinationFolder Problem
I am sure this is the most stupid question, but I am stumped...since I know my other installer projects are working just fine:
I created a new, simple installer but not able to make it install to a different destination folder than the default Program Files\Blah\Blah folder. What setting am I missing?
Thanks!
😞
I created a new, simple installer but not able to make it install to a different destination folder than the default Program Files\Blah\Blah folder. What setting am I missing?
Thanks!
😞
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 02, 2009
05:32 PM
To change the default, you can use General Information > Product Properties > INSTALLDIR in an MSI project, or General Information > Product Properties > TARGETDIR in InstallScript.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 04, 2009
06:34 PM
Robert...thanks for your response.
I am sorry, I think I didn't phrase my question right. I do have set my default install folder exactly the way you have suggested. The problem is if I try to install the product to a different (say D:\TestFolder\) using the change destination folder screen, the installer still installs the product to the default location (C:\Program Files\Company\ProductName). Any ideas?
I am sorry, I think I didn't phrase my question right. I do have set my default install folder exactly the way you have suggested. The problem is if I try to install the product to a different (say D:\TestFolder\) using the change destination folder screen, the installer still installs the product to the default location (C:\Program Files\Company\ProductName). Any ideas?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
01:33 AM
Hi,
give the ROOTDRIVE property in the property table
eg.ROOTDRIVE="location"
or
INSTALLDIR="destination location"
in the proeprty table.
Thanks
Rags:p
give the ROOTDRIVE property in the property table
eg.ROOTDRIVE="location"
or
INSTALLDIR="destination location"
in the proeprty table.
Thanks
Rags:p
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
08:27 AM
Thanks, but I am not sure I follow your suggestion.
By setting the value of the public property like you suggested, I can solve the problem of not being able to choose a different target location than the default "C:\Program Files\Company\Product" using the destination folder selection screen?
By setting the value of the public property like you suggested, I can solve the problem of not being able to choose a different target location than the default "C:\Program Files\Company\Product" using the destination folder selection screen?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
09:26 AM
Perhaps the features' destinations are INSTALLDIR, which is being set by the Destination dialog box or the Custom Setup dialog box, but the components have a different destination?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
10:26 AM
I did found that discrepancy and fixed it too but now I am getting the error "Error 2343: Specified path is empty" 😞
Here's what I have right now:
What am I missing?:confused:
Thanks.
Here's what I have right now:
- General Information > Product Properties > INSTALLDIR set to {PRODUCT}[ProgramFilesFolder]Company\PRODUCT
- The feature and component's (i just have one feature and one comp) Destination is also set to the same above
What am I missing?:confused:
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
10:31 AM
Are the feature and component going to [INSTALLDIR] or to [PRODUCT]? It should be [INSTALLDIR].
Otherwise, if you create an MSI log file, is there any more information?
Otherwise, if you create an MSI log file, is there any more information?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2009
10:39 AM
That did the trick! 🙂
Thanks a lot for the help. I can move on to more tougher tasks of custom dialogs, custom actions etc., now!
Thanks again.
Thanks a lot for the help. I can move on to more tougher tasks of custom dialogs, custom actions etc., now!
Thanks again.