[wix-users] Custom Account to Install and Start a Custom Windows Server
venh.123 at gmail.com
Fri Nov 10 10:07:25 PST 2017
Thanks a lot Joseph. You nailed it. Your solution helped. Thanks a lot once
On Fri, Nov 10, 2017 at 8:10 PM, Joseph L. Casale via wix-users <
wix-users at lists.wixtoolset.org> wrote:
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Ven H via wix-users
> Sent: Friday, November 10, 2017 6:11 AM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: Ven H <venh.123 at gmail.com>
> Subject: [wix-users] Custom Account to Install and Start a Custom Windows
> > I have built a custom windows service. I want to install and start this
> > service through my WiX installer. I have added an account to the
> > ServiceInstall element (domain\username) and the password. But when the
> > installer runs, it fails with the message "The service failed to start.
> > Verify that you have sufficient privileges to start system services.".
> Do exactly as the error suggests, add the correct permissions to the
> The context a service runs under requires explicit permissions to run in
> that scenario.
> Declare a User element and indicate the grant should be applied.
> LogonAsService: Indicates whether or not the user can logon as a service.
> See the description for the element behavior with respect to creating or
> modifying an existing user account.
> WiX Toolset Users Mailing List provided by FireGiant
More information about the wix-users