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

Migrating old registry entries

Wed Jun 30, 2021 1:59 pm

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: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Migrating old registry entries

Thu Jul 01, 2021 4:08 pm

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.46KiB)Viewed 7490 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

Fri Jul 02, 2021 8:58 am

thanks, works like a charm

Catalin
Posts: 6537
Joined: Wed Jun 13, 2018 7:49 am

Re: Migrating old registry entries

Fri Jul 02, 2021 12:45 pm

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”