Hi,

I am having trouble using the WixToolPath variable in my Visual Studio 
WiX project.

I have these additional linker options set:
-ext WixDifxAppExtension -ext WixUIExtension "C:\Program Files\Windows 
Installer XML v3\bin\difxapp_x86.wixlib"

However, I would like to avoid the full installation path to WiX like so:
-ext WixDifxAppExtension -ext WixUIExtension 
$(WixToolPath)difxapp_x86.wixlib

This gives me the following error:
9>light.exe(0,0): error LGHT0103: The system cannot find the file 
'difxapp_x86.wixlib' with type 'Source'.

 From which I conclude that the variable is empty.
However, when I set the BeforeBuild target to output a warning 
containing the variable:

<Target Name="BeforeBuild">
<Warning Text="test: $(WixToolPath)" />
</Target>

I get the following output:
9>D:\svn\kube\Main\KUBE v15\Install\WIX\KUBE_Setup.wixproj(0,0): warning 
: test: C:\Program Files\Windows Installer XML v3\bin\

Any ideas for getting the variable to work with the additional linker 
options?

- Kim

PS: using version 3.0.4805.0

-- 

*Kim Gybels
Software Developer
* kim.gyb...@metris.com <mailto:kim.gyb...@metris.com>
Tel: +32 16 74 01 01
Fax: +32 16 74 01 02

        

* Metris Europe
* Interleuvenlaan 86
3001 Leuven
Belgium
www.metris.com <http://www.metris.com/>




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to