Page 1 of 2 12 LastLast
Results 1 to 5 of 6

Thread: Add/Remove Applet's Remove Button

  1. #1
    Join Date
    Jun 2002
    Location
    Louisville,Ky
    Posts
    221

    Cool Add/Remove Applet's Remove Button

    Hello again!


    I have noticed that when the user clicks Remove from the Add/Remove Applet, it bypasses the UI Maintenance dialogs, while this does not really matter to me, what I do care about is that when I click Remove my CustomAction does not fire, which I assume is because it is in the UI sequence, so if i place the CA in the execute sequence will it still get fired when the user clicks the remove button?

    thanks,
    derek

    ps i am testing this too, but I would stil appreciate some good info on the Remove vs Change button functionality!

    ps2 is there a way I can set the Remove button to run the full maintenance/ui sequence?

  2. #2
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,233
    That's correct: the user's clicking Remove runs the command msiexec /x [ProductCode], which skips the UI sequence; I'm not aware of a way to change that.

    You can place a custom action in both the UI and Execute sequences, if you need it always to run...

  3. #3
    Join Date
    Jun 2002
    Location
    Louisville,Ky
    Posts
    221

    Cool thanks

    thanks robert, a fellow InstallShield Developer here in my office, said he thought in I.S. Professional there was a way to accomplish changing the remove buttons functionality? Just curious though, why would script/procedural setups have that capability, and msi/database setups would not?

    thanks robert,
    derek

  4. #4
    Join Date
    Jun 2002
    Location
    Louisville,Ky
    Posts
    221

    execute sequence

    I just placed the CA in the execute sequence using Installed condition, and it is executing regardless of which commandline parameter is used with msiexec.

  5. #5
    Join Date
    Oct 2001
    Location
    Here and there
    Posts
    16,233
    Derek,

    For pure MSI setups, the OS handles the behavior of the Change and Remove buttons; for non-MSI setups (including Developer 7 InstallScript-based projects), there's only that single Change/Remove button, which launches the command listed in your product's Uninstall registry key...

    --- Robt.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •