Hello,

In registry i have path to file
[HKEY_LOCAL_MACHINE\SOFTWARE\Company\Product\]
"PathName"="C:\\Program Files\\Company\\Product\\file.exe"

I have two problems:

I need to get Directory which contains file.exe - I have tried:
<Property Id="PRODUCT_DIR" Secure="yes">
      <RegistrySearch Id='DirSearch' Type='directory'
        Root='HKLM' Key='SOFTWARE\Company\Product\' Name='PathName' />
    </Property>

and this not works.

And another issue is that i need to install my files into
PRODUCT_DIR/../Test// that should be equal to Company//Test//
I was trying to do something like this:
    <Property Id="INSTALLDIR"
Secure="yes">[PRODUCT_DIR]/../Building/test/</Property>
This is invalid operation.


Thanx for answers,
Regards,
WIX student
-------------------------------------------------------------------------
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