Look at this:
Section Repair
## Anything that has to be done when repairing
SectionEnd
Function re.AnyName
## Anything that can be in an function
FunctionEnd When you start the uninstaller, you get two buttons in the center of the window: One with 'Repair', the second with 'Uninstall'. When you choose repair, the installation will be repaired, overwriting all the application essential files, but without doing any harm to the user's personal data.InstallShield can do it too.