cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
thomCblackwell
Level 4

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!

Labels (1)
0 Kudos

(1) Reply
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

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

0 Kudos