AFAIK, The WiXUtil User element doesn't have this functionality. I think it can create normal accounts and normal accounts with the LogonAsService Right. If you want to create service accounts that don't have logon rights you'll need to write a custom action. ( I hope that I'm wrong. )
BTW, there's some cool new stuff in Win7 / 2008R2 if you aren't already aware of it and if you happen to be targetting this environment. Google "managed service acccount" and "windows virtual accounts" ( local managed accounts ). ---------------------------------------- From: "Justin Kabonick" <kabonick...@gmail.com> Sent: Monday, March 19, 2012 6:33 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Trouble installing service account with user element I'm running into a bit of a problem using the WixUtilExtension User element. I'm trying to install an account which I can use for a service I am also installing but I don't want the account to be "created". In other words, I don't want users to be able to log in as this user, but I want it strictly for service use. The service install works properly, it's just the user creation with which I am having issues. <util:User Id="dvSandbox" CreateUser="no" CanNotChangePassword="yes" PasswordNeverExpires="yes" Password="dvTest" RemoveOnUninstall="no" LogonAsService="yes" Name="dvSandbox"> <util:GroupRef Id="Administrators" /> </util:User> Above is the element I am using. When I run this, it gives me "Failed to grant logon as service". If I change CreateUser to "yes", it installs the user properly. I've looked at the documentation and searched Google quite a bit, but I can't seem to find an answer for why this is happening. I would appreciate any help if anyone has experience using this extension. Thanks, justink ---------------------------------------------------------------------------- -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users