Try to use custom action for setting property:

    <CustomAction Id="PROPCA_EXEFILE" Property="EXEFILE"
Value="[INSTALLDIR]tools\bin\tool.exe" Execute="firstSequence" />

(of course you need to sequence it correctly)
This should work.

regards

Stefan


Hecker, Thomas wrote:
> Hi,
>  
> I tried to define a property using embedding the INSTALLDIR property
> beeing not successfull.
>  
>  <Property Id='INSTALLDIR'>
>         <RegistrySearch Id='FrameworkRegistry1' Type='raw' Root='HKLM'
> Key='Software\My\Product' Name='InstallDir' /> 
>  </Property>
>  <Property Id="EXEFILE" Value="[INSTALLDIR]tools\bin\tool.exe" /> 
>  
> Property(S): INSTALLDIR = C:\Program Files\My\Product\
> Property(S): ANTEXE = [INSTALLDIR]tools\bin\tool.exe
>  
>  
> I want that ANTEXE links to "C:\Program
> Files\My\Product\tools\bin\tool.exe"
>  
> How do I achieve this?
>  
> Thank you!
> Thomas
> 
> 
> __________ NOD32 1.1593 (20060612) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> __________ NOD32 1.1593 (20060612) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> __________ NOD32 1.1593 (20060612) Information __________
> 
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
> 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512


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

Reply via email to