This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Repair Not overwriting all files
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 30, 2011
12:57 PM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 30, 2011
05:31 PM
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
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