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: Modifying INSTALLDIR in a custom action, component dirs not updated
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Apr 26, 2010
03:43 PM
Modifying INSTALLDIR in a custom action, component dirs not updated
Greetings Everyone,
I have run into a problem where we determine where our installation is going to go based on some evaluation in an InstallScript Custom Action. Within this action the [INSTALLDIR] property is updated.
When running the installation the base files are put in the correct location but all of the components which reside in folders within the INSTALLDIR are placed in the default INSTALLDIR and not within the updated INSTALLDIR. All of these components reside within the main app feature and their destinations are set to [INSTALLDIR]folder\ but it seems that it uses the default INSTALLDIR and NOT the updated one even though the base application is installed to the updated INSTALLDIR.
I am using an IS custom action for immediate execution. I also tried creating separate features for each component with no resolution.
Any ideas would be kindly appreciated.
Thank you,
Jesse
I have run into a problem where we determine where our installation is going to go based on some evaluation in an InstallScript Custom Action. Within this action the [INSTALLDIR] property is updated.
When running the installation the base files are put in the correct location but all of the components which reside in folders within the INSTALLDIR are placed in the default INSTALLDIR and not within the updated INSTALLDIR. All of these components reside within the main app feature and their destinations are set to [INSTALLDIR]folder\ but it seems that it uses the default INSTALLDIR and NOT the updated one even though the base application is installed to the updated INSTALLDIR.
I am using an IS custom action for immediate execution. I also tried creating separate features for each component with no resolution.
Any ideas would be kindly appreciated.
Thank you,
Jesse
(1) Reply
Apr 27, 2010
07:24 PM
Setting those component destinations to [INSTALLDIR]something sounds right. Perhaps post the custom action type/code/settings, and someone here might be able to help?