Just an FYI, to use Environment Variables as Properties you need to pre-pend them with % e.g. %USERDOMAIN (or [%USERDOMAIN] if using it in a string of the Formatted type). See http://msdn.microsoft.com/en-us/library/aa368012.aspx
Palbinder Sandher Software Deployment Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Andy Clugston [mailto:clug...@gmail.com] Sent: 21 June 2011 11:53 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Computer Domain and Property(s) Listing I believe USERDOMAIN will work. Still having issues getting the conditional logic to work for me, I'll keep trying. Thanks. On Fri, Jun 17, 2011 at 4:36 AM, Peter Shirtcliffe <pshirtcli...@sdl.com>wrote: > 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 > ------------------------------------------------------------------------ ------ 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 ------------------------------------------------------------------------------ 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