I am writing an InstallShield Basic MSI Project installer to upgrade a Windows Service.
When I upgrade the service I do the following:
- Note that the service "Log On As" user is a Windows domain user account: TESTDOMAIN\ZamAdmin.
- Stop the service in the Services Window.
- Install the upgrade.
- Refresh the Services Window.
Once the service is installed the "Log On As" user gets changed to: LocalSystem.
The service is written in C# using System.ServiceProcess.ServiceBase.
The installer is using InstallShield 2008 Premier Edition version 14.
I did find this stackoverflow case but I'd rather not convert to a InstallScript project.
Is there anyway I can keep the previous "Log On As" user when upgrading a Windows service?