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
- :
- What happens behind the scenes when clicking Repair button in Add/Remove Programs?
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
Nov 13, 2013
07:43 PM
What happens behind the scenes when clicking Repair button in Add/Remove Programs?
When I click on the Repair button in Add/Remove Programs to repair a program, it fails. The reason being is that I am not running as Administrator and something during the repair process needs elevation. That brings me to the conclusion that I should run repair as elevated. The only problem with this is that I don't know what command is being called when I click the Repair button. Also, I don't know where the command is located that is being called. I know where UninstallString and ModifyPath are in the registry, but of course there is no RepairString. Any ideas as to where that Repair button is getting the command to call?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 15, 2013
04:26 PM
Assuming you are installing and repairing a .msi, you cannot change this command anyway. You're better off figuring out why elevation is required; for instance do you have a custom action that needs to be deferred in system context (so it can have elevated privileges) but is not? Fix that, and you won't have to change the behavior of the repair button.