shapla wrote:
> <Property Id='MYAPPLOC'>
>   <RegistrySearch Id='SCRegistry' Type='raw'
>     Root='HKLM' Key='SOFTWARE\MyApp\Setup' Name ='InstallPath'/>
> </Property>
>
> <Condition Message='This module can only be installed if MyApp has been
> installed first.'>
> MYAPPLOC
> </Condition>
>
> <Property Id="MYDLL">
>   <DirectorySearch Id="CheckFileDir1" Path="[MYAPPLOC]bin" Depth="0">
>     <FileSearch Id="CheckFile1" Name="Utils.dll" />    
>   </DirectorySearch>
> </Property>
>
>   

You can't use the result of one appsearch in another because MSI doesn't 
guarantee the order appsearches are executed. You can, however, nest 
them, using RegistrySearch, DirectorySearch, then FileSearch.

Try that, then use a verbose log to determine what property values MSI 
is setting.

-- 
sig://boB
http://joyofsetup.com/



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