This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Did you solve it ?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 31, 2008
10:01 PM
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.
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.
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 01, 2009
11:57 PM
Have you tried generating an MSI log and seeing what it contains? That's where I'd start.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 02, 2009
03:52 PM
MSI (s) (A8:FC) [13:01:04:764]: Doing action: RestoreProjectMinerDatabase
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 02, 2009
04:19 PM
Is this where the problem is?
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.
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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 07, 2010
03:06 AM
Did you solve it? How? I put a custom action (a C# exe which would just show a messagebox) with
Action Type:
Action Parameters:
Additional Options:
Respond Options:
but it didn't fire the message box when I canceled the uninstall.
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.