smljoju
Posts: 39
Joined: Fri Jun 27, 2014 1:36 pm

Migrating old registry entries

When are registry entries written by the installer?

Use case is that we moved registry entries location and we want to migrate data from the old registry location to the new location if the new location (registry key) does not exist

So on product update we would need to check if new registry key exist, if not then migrate data from the old registry key to the new one
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: Migrating old registry entries

Hello,

The registry entries (that you provide in the "Registry" page) are written during the "Write Registry" action.

This action is part of the "Add resources" action group:
WriteRegValues.png
WriteRegValues.png (176.46 KiB) Viewed 7517 times

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
smljoju
Posts: 39
Joined: Fri Jun 27, 2014 1:36 pm

Re: Migrating old registry entries

thanks, works like a charm
Catalin
Posts: 6582
Joined: Wed Jun 13, 2018 7:49 am

Re: Migrating old registry entries

You are always welcome!

I am glad everything works as expected.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”