cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
VasuMadhav
Level 4

Repair Not overwriting all files

Hi:

I am using InstallScript Msi Project. When i am running maintenance mode, i select repair. Installation goes smoothly. But the files are not getting overwrited. Any help appreciated.

I tried:
--------

For each component there is a key file. For the key file i selected "Always overwrite" option. So when ComponentReinstall() is called, the files in the component should get overwrited since key file is selected with this option. But this is not happening this way.
Labels (1)
0 Kudos
(1) Reply
VasuMadhav
Level 4

Hi:

So...surprised and frustated for not getting any help. Finally....i solved this issue and would like to share with everyone for not wasting their time.

In the MaintUIbefore() function -> switch(repair) i added MsiSetProperty function to set the REINSTALLMODE property to "omus". Basically, 'o' tells the installer to force overwrite all files.

Regards,
Vasu
0 Kudos