No. The preprocessor runs as part of loading the WXS files in the candle
tool, and WXL files are not even accessed until either the light tool or the
lit tool, which don't use the preprocessor.

-----Original Message-----
From: Sharat Janapareddy [mailto:sharat.janapare...@microsoft.com] 
Sent: Wednesday, July 21, 2010 1:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Can environment variables be expanded in a WXL file?

I am trying to use some environment variables in a WXL file where I store
the localized strings for my MSPs. However, they don't seem to be resolved!
Assuming 'Var' is my environment variable, I tried $(env.Var), just the
env.Var, etc. but none of them worked. Is this even possible? If so, please
share the syntax for it.

Thanks,

Sharat Janapareddy
~ 40269

----------------------------------------------------------------------------
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to