Friday, August 20, 2010

MSIs that need the setup.exe reference

Some vendor MSIs are supplied with setup.exe files.  Attempting to call the MSI directly to install may fail where the MSI needs to reference functionality in the setup.exe itself.  The solution is to provide the MSI with the setup.exe location with command line parameters and use the setup.ini file to input other variables that may be required including additional command line parameters.  Vodafone Mobile Connect v9.9.9.222273 is an example of this.

msiexec /i "vodafone mobile connect.msi" TRANSFORMS=mytransform.mst SETUPEXEDIR=<path to setup.exe> SETUPEXENAME=Setup_vmc.exe