Aaron
That's not a good idea – replying upon certain system registry values is an invitation for application compatibility issues for future versions of the OS. Instead, just use the built-in ComputerName property:
ComputerName Property
The ComputerName property is the computer name of the current system. The installer sets this property by a system call to GetComputerName.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Darren Kulp
Sent: Monday, July 17, 2006 12:46 PM
To: Aaron Feng; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Retrieve hostname during an installation.
Perhaps you could do a RegistrySearch on HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName ?
Wix-users, please correct me if there is a built-in or better way to do this.
--kulp
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Aaron Feng
Sent: Monday 17 July 2006 14:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Retrieve hostname during an installation.
Is there an easy way to retrieve the hostname of the computer during an install without writing an custom action?
Thanks,
Aaron
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users