
peterk1.5524893706952766E12 asked a question.
RollBack Custom action does not engage
Any clue why a properly configured Rollback custom action would not kick in.
Unfortunately, the developers want me to MOVE an Access database out of the way so that another updated copy can be installed. Moving the database to a backup file works, but copying it back during Rollback doesn't seem to work. The Rollback action has a message box that doesn't even display.
Synchronous(Check exit code)
Rollback Execution
Install Execute Sequence between InstallInitialize and InstallFinalize
No condition
Yet the custom action simply does not engage.
Action 13:01:04: RestoreProjectMinerDatabase.
[Since this is a rollback, that should mean that the action is being written to the rollback script, no?]
Action 13:01:04: CancelSetup. Dialog created
MSI (c) (18:B4) [13:01:05:702]: Doing action: ISSetupFilesCleanup
Action 13:01:05: ISSetupFilesCleanup.
MSI (c) (18:B4) [13:01:05:702]: Skipping action due to msidbCustomActionTypeFirstSequence option.
I have read some cases where others have had the same problem. This supposedly happens when a CA is in two sequences but is scheduled to run only once. HOWEVER, my Rollback action is ONLY in the Execute sequence.
Action Type:
Type: Launch an executable
Location: Stored in the Binary table
Action Parameters:
Source: exe path
Target: a b c (doesn't matter, I don't need it)
Additional Options:
Return Processing: Synchronous (Check exit code)
Run Only During Path Uninstall: unchecked
Respond Options:
In-Script Execution: Rollback Execution in System Context
Executing Scheduling: disabled
Insert into Sequence:
Install Execute Sequence: After InstallServices (what should I set here?)
Install Execute Condition: (do I need to set? I left it blank)
but it didn't fire the message box when I canceled the uninstall.