1

I have an already released MSI that has a custom action scheduled to run when UPGRADINGPRODUCTCODE is true. The action I released looks like this:

<Custom Action="DoThing" After="InstallFinalize" >
  NOT REMOVE OR UPGRADINGPRODUCTCODE
</Custom>

The problem is I DON'T want it to run when my users upgrade. The action SHOULD have looked like this

<Custom Action="DoThing" After="InstallFinalize" >
  NOT Installed
</Custom>

but unfortunately I didn't think this process through before I sent it out the door. So my question is what can I do? Is there any way to suppress this action in my next version's actions?

alaney
  • 613
  • 5
  • 12

1 Answers1

4

This is what patches are for. You are using WiX, so you could create a bundle that first installs the patch with the corrected condition then does the upgrade with the new MSI.

PhilDW
  • 20,260
  • 1
  • 18
  • 28