Hi All,

I have a simple wxs file (attached the code below) it contains the $(env.WIX)
value to assign the path for a specific file to get installed on the
installing machines as part of our MSI file. When I compiled this code using
CANDLE command it is giving me the following error:

*C:\....\product.wxs(12) : fatal
error CNDL0023: Undefined environment variable: $(env.WIX).*

Please let me know how to fix this error...

Source Code Sample:

<Directory Id='TestFileProductDirectory' Name='TestFile' LongName='Test File
'>
        <Component Id='TestFileProductComponent' Guid='
00030829-0000-0000-C000-000000000046' DiskId='1'>
                *<**File Id='TestFileProductFile' Name='test.txt' src='$(
env.WIX)\data\test.txt'**/>*
       </Component>
</Directory>

--
Thanks & Regards,
Venu Madhav.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to