Change the name of a Registry Key on the target computer - Advanced Installer Community
JuriLoosme
Posts: 5
Joined: Fri Feb 06, 2015 3:15 pm

Change the name of a Registry Key on the target computer

Hi,
Is there a way to change the name of an existing key in the Registry with AdvancedInstaller?
E.g.
[HKEY_CURRENT_USER\Software\Company\OldAppName]
to
[HKEY_CURRENT_USER\Software\Company\NewAppName]

If this is not possible, is there a way to copy a key (with all its sub keys and values) from one location to another?
E.g. Copy
[HKEY_CURRENT_USER\Software\Company\OldAppName\Settings]
to
[HKEY_CURRENT_USER\Software\Company\NewAppName\Settings]

With regards
/J
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Change the name of a Registry Key on the target computer

Hello and welcome to Advanced Installer forums,

I assume you want to upgrade an existing application, right?
Please note that during a major upgrade, the old installation package will be removed and the upgrade process will continue with the installation of the new installation package.

So, during the uninstall process, the old registry entry ([HKEY_CURRENT_USER\Software\Company\OldAppName]) will be removed.
The installation of the new package will create the correct key. ([HKEY_CURRENT_USER\Software\Company\NewAppName]).

Should there be any difficulty you encounter implementing something, please do not hesitate to contact me and I will gladly assist.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”