elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

keep reg value during repair

Hi

I want to ask if there is any way to set some kind of exception to keep registry value during repair?
Repair set everything to state which was after install. If could set which components have to be 'repaired' it would be great. It is possible something like this?

thanks.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: keep reg value during repair

Hi,

You can try this by reading their values from the registry when the Maintenance phase is started and then use the searches to re-write them.
The following article explains more on this subject.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Re: keep reg value during repair

Hi

thanks, it works partially because my reg value is DWORD type and after repair it it changed to REG_SZ and value is set to "#<value>" e.g #64
And in search I have "Retrieve the raw value".

any idea, what can be wrong?
elanius
Posts: 38
Joined: Fri May 15, 2009 9:49 am

Re: keep reg value during repair

Here is solution.
http://stackoverflow.com/questions/4406 ... en-upgrade

It can be done also with Advanced Installer. You just need define your DWORD value as String with prefix '#'

Return to “Common Problems”