[WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
Hi, Is there a way to get an environment variable into a WIX property? I'm trying to get the USERPROFILE with: Property Id=UserFolder Value=$(env.USERPROFILE)\MyApp\MyFolder/ But this only picks up the USERPROFILE of the build machine, where the installer is built. I want it

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Blair
that action. -Original Message- From: Lobo, Lionel [mailto:lionel.l...@daon.com] Sent: Wednesday, August 11, 2010 8:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Environment variables into a WIX property I had tried that, the installer fails

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Pally Sandher
, Lionel [mailto:lionel.l...@daon.com] Sent: 11 August 2010 16:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Environment variables into a WIX property I had tried that, the installer fails with the message: The specified path [%USERPROFILE] is unavailable. I

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
Many thanks, this worked perfectly! Regards, Lionel -Original Message- From: Blair [mailto:os...@live.com] Sent: 11 August 2010 17:14 To: 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Environment variables into a WIX property SetProperty Id

Re: [WiX-users] Environment variables into a WIX property

2010-08-11 Thread Lobo, Lionel
...@iesve.com] Sent: 11 August 2010 17:23 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Environment variables into a WIX property [%Environment_Variable] is only valid in fields of the Formatted type as the link I pasted shows. Make sure you're using