During the installation of an application, the user is asked to provide a Windows Domain account and password under which to run the service. If they leave the window blank and simply click "Next", then the service will run as a Local System Account.
Simple enough, but that application was rewritten so that it is now .NET-based, and ever since, if the user provides a domain account and password during the installation, it nonetheless shows up in the Service Control Manager as running under Local System account.
The developer of this app tells me that there is no way to attach the userid to the service using the .NET InstallUtil tool while installing a service, that the service always gets created to run under system account.
I'd rather the user not have to manually fiddle with the SCM to express their preference, so if anyone can suggest another solution, I would appreciate it, because I am at an impasse.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Registering a .NET service in SCM during install
1 reply to this topic