Hi, I created a simple InstallScript MSI project (in InstallShield Professional 2009). When I build the project from a batch file (during an automated build), I get no errors, but when I go to install, I get the "1628: Failed to Complete Installation" error. If I go and open the project in InstallShield and build it, the build log is exactly the same (other than date and time stamps), but the installation works.
I ran the installer that fails with /verbose and see the following errors at the end of the log:
InstallShield 21:59:26: Invoking __ISRTInit...
InstallShield 21:59:26: Invoking __ISWIMsiHandle...
InstallShield 21:59:26: Failed to Invoke __ISWIMsiHandle, error is 0x80020006
InstallShield 21:59:26: InitScript operation failed, error is 0x80020006
InstallShield 21:59:26: Shutting down all services
InstallShield 21:59:26: Invoking __ISRTRestoreMainLog...
InstallShield 21:59:26: Invoking __ISWIUninit...
InstallShield 21:59:26: Failed to invoke __ISWIUnInit, error is 0x80020006
InstallShield 21:59:26: Uninitializing Script Engine...
InstallShield 21:59:26: Invoking __ISRTUninit...
I have attached the full log file and the batch file I use to do the build.
Any help would be greatly appreciated. Thanks in advance.