Unhandled exception during rollback - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dmarino4
Posts: 1
Joined: Wed Nov 02, 2011 5:11 pm

Unhandled exception during rollback

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:
stack_trace.png
stack_trace.png (12.61 KiB) Viewed 3003 times
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.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Unhandled exception during rollback

Hello and welcome to Advanced Installer forums,

Does this behavior manifest everytime only on one machine, or on several clean ones? If it manifests on several machines, can you please specify anything relevant about the machines, their architecture, etc?
In the same case, please send us the .AIP (project) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”