I have condition for a custom action as follows:
 
&SomeFeature = 3 OR (&SomeFeature = -1 AND !SomeFeature = 3) OR (REINSTALL AND 
(REINSTALL >< SomeFeature))

For the case where the "SomeFeature" feature is already installed and I do a 
change install to remove this feature, this condition evaluates to true but 
from the log REINSTALL property does not contain "SomeFeature". The other 
portion of the condition "&SomeFeature = 3 OR (&SomeFeature = -1 AND 
!SomeFeature = 3)" should NOT be evaluated to true since the "SomeFeature" 
feature is been selected to be removed and I have tested this portion of the 
condition is as expected.
 
Why is "REINSTALL >< SomeFeature" evaluates to true since REINSTALL does not 
contain "SomeFeature"? Is this a bug? Thx!
 
> Date: Mon, 18 Apr 2011 10:25:58 +0100
> From: pally.sand...@iesve.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] condition for feature being reinstalled or patch
> 
> http://lmgtfy.com/?q=REINSTALL+property
> 
> -----Original Message-----
> From: Leo [mailto:dangle...@hotmail.com] 
> Sent: 16 April 2011 07:13
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] condition for feature being reinstalled or patch
> 
> Hi, what is the condition that could be used when a feature is being 
> reinstalled and or patched? Thx!
> 
> 
> ------------------------------------------------------------------------
> ------
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and
> improve 
> application availability and disaster protection. Learn more about
> boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve 
> application availability and disaster protection. Learn more about boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
                                          
------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to