Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Kim Gybels
> I forgot two things: [%VariableName] can only be used with UI-Elements > that are displayed to the user. > In all "formatted" strings, not just UI-elements. http://msdn.microsoft.com/en-us/library/aa368609(VS.85).aspx > If you want to use environment variables within WiX-scripts as > conditions,

Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Dirk Räder
Hi, have a look at http://www.tramontana.co.hu/wix/lesson5.php#5.4 You can use [%VariableName] to use an environment variable in formatted strings. Hope it helps, Dirk Raeder 2009/6/19 Natarajan, Thangaraj (MLITS) : > Hi, > > I have defined a environment variable in my system. I want to use t

Re: [WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Dirk Räder
Hi again, I forgot two things: [%VariableName] can only be used with UI-Elements that are displayed to the user. If you want to use environment variables within WiX-scripts as conditions, you have to use them via the preprocessor: $(env.VariableName) will be resolved to the value of %VariableName

[WiX-users] Accessing of Environment Variable like %System% in Wix.

2009-06-19 Thread Natarajan, Thangaraj (MLITS)
Hi, I have defined a environment variable in my system. I want to use that Environment variable in Wix. How to go about it? Thanks, Thangaraj Natarajan Associate Consultant.GWMT (TASCS) Merrill Lynch India Tech Service Pvt Ltd., --