I am trying to set a pre-installed service\'s startup type to Automatic, using WiX. Another task was to start the service on install, which I achieved with:
MSI doesn't support changing the startup type of a service that the package doesn't install. ServiceConfig doesn't let you get around that:
Applies only to installed auto-start services or services installed by this package with SERVICE_AUTO_START in the StartType field of the ServiceInstall table.