
kmorey1.552489897154748E12 asked a question.
Retain Service Configuration on Upgrade
Our application suite installs a number of services, which our user configures to run under an account set up with specific rights for our application.
When I upgrade, how to I retain the logon user credentials so that our users don't have to manually reconfigure every service? We upgrade through an application that runs the MSIs silently and unattended, so we can't ask the users for input at that time.
For each service, I have set up Control NT Services to Stop on Install, and to Stop and Delete on Uninstalls.
I am encountering the same problem and was wondering if you ever found a resolution?
We install a couple of services with our application, and I cannot figure out how to retain the login information for the services on an upgrade. I can find the specific user in the registry under HKLM\SYSTEM\CurrentControlSet\Services, but I don't know of any way to retain the password...
Thanks!
~Manfred
I'd be interested in hearing if you come up with any solutions!
I know this is an old thread but did this ever get resolved?
I have been trawling these forums for days now trying to find a solution to this exact problem.
Basic MSi project. Installs 2 services properly and uses account information specified during install.
During upgrade I specify REINSTALLMODE=vomus and REINSTALL=ALL and the services are upgraded correctly but the password entered into the service account is encrypted and therefore incorrect.
If I print it to a txt file during upgrade it comes out as encrypted, whereas during first install i can read it correctly.
There must be a way to retrieve this information during upgrade and use it. Or, stop the service,m but not re-configure it.
I only want to stop the service,m replace the files and then start it again.
Chris