PDA

View Full Version : Update registry while update installation



AlexBr
11-30-2004, 11:23 AM
If I update or reinstall application the function FeatureReinstall() is used. This function reinstalls all previously installed features, but not registry settings.
How I can update registry while update or reinstall?

The registry set is Default (Always Installed).

Thanks.

builder_will
03-16-2006, 02:39 PM
I'm wondering the same thing. If you install over top of an existing installation, I want to run a .reg script to update the version number. I have them set to Always Replace, but they don't get updated. They work fine during a clean-install.

builder_will
03-16-2006, 03:29 PM
Note: Just found the answer in another post. Use the Uninstall Product Action to remove the old registry values just before the registry update action. Use the registry update bean's beanid.