Change Registry Value During Installation Change - 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!

jameslsnyder
Posts: 1
Joined: Tue Mar 17, 2009 7:03 pm

Change Registry Value During Installation Change

I am trying to change registry values of installation options that are saved to the registry during a installation change from the control panel. The registry values are stored correctly from a new isntall but during a change the new values are not be updated in the registry. I am storing options that were selected during installation so the next time it is run or changed those can be preset on the dialog screens.

Any help would be appreciated.
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Change Registry Value During Installation Change

Hi,

Please note that installer resources are overwritten during maintenance only if their components are reinstalled. However, if a component is already installed, Windows Installer will ignore it during a repair or modify operation. So this cannot be done by using Windows Installer.

A solution is to use a custom action to update the registry entries. This action can be conditioned to run only in maintenance mode:

Code: Select all

Installed AND (REMOVE <> "ALL")
Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”