I have an Advanced Installer project that creates a service. It successfully installs the files on the target machine and creates the entry in the services list.
If I supply a local user (.\UserName) and their password then the service starts.
However, if I supply a domain user (DomainName\UserName) and their password then the service fails to start. We then tried to manually create the service using InstallUtil.exe and supplied the same domain user (DomainName\UserName) and their password. We were then able to start the service using NET START. So basically this works with a domain user when using InstallUtil and NET START but fails from the installer.
What do we need to do to get the installation to start the service when a domain user (DomainName\UserName) is supplied?
FOLLOW US
Get the latest news in Application Packaging