How to select which instance to update with command line in Installshield (silent mode)? -
i have installscript project (non msi), in multi-instance mode. in cases, setup.exe launched command line in silent mode.
then, new versions of program generated, , may have update som instances installed on machine. problem don't know how select instance want update cmdline (in silent mode). there way ?
i've noticed there /ig switch, enables me use specific instance guid, not seem let me select instance guid...
i found it.
to update specific instance need :
- a record file correspondig update mode (to it, have run setup.exe cmdline in record mode :
setup.exe /r /f1"/full/path/to/your/recordfile.iss"
- the guid of instance want update : guid contained in installscript "instance_guid" variable. can write file during installation of instance.
then, can update instance following command line :
setup.exe /r /f1"/full/path/to/your/recordfile.iss" /ig"{your-guid-goes-here}"
this did trick me.
Comments
Post a Comment