Running CRRedist2005_x86.msi and InstallShield X
Posted on 2009-04-27
I am trying to build an installation package for an app I build using Visual Studio 2005. I need to use Installshield X so that I can easily incorporate it into our existing install. When I try to use the Merge Modules the install fails saying I need to set ALLUSERS to 1. The problem with this is that I can not find where to set this. So, I revert to calling the CRRedist2005_x86.msi from Installshiled using the code below
SdShowMsg ( "Launching MSI", TRUE );
LaunchAppAndWait (SUPPORTDIR ^ "CRRedist2005_x86.msi", "", WAIT);
SdShowMsg ( "Launching MSI", FALSE);
I do see the Launching MSI message, but the msi never runs.
I have been struggling with this for days and would be forever appreciative to anyone who can offer some advice, guidance, or alternatives. I will say that I have already tried building a second setup with VS2005 and calling it from within Instalshield, but that put the install in a loop.
This does not work either. I