$(env.ProgramFiles) is a pre-processor variable. Candle expands the value at 
compile time replacing it with the value of the environment variable of the 
compilation system rather than the target system.

[ProgramFilesFolder] is a Windows Installer property that is expanded at 
install time on the target system.

Edwin G. Castro
Software Developer - Staff
Electronic Banking Services
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Andrei Korostelev [mailto:[email protected]]
> Sent: Monday, November 15, 2010 10:54 AM
> To: [email protected]
> Subject: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?
> 
> I bumped into the following problem on WinXP German.
> 
> The Windows environment variable %ProgramFiles% correctly points to
> "C:\Programme" (checked using "set" command). However wix expands
> $(env.ProgramFiles) as "C:\Program Files" i.o. "C:\Programme"
> 
> Replacing $(env.ProgramFiles) with [ProgramFilesFolder] fixes the issue, but I
> am wondering about the problem roots. Do I miss something?
> 
> The issue is reproducible on wix-2.0.5805 and wix-3.0.5419.0, WinXP SP1 and
> SP3 German (32-bit).
> 
> Regards,
> Andrei
> 
> ------------------------------------------------------------------------------
> Centralized Desktop Delivery: Dell and VMware Reference Architecture
> Simplifying enterprise desktop deployment and management using Dell
> EqualLogic storage and VMware View: A highly scalable, end-to-end client
> virtualization framework. Read more!
> http://p.sf.net/sfu/dell-eql-dev2dev
> _______________________________________________
> WiX-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to