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
- :
- Changing INSTALLDIR on the Fly
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
‎Nov 10, 2010
01:25 PM
Changing INSTALLDIR on the Fly
I'm working on an Installscript MSI package, and I have been given a requirement that several components need to be installed in a different location that are to be user definable. Is there a way to change the INSTALLDIR per component so that I can prompt the user where he wants a particular component to be installed, and then install the files to that location. I tried changing INSTALLDIR in the Installing and Installed events, but the files were all installed in the same directory.
Robert McMahan
robert.mcmahan@siemens.com
Robert McMahan
robert.mcmahan@siemens.com
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 23, 2010
06:05 AM
Hi Robert,
You can use FeatureSetTarget for setting different paths to different components.
Thanks,
Gayathri
You can use FeatureSetTarget for setting different paths to different components.
Thanks,
Gayathri
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 24, 2010
10:51 AM
I'll look into this. We ended up going a different route. We created installations for each feature, and created a master installer to execute each of the installations. This is working well and as each feature can also stand on it's own it allows the users to install them seperatly if desired.
Robert Mcmahan
Robert Mcmahan
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)