InstallShield-2009: Basic MSI: How to run a custom action after user cancels uninstall (rollback)

Posted by Samir on Stack Overflow See other posts from Stack Overflow or by Samir
Published on 2010-05-07T08:44:08Z Indexed on 2010/05/07 8:48 UTC
Read the original article Hit count: 1178

InstallShield-2009 Premier: Basic msi project:

What to do when I want a custom action to run when user clicks cancel button during uninstall?

I put a custom action (a C# exe which would just show a message box) with

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 UI-Sequence: <Absent from 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. How?

© Stack Overflow or respective owner

Related posts about installshield-2009

Related posts about customaction