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: How to save service credentials while upgrading
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 31, 2016
05:10 AM
How to save service credentials while upgrading
Is there any way by which we can retain the service credentials while upgrading from one version to another?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2016
10:33 AM
I do this same thing with our DataConnectionString, i encrypt the string, save it to the registry and then upon upgrade pull that string back in, decrypt and set the installer properties. Then the user doesnt have to re-enter them. Also works well for the silent installs in MSI projects
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 01, 2016
10:58 AM
PlinyElder wrote:
I do this same thing with our DataConnectionString, i encrypt the string, save it to the registry and then upon upgrade pull that string back in, decrypt and set the installer properties. Then the user doesnt have to re-enter them. Also works well for the silent installs in MSI projects
In my case, I have an application which has a service. What if the user sets an account credential from its properties. Now, If he wants to upgrade to newer version which I am building how can I make sure that those service credentials will be retained after the upgrade? As of now while testing I can see those credentials are getting disappeared. In this case, everytime user upgrades to newer version he needs to put credentials again.