Hi all,
I need to run a registry search conditionally, based on an earlier registry
search. If there has been no registry key found, there should be another
search for another registry key, something that way:
    <Property Id="TOMCATDIR">
      <RegistrySearch Id="Tomcat6Search" Type="raw" Root="HKLM"
Key="SOFTWARE\Apache Software Foundation\Tomcat\6.0\Tomcat6"
Name="InstallPath"/>
      <RegistrySearch Id="Tomcat7Search" Type="raw" Root="HKLM"
Key="SOFTWARE\Apache Software Foundation\Tomcat\7.0\Tomcat7"
Name="InstallPath">TOMCATDIR</RegistrySearch>
      <RegistrySearch Id="Tomcat8Search" Type="raw" Root="HKLM"
Key="SOFTWARE\Apache Software Foundation\Tomcat\8.0\Tomcat8"
Name="InstallPath">TOMCATDIR</RegistrySearch>
    </Property>
As it isn't working, how can I accomplish the mentioned task? Thanks in
advance for the answer.
Mateusz



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-conditionally-run-a-registry-search-tp7597523.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to