Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

-1628 error on install


1 reply to this topic

cmanalyst

cmanalyst
  • Full Members
  • 1 posts

Posted 20 February 2016 - 03:43

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.
 

Attached Files



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 February 2016 - 20:19

Let me start with two general remarks: I don't recommend using the InstallScript MSI project type. And InstallShield 2009 is quite old.

That said, I'd start by comparing the two .msi files your builds create. There is a MSI Diff tool included with InstallShield (not sure if it's in version 2009) which you could use.