[WiX-users] Get Target machine name

2008-03-13 Thread Tris Hodges
Hi, This is probably an easy answer for someone but I need to know how to get the Target machine name (Domain) during installation? It looks like I need this when trying to add the App Pool user to the IIS_WPG group. Thanks in advance. Tris

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Calin Iaru
For the machine name, use the ComputerName property. I will let someone else answer the Domain question, but so far it appears that there is no obvious way. From: Tris Hodges Sent: Thursday, March 13, 2008 2:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Get Target machine

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Tris Hodges
the ComputerName property. I will let someone else answer the Domain question, but so far it appears that there is no obvious way. From: Tris Hodges Sent: Thursday, March 13, 2008 2:39 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Get Target machine name Hi, This is probably an easy answer

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Daryn Mitchell
[EMAIL PROTECTED] wrote: For the machine name, use the ComputerName property. Tris Hodges wrote: I assume you meant like the following.. $(sys.COMPUTERNAME)? I believe this is set at compilation […] No, Calin meant the Windows Installer property ComputerName, see the Windows Installer

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Alexei Boukirev
If you run install by user logged in as domain user you can just reference environment variable like this [%USERDOMAIN] in MSI/WiX. But if that user is logged in locally then USERDOMAIN holds just a computer name. Thursday, March 13, 2008, 12:43:52 PM, you wrote: [EMAIL PROTECTED] wrote: For