Maybe the easiest solution should be to use two MSM files in one MSI and with dependencies force to install first MSM module before second... I think, this way is according the MSI philosophy... David.
2007/8/31, Pierson Lee (Volt) <[EMAIL PROTECTED]>: > > > > Windows Installer will not run two MSIs at the same time. The only way > you're going to be able to do this is to use a bootstrapper. I ran into the > same problem attempting to deploy a component MSI (.net framework 2.0) > within mine and had to find an alternate method. > > > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Reed Rothchild > Sent: Friday, August 31, 2007 7:46 AM > To: wix-users@lists.sourceforge.net > Subject: [WiX-users] Launch a second installer from MSI > > > > > Hello, I need to install 2 msi's at the same time but having trouble. I > built one MSI using Wix2.0. I bundled another MSI (built by someone else) > within mine using the standard 'File' element. This gets installed and > copied like any other file. Problem is when I go to execute it at the end. > Windows Installer seems to have a problem running 2 msi's at the same time > (in my case). > > I've had a statement like so in my WXS file: > <InstallExecuteSequence> > <Custom Action='MyExtraInstall' After='InstallFinalize' /> > </InstallExecuteSequence> > > The MSI I built using wix runs fine, however this extra mis doesn't get > installed. I turned on logging with misexec and found the following: > Action start 21:59:43: MyExtraInstall. > MSI (s) (D4:84) [21:59:50:510]: Running as a service. > MSI (s) (D4:30) [21:59:50:526]: Message context already initialized, > returning ERROR_INSTALL_ALREADY_RUNNING > Action ended 21:59:50: MyExtraInstall. Return value 1. > Action ended 21:59:50: INSTALL. Return value 1. > > Since my MSI is already running, it errors out running an extra that I'm > calling Custom Action. Seems to have a problem with my MSI executing > another installer. How can I get my MSI to do this? > > Thanks. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users