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
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
, 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
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
...@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
5 matches
Mail list logo