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
- :
- Change install directory name
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
‎Mar 06, 2009
01:27 AM
Change install directory name
I need to change the default install directory name depending on a search for previous installations (allowing side by side installation) to have the current version appended to the [INSTALLDIR] directory. I had been using a custom action in a WiX installer to do this, but the properties set up in the InstallShield msi dont seem to allow me to use the same method.
Anyone know of a simple way to achieve this?.
Cheers
Lenny
Anyone know of a simple way to achieve this?.
Cheers
Lenny
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 06, 2009
06:19 PM
If nothing else, you should be able to use a set-directory custom action to change INSTALLDIR to whatever you want, based on [ProductVersion] or [InstanceId] or [MY_SEARCH_PROP] or what-have-you...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 09, 2009
09:12 PM
Thanks for the reply, I had tried to do this, but was jumping in a bit early, but saw in the install logs that the property was available after cost intialise, so changing INSTALLDIR after that works.
Thanks
Lenny
Thanks
Lenny