Computer name includes only the NETBIOS name, not the domain. LogonUser
doesn't contain the user's domain either.
You could try getting what you want from environment variables. 
http://blogs.msdn.com/b/windows_installer_team/archive/2005/09/16/461742.aspx
Just make sure the variable you check is available on all the OSes you
support.

-----Original Message-----
From: Andy Clugston [mailto:clug...@gmail.com] 
Sent: 16 June 2011 18:49
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Computer Domain and Property(s) Listing

Hi All,

I am looking for a quick way to determine if a system is on a specific
domain when running an install. Can the LogonUser or Computer name property
be used to derive this information? Is there another property that might
help? I'm trying to avoid a custom action, but I'm not sure I can.

Also, the latest version of Windows installer does not appear to log the
property(s) listing as it did in Windows XP. Is there a way to enable this?
FWIW, I enabled verbose loggin, and this information is still missing.

Thanks!
-----------------------------------------------------------------------------
-
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to