bryan rasmussen wrote:
> 
> Hi,
> 
> I am trying to do something like the following:
> 
>     <Condition Message="You must have the Rendering Service installed
> first."><![CDATA[RENDERINGINSTALL != ""]]></Condition>
> 
> in other words read a value from the registry and then use a condition
> to determine if the product should be installed.
> 
> 

All you need to do is test for the existence of a property because a blank
value means the property will not exist. Installer will delete a
previously-existing property if its value becomes blank and will not create
a new one with a blank value.

So in this case, just change the condtion to this:

<Condition Message="You must have the Rendering Service installed
first.">RENDERINGINSTALL</Condition>


BTW, the way to test for the negative of this condtion (in other words, a
property *with* a value) is to simply use "NOT" in front of the property. So
it would be "NOT RENDERINGINSTALL" if the requirement was that the rendering
install not be installed first. 

 


-- 
View this message in context: 
http://n2.nabble.com/use-of-Condition-to-detect-Property-tp1213384p1227839.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to