[WiX-users] Condition on Component based on Env Variable

2007-11-14 Thread Simon Burgess
Hi

 

I am using the latest v2

 

I want to be able to create a registry key whose value is different
depending on an environment variable.

 

I cant seem to find any info on getting an environment variable at msi
install time or any examples of using a condition on a component (I figured
I'd define 2 components each with the opposite condition)

 

Any ideas appreciated

 

Regards

Simon

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition on Component based on Env Variable

2007-11-14 Thread Rob Mensching
[%ENVVAR] doesn't work? The MSI SDK has a topic about Formatted 
columns in the MSI database. It lists all kinds of cool tricks like the 
above.

Simon Burgess wrote:

 Hi

 I am using the latest v2

 I want to be able to create a registry key whose value is different 
 depending on an environment variable.

 I cant seem to find any info on getting an environment variable at msi 
 install time or any examples of using a condition on a component (I 
 figured I’d define 2 components each with the opposite condition)

 Any ideas appreciated

 Regards

 Simon

 

 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 

 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
   


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users