We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”