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: >> >

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 P

Re: [WiX-users] Get Target machine name

2008-03-13 Thread Tris Hodges
Thanks for the reply, I assume you meant like the following.. $(sys.COMPUTERNAME)? I believe this is set at compilation and thus gives me the build machine name. What I am after is the machine name on which the installer is being run? As IIS_WPG is a local group this will enable me to add the m

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 name