According to the patching whitepaper, it's impossible for both patches to
supersede each other - one has to be a later in the sequence than the other,
so in the usual one family scenario it isn't going to work. 

The default validation flags are to match all 3 fields of the targets product
version. As long as you change the product version in both patches, then
shouldn't installing one prevent the other from being applied ?

You might need to ensure MinorUpdateTargetRTM=no, which I think is the
default.


-----Original Message-----
From: Brian Lemke [mailto:brian.le...@apihealthcare.com] 
Sent: 01 August 2011 20:52
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Mutually Exclusive Patches

Is there any way of creating a set of patches that are mutually exclusive?  I
have software that has two patches A and B.   Now If the software has patch A
installed it is to prevent install of B.   I get this by sequencing A after B
and marking A to supersede B (now if you uninstall patch A it would apply B I
am fine with that).   However I need to also ensure that if they installed B
first that they cannot install A.   The sequence mentioned before is directly
opposite that and will allow for A to patch over B.  I was contemplating
writing some sort of custom action to do this logic check but wasn't sure if
there was something I am overlooking in the sequencing or patching in
general.   Can anyone help me?   Am I left to write some custom action to
detect this scenario and prevent it myself?

--Brian


This message (including any attachments) contains confidential and privileged
information intended for a specific purpose, and is protected by law. If you
are not the intended recipient, you must delete this message and any
attachments. You are hereby notified that any disclosure, copying, or
distribution of this message, or any attachments, or the taking of any action
based on it, is strictly prohibited. Opinions, conclusions, and other
information in this message that do not relate to the official business of
API Healthcare Corporation (API Healthcare) shall be understood as neither
given nor endorsed by API Healthcare.
API Healthcare Corporation
1550 Innovation Way
Hartford, WI 53027


-----------------------------------------------------------------------------
-
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to