Zsolt Kollarits
Posts: 366
Joined: Fri May 29, 2015 10:36 am

Copying over registry keys

Dear Advanced Installer Support Team,

Our software is using a lot of registry keys, there are 2 types of them:
1. a lot of them are in the .aip, so handled and installed by our installer
2. also a lot are added by our applications (settings and so on), so they are "invisible" for the Advanced Installer project (also for the Windows Installer)

Recently we switch our installed from "mixed 32/64-bit" to pure 64-bit installer, so that we removed all the 32-bit regkeys in the Advanced Installer project, only 64-bit regkeys are installed -> this part is totally okay.

Our problem is that the "old" regkeys added by our application into the 32-bit HKLM area are in the wrong place, so whenever our 64-bit installer runs it should copy over a a bunch of keys from the 32-bit HKLM area to the 64-bit HKLM area. Is it possible to do so in the .aip project? For example by defining a list of 32-bit HKLM regisry paths, and then a task would copy them over to the 64-bit HKLM area? Maybe an option would be to use a custom action and do the copy by a powershell script? Is there any non-custom action type of solution, so a kind of in-built mechanism in the .aip?

Thanks very much in advance!

Best regards,
Zsolt
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Copying over registry keys

Hi Zsolt,

Unfortunately we do not have any built-in support for your request.

The only solution would be to create your own custom action code to run during installation.

If you have any questions or doubts just let us know.

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

Return to “Common Problems”