Turn on Enhanced UI.
Here is a sample project for you.
Notice this line in the bootstrapper log:
Code: Select all
2016-06-22 @09:07:18-Code returned to Windows by setup:0
Notice in the MSI log that "MainEngineThread is returning 1603" but still 0 is returned on the command line:
Code: Select all
MSI (s) (E8:F8) [09:07:18:764]: Product: Your Application -- Installation failed.
MSI (s) (E8:F8) [09:07:18:764]: Windows Installer installed the product. Product Name: Your Application. Product Version: 1.0.0. Product Language: 1033. Manufacturer: Your Company. Installation success or error status: 1603.
MSI (s) (E8:F8) [09:07:18:764]: Deferring clean up of packages/files, if any exist
MSI (s) (E8:F8) [09:07:18:764]: MainEngineThread is returning 1603
MSI (s) (E8:A0) [09:07:18:764]: RESTART MANAGER: Session closed.
MSI (s) (E8:A0) [09:07:18:764]: No System Restore sequence number for this installation.
=== Logging stopped: 6/22/2016 9:07:18 ===
MSI (s) (E8:A0) [09:07:18:764]: User policy value 'DisableRollback' is 0
MSI (s) (E8:A0) [09:07:18:764]: Machine policy value 'DisableRollback' is 0
MSI (s) (E8:A0) [09:07:18:764]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (E8:A0) [09:07:18:764]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E8:A0) [09:07:18:764]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (E8:A0) [09:07:18:764]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (E8:A0) [09:07:18:764]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (E8:A0) [09:07:18:764]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (E8:A0) [09:07:18:764]: Restoring environment variables
MSI (s) (E8:A0) [09:07:18:764]: Destroying RemoteAPI object.
MSI (s) (E8:78) [09:07:18:764]: Custom Action Manager thread ending.
MSI (c) (CC:70) [09:07:18:764]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (CC:70) [09:07:18:764]: MainEngineThread is returning 1603
=== Verbose logging stopped: 6/22/2016 9:07:18 ===
MSI (c) (7C:88) [09:07:14:334]: MsiOpenPackageEx is returning 0
MSI (c) (7C:88) [09:07:14:334]: MsiOpenPackage is returning 0
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding AIEXTERNALUI property. Its value is '2'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding AI_SETUPEXEPATH property. Its value is 'C:\Users\sbaird\Desktop\Your Application.exe'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding SETUPEXEDIR property. Its value is 'C:\Users\sbaird\Desktop\'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding EXE_CMD_LINE property. Its value is '/exenoui /exelog "exelog.txt" /exenoupdates /exelang 0 /noprereqs /qn /l*v log.txt '.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding PRIMARYFOLDER property. Its value is 'APPDIR'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding CLIENTPROCESSID property. Its value is '1660'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding AI_IE_Ver property. Its value is '9'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Adding AI_IE_MinorVer property. Its value is '0'.
MSI (c) (7C:88) [09:07:14:334]: PROPERTY CHANGE: Modifying AI_UNINSTALLER property. Its current value is 'msiexec.exe'. Its new value: 'C:\ProgramData\Caphyon\Advanced Installer\{BF4D124D-5D1C-49E9-9D48-D90080FB9E78}\Your Application.exe'.
MSI (c) (7C:88) [09:07:18:634]: Note: 1: 2205 2: 3: AI_ChainedPackage
MSI (c) (7C:88) [09:07:18:634]: Note: 1: 2228 2: 3: AI_ChainedPackage 4: SELECT `ChainedPackage` FROM `AI_ChainedPackage`
=== Verbose logging stopped: 6/22/2016 9:07:18 ===