Hi Bryan,

Two problems here.  First, if you want a launch condition based on successful 
search, use just RENDERINGINSTALL.  Drop != "" stuff.
Second, by saying Type="directory" you are indicating that search is not done 
yet and you want to continue with the search and use the data in the registry, 
if found any, as a starting point for file or directory search.
If all you want is just a presence of the registry key or value, set Type 
attribute to "raw".  If you still want to use Type='directory", you need to add 
child element(s) FileSearch/DirectorySearch.

Alex



-----Original Message-----
From: bryan rasmussen [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 02, 2008 4:01 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] use of Condition to detect Property

Hi,

I am trying to do something like the following:

<Property Id="RENDERINGINSTALL">
  <RegistrySearch Id="Rinstall" Root="HKLM"
Key="SYSTEM\CurrentControlSet\Services\Rendering

Service" Name="RenderingServicePath" Type="directory" />
</Property>
    <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. I am using Mondo_UI.

The product installs no matter what. Can someone give me an example of
how to make this work, thanks.

Best Regards,
Bryan Rasmussen

-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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