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
- :
- Chained .MSI pass command line argument to the .msi
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Jan 05, 2024
04:02 PM
Chained .MSI pass command line argument to the .msi
I need to change the install directory of a chained .MSI
In a command prompt I can do this using
msiexec /i "Test1.msi" INSTALLDIR="C:\Program Files (x86)\NewInstallDir"
Is there a way to do this via Chained .msi packages settings?
If not any alternatives? I suppose I could use Custom Actions but if there is a way to modify my existing chained .msi configuration I'd rather go that way.
Thanks!
(1) Reply
Jan 08, 2024
03:22 AM
Hi -
Take a look at the "Install properties" part of the chained msi settings in your project.
This will allow you to pass INSTALLDIR and a new value to the chained package:
https://docs.revenera.com/installshield/helplibrary/ChainedMSIPackages.htm?
Cheers,
Stuart