If you can't make it work with the wix extensions, take a look at http://msiext.codeplex.com. The local group extensions don't need an explicit domain property for the user - you can specify .\user, user, machine\user, domain\user, u...@domain, etc. There's also a custom action to retrieve the current user's fully qualified name (or in various formats), which is a lot more robust than environment variables. We definitely had problems with those on Windows 2008.
dB. @ dblock.org Moscow|Geneva|Seattle|New York -----Original Message----- From: John L Krupka [mailto:john.kru...@nmwco.com] Sent: Monday, July 12, 2010 6:45 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Determining if the LogonUser property is a domain user. There is defiantly a Domain attribute on the User element and if I don't set that when adding the domain user to a local group, installation fails. I had looked at USERDOMAIN initially but that gets set to the local machine name when you are not logged in as the domain user. But, I suppose I could set a property based on the USERDOMAN = COMPUTERNAME. There is also USERDNSDOMAIN which may do to the trick since it does not exist when logged in as the local user. Thanks for pointing me back in the direction of the environment variables. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Determining-if-the-LogonUser-property-is-a-domain-user-tp5281603p5282426.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users