I have a need to install multiple packages, each wrapped in .MSI files. I could create a batch file that executes each from CD but would prefer to use a single .MSI file to install all three. My understanding was that I could add the three .MSI files into the application folders then run a Custom Action (after commit), in this case a .vbs that executes MSIExec, to silently install the apps.
The issue I'm having, however, is that while the script runs - I've tested with displaying a msgbox - the MSIEXEC command does nothing at all. The file extracts into the correct folder and the script is also there. I've tried logging outputs, etc, but it just seems to do nothing. I ought to mention as well that outside of the MSI wrapper the script runs as expected. The script is as follows:
Help would be appreciated.
on error resume next
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "msiexec /i ""TestApplicationForInstall_MSI.msi"" /qf"