I'm not sure if you will be able to address this issue, but I wanted to report it just in case.
While performing an installation, I am seeing an issue where the installer throws an exception. My expectation is that the exception is handled and the normal install failed dialog is shown.
Here are some details of what I have encountered:
In this case, the exception occurred during the rollback of a failed installation. Investigating the installer log, it looks like the failure was an issue accessing disk1.cab:
Error 1311. Source file not found(cabinet): <path to disk1.cab>. Verify that the file exists and that you can access it.
Once the disk1 cab error happens, the installer begins to rollback.
During the rollback process, the following exception dialog is displayed:
The log file shows the rollback starts, then begins unregistering components. Once the ComponentUnregister is complete, the log contains the following lines:
MSI (s) (4C:1C) [04:58:34:000]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIFA.tmp, Entrypoint: RemoveAllTempFiles
MSI (s) (4C:A8) [04:58:35:406]: Executing op: ActionStart(Name=StopServices,Description=Stopping services,Template=Service: [1])
MSI (s) (4C:A8) [04:58:35:406]: Executing op: End(Checksum=0,ProgressTotalHDWord=0,ProgressTotalLDWord=0)
MSI (s) (4C:A8) [04:58:35:406]: Error in rollback skipped. Return: 5
MSI (s) (4C:A8) [04:58:35:406]: Calling SRSetRestorePoint API. dwRestorePtType: 13, dwEventType: 103, llSequenceNumber: 89, szDescription: "".
MSI (s) (4C:A8) [04:58:35:468]: The call to SRSetRestorePoint API succeeded. Returned status: 0.
MSI (s) (4C:A8) [04:58:35:468]: Unlocking Server
MSI (s) (4C:A8) [04:58:35:546]: PROPERTY CHANGE: Deleting UpdateStarted property. Its current value is '1'.
MSI (s) (4C:A8) [04:58:35:578]: MainEngineThread is returning 1603
MSI (s) (4C:14) [04:58:35:578]: User policy value 'DisableRollback' is 0
MSI (s) (4C:14) [04:58:35:578]: Machine policy value 'DisableRollback' is 0
MSI (s) (4C:14) [04:58:35:578]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (4C:14) [04:58:35:578]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (4C:14) [04:58:35:578]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (4C:14) [04:58:35:578]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (4C:14) [04:58:35:578]: Restoring environment variables
The log abruptly stops on Restoring environment variables.
I believe the error reading disk1.cab is an error with the physical disk on that particular test machine (I'm beginning to see disk errors in the Windows Event log). I was able to reboot and reinstall without issue.
FOLLOW US
Get the latest news in Application Packaging