cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
LennyThompson
Level 3

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
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

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...
0 Kudos
LennyThompson
Level 3

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
0 Kudos