Hi,
This can be done by using a custom action which backs-up the registry entry before the old version is uninstalled. After the new version is installed you can restore the registry entry to the original value (by using another custom action).
There is a similar discussion on the forum, please take a look:
http://www.advancedinstaller.com/forums ... e+registry
Another approach is to set the "Permanent" and "Never Overwrite" attributes for the registry entry. In order to remove it during a complete uninstall you can use a custom action with the REMOVE="ALL" condition.
You can read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html
Regards,
Cosmin