[WiX-users] UNSUBSCRIBE
-- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[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
Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?
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
Re: [WiX-users] $(env.ProgramFiles) is set incorrectly on non-US WinXP?
Thanks, it explains everything. Andrei $(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: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