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.

Which code indicates MSI success ?

1 reply to this topic


  • Members
  • 7 posts

Posted 25 July 2003 - 15:38

Objective: I would like to programmatically determine if an MSI-based installation was successful.

I poked around a bit and found "A8:08" at the end of two successful installation's MSI log files.

So I assume that MSI note "A8:08" means successful installation (it occurs as the final entry into both of my successful silent logs), but I haven't found documentation or notes anywhere to support this.

Maybe this is entirely the wrong approach.

Can anyone confirm or offer comments ?

- Ajeet

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 25 July 2003 - 16:34

No these values relate to some handles.

msiexec.exe will return 0 upon success, or an error code from Winerror.h in case of failure.

Other typical exit codes are 1603 (fatal error), 1602 (cancelled by user) or 1604 (reboot required to continue installation)