Loading
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.

  • 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
    Expand Post

Loading
Repair Not overwriting all files