Ah, ok, you said that MsiEnableLog didn't work - I thought that was still an issue. So your current problem is that calling MsiEnableLog, then processing some executable like calc.exe, and then calling MsiInstallProduct doesn't work? Is that the order you're doing it?
Phil Wilson -----Original Message----- From: Krause, Henning [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 23, 2008 11:41 AM To: Wilson, Phil; wix-users@lists.sourceforge.net Subject: RE: [WiX-users] Bootstrapper and MsiInstallProduct Hi, actually it's a .NET Bootstrapper. I'm calling MsiEnableLog and MsiInstallProduct via Interop. And it works like charm if I don't execute another executable from the process. Kind regards, Henning > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wix-users- > [EMAIL PROTECTED] On Behalf Of Wilson, Phil > Sent: Wednesday, January 23, 2008 8:03 PM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Bootstrapper and MsiInstallProduct > > MsiEnableLog (~0, ..... ) doesn't work. Something like MsiEnableLog > (INSTALLLOGMODE_VERBOSE,......) does. What are you coding in? If C++, > there are header files etc. > > Phil Wilson > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wix-users- > [EMAIL PROTECTED] On Behalf Of Krause, Henning > Sent: Tuesday, January 22, 2008 11:36 PM > To: Paul McCloskey > Cc: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Bootstrapper and MsiInstallProduct > > Hello, > > I'm currently testing this by calling c:\winodows\system32\calc.exe... > to minimize side-effects. > > And I wait for the other process to finish. > > Kind regards, > Henning > > > -----Original Message----- > > From: Paul McCloskey [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, January 22, 2008 10:41 PM > > To: Krause, Henning; Ben Greenberg > > Cc: wix-users@lists.sourceforge.net > > Subject: RE: [WiX-users] Bootstrapper and MsiInstallProduct > > > > Are you waiting for the perquisite executables to completely finish > > installing before trying to call MsiInstallProduct? There can be only > > one executing MSI at a time. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Krause, > > Henning > > Sent: Tuesday, January 22, 2008 4:36 PM > > To: Ben Greenberg > > Cc: wix-users@lists.sourceforge.net > > Subject: Re: [WiX-users] Bootstrapper and MsiInstallProduct > > > > Hello, > > > > I already call MsiEnableLog(~0, logfile, 3); > > > > But no log is created. The method fails instantly. > > > > Kind regards, > > Henning > > > > > -----Original Message----- > > > From: Ben Greenberg [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, January 22, 2008 10:23 PM > > > To: Krause, Henning > > > Cc: wix-users@lists.sourceforge.net > > > Subject: Re: [WiX-users] Bootstrapper and MsiInstallProduct > > > > > > Perhaps you can try shelling out and running msiexec.exe with > logging > > > enabled. Even if it still doesn't work, you may have a more > > > descriptive > > > error message. > > > > > > bg > > > > > > > > > Krause, Henning wrote: > > > > Hello, > > > > > > > > I'm writing a setup-bootstrapper which installs some required > > > software > > > > before the actual MSI is executed. The MSI is installed via > > > > MsiInstallProduct. > > > > > > > > This works just fine if no external process is called prior to > the > > > call > > > > to MsiInstallProduct. > > > > > > > > But if I launch any executable prior to the call, > MsiInstallProduct > > > > fails with E_FAIL (0x80004005). > > > > > > > > I've googled for this combination but found nothing. > > > > > > > > Anyone got a clue? > > > > > > > > Kind regards, > > > > Henning > > > > > > > > > > --------------------------------------------------------------------- > > > ---- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > WiX-users mailing list > > > > WiX-users@lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > > > > > ----------------------------------------------------------------------- > > - > > - > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users