How to modify Registry Keys during uninstall? - Advanced Installer Community

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!

janos.varadi
Posts: 11
Joined: Tue Jan 26, 2010 4:53 pm

How to modify Registry Keys during uninstall?

I need to increment a value within the registry key during an uninstall. This key is already marked as "do not register this component with Windows Installer". Therefore it will be not removed during the uninstall.

I added a custom action which statest the following
session.property("COUNT") =CStr(CInt(Replace(session.property("COUNT"),"#","")) + 1)

The COUNT property is populated via search.

How can I set the new value within the registry?

Kind regards,

János
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to modify Registry Keys during uninstall?

Hello,

You will have to use another custom action to launch reg with the appropriate parameters to write your property to the registry.

Regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”