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

Reply via email to