prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Registry entries are not removed.

Hi,

I have an installer created with AI(AdvancedInstaller) and it has some registry subkey/value key creation.

It has two types of sub keys, one with a static name (say 'HKLM\Softwares\MyProduct\Settings') and another with dynamic name. For generating dynamic name, I used a property which will be set with one value during the start-up of installation. The dynamic sub key's name which I have created in AI IDE's registry tab is HKLM\Software\MyProduct\Settings_[PROPETYNAME].

I have observed that this dynamic sub key and its descendent are not removed after product installation. But static key is removed.

Please let me know if there any solution to this with respect to dynamic sub key.

Thanks,
Prasanth
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Registry entries are not removed.

There is a typo in my question. I want the sub keys to be removed after un-installation.
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Registry entries are not removed.

Hello,

This may happen if the related property (PROPETYNAME) has a different value on uninstall than it had at install time. Can you add your property in "Install Parameters" page and enable its "Set persistent property" option and see if this helped?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
prasanth.tech
Posts: 35
Joined: Wed Oct 28, 2015 5:53 am

Re: Registry entries are not removed.

Hi Daniel,

Thanks, it worked!

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

Re: Registry entries are not removed.

You're always welcome Prasanth.

I'm glad you got this working.

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

Return to “Common Problems”