Search code examples
wixservice-installer

Can wix prompt for a windows service username/password?


I am using Wix to install a windows service. The service will need to run under a non system/service account that is set up by the user.

Is it possible to have it prompt for the username/password for the service login?


Solution

  • WiX doesn't (or at least didn't) have anything nice out of the box for what you are looking for. Best option that I am aware of is to roll-your-own.

    https://www.geekproject.com/post/wix-service-account-dialog/