Registry value persistence - Advanced Installer Community
cos
Posts: 10
Joined: Mon Dec 27, 2010 11:43 am

Registry value persistence

Hello,

I need my installer to write a registry value only if that value doesn't exist. Also on uninstall that value should not be removed. How can I do that?

Regards
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Registry value persistence

Hello,

You can add a search for that registry value from the Search page and then use the search's name to condition the registry's component from the Organization page. To avoid the value from being removed on uninstall you should also mark its component as "Permanent".

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”