Error chaining 2 MSI files

Jan 27, 2011 at 3:13 AM

Hi,

I have a bootstrapper that has to install three requisites:

- .NET 4.0 (web installer, a .exe)

- One MSI containing a Windows Service. Installer generated with VS Setup project following this instructions: http://msdn.microsoft.com/en-us/library/zt39148a%28v=vs.80%29.aspx

- One MSI with my application. Another installer generated with VS Setup, just copies some files to a folder.

When I launch the bootstrapper, everything starts right: .NET downloads and installs, and the Windows service installs too. But then, when the second MSI is running I get this error.

Error 1001. Process must exit before requested information can be determined.

And the installer returns to the bootstrapper UI. If I try to install it again (without exiting the bootstrapper) then it works. Any idea what may be happening?

Regards,

Vicente

Jan 27, 2011 at 2:44 PM

Is this error a popup from dotNetInstaller? If so, file a bug with a log file and as much detail as possible about this. DNI waits for msiexec to terminate and then figures out what the exit code was, but I am wild-guessing this isn't happening in this particular case for whatever reason. I've never seen this before btw.

Jan 28, 2011 at 6:22 PM

Hi!

I've added a bug with the logfile: http://dotnetinstaller.codeplex.com/workitem/8266

As I say there, the problem doesn't happen 100% of the time, not sure why. The machine is always exactly the same. Installing both MSI by hand doesn't give problems. Hope it helps, regards!

Vicente

Jan 31, 2011 at 12:02 AM

This is an error from your MSI. Change the command line arguments for EnterVolSetup.msi to log an output, /l*v <location of log file> and examine the log.