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 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 Property Reference, > http://msdn2.microsoft.com/en-us/library/aa370905(VS.85).aspx > For domain name, I'm pretty sure it needs a custom action, e.g. your own C++ > DLL. Or, a quick search shows that Matthew Rowan posted a simple VBScript > custom action to do it to this list previously: > http://www.nabble.com/domain-name-to9381200.html#a9381200 > ... and InstallSite has a CA DLL that provides it as well: > http://www.installsite.org/pages/en/isp_svc.htm > Daryn. > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Best regards, Alexei Boukirev ========================================================== "The ability to destroy a mainframe is insignificant next to the power of The Source." - Darth Archtitect ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users