We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

nafujbeck
Posts: 8
Joined: Wed Apr 26, 2017 11:47 pm

Need to change manufacturer but retain settings in updater

Hello,
I need to change the manufacturer for my software product. However, I would like to retrieve the settings from the previous installation when using the updater.exe service. If I simply change the manufacturer, the auto-updater does not find the settings from the previous installation, I assume because it is looking in the registry for the new manufacturer and not finding the settings.

I do have the settings flagged as "persistent" properties. How can I look up those settings during the auto-update process while changing manufacturers?

Thanks for your help!
Nathan
nafujbeck
Posts: 8
Joined: Wed Apr 26, 2017 11:47 pm

Re: Need to change manufacturer but retain settings in updater

Hi all,
I figured out a solution for this. I created a search to locate the registry entry in the old manufacturer and store that in a property (i.e. ORIG_SOME_PROPERTY). Then, I created a custom action for each property with a condition that, if ORIG_SOME_PROPERTY <> "", then set SOME_PROPERTY = ORIG_SOME_PROPERTY. This worked for my use case. Hope it helps someone else.

Nathan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need to change manufacturer but retain settings in updater

Thank you for your follow up on this Nathan.

I am sure this will be useful for other users too.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”