This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Retain Service Configuration on Upgrade
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 27, 2010
02:21 PM
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.
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.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 16, 2010
12:05 PM
Hey Kathy,
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 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
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 17, 2010
08:09 AM
Unfortunately, I haven't found a way to do that yet. I've been thinking of getting rid of my entries in the MSI tables and trying to handle things through a custom action, by checking to see if the uninstall is from a major upgrade and not uninstalling the service if true. Haven't had a chance to see if this would work though.
I'd be interested in hearing if you come up with any solutions!
I'd be interested in hearing if you come up with any solutions!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 04, 2014
10:31 AM
Hey,
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
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
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)