I have tried to search registry using this:
<Property Id="MYAPPPATH2"><RegistrySearch Id='SearchRegistry' Type='raw'
Root='HKLM' Key='Software\a\b' Name='PathName' /></Property>

And then tried to build to installers one with:
<Condition Message='Error''>MYAPPPATH2</Condition>
And another with:
<Condition Message='Error''>NOT MYAPPPATH2</Condition>

In both cases Error message box came up. How can it be?

in both cases i was using:
   <InstallExecuteSequence>
     <LaunchConditions After='AppSearch' />
     <RemoveExistingProducts After='InstallFinalize' />
   </InstallExecuteSequence>




I want to install my program to directory set in registry value but can't
find any working example.
If i set my property like
<Property Id="MYAPPPATH2">d:\a\</Property>
Then everything works.

But then i use registry search - it doesn't.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to