Thanks, Blair,

Very clear explanation.
Build machine is US with regular "C:\Program Files" of course

The question closed
Adrei
> Generally speaking, $(env.ProgramFiles) captures the value of the
> environment variable %ProgramFiles% on the BUILD machine, and
> [ProgramFilesFolder] provides the 32-bit Program Files folder on the
> INSTALLING machine (runtime, so to speak). The two variables really have
> nothing to do with each other since they relate to different machines and
> are evaluated at different times.
>
> Here's the rule: If the value of a path will be evaluated as part of the
> build (such as: in the Source* attribute of some element) use WiX's
> $(type.name) [or even !(type.name)] syntax. If the value of a path must be
> evaluated at runtime (since "common" paths such as Program Files varies with
> localized OSs and other customizations) use Windows Installer's
> [PropertyOrDirectoryName] syntax.
>
> Did you really get "C:\Program Files" on a German WinXP build machine that
> you ran the candle.exe tool on?
>
> -----Original Message-----
> From: Andrei Korostelev [mailto:roknap...@mail.ru]
> Sent: Monday, November 15, 2010 10:54 AM
> To: wix-users@lists.sourceforge.net
> 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
> WiX-users@lists.sourceforge.net
> 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
> WiX-users@lists.sourceforge.net
> 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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to