How to disable MSI auto repair ?
Posted 26 May 2005 - 13:46
I think that it is in the regestry bu i did not manage...
Posted 26 May 2005 - 15:22
You can do the followings
1. Dont set the key path for any components. So that the MSI never auto repair.
2. I hope you know the dll's which are getting deleted from you application directory. Check for your MSI that these dll's are set as key path. If so change the key path or remove the key path from that component.
As per me the 2nd option is the best one.
Posted 26 May 2005 - 16:26
Btw, removing the keypath from a component will not necessarily prevent the component being broken, as the component's installation folder will become the keypath. This situation often causes the installation to self repair constantly.
Posted 26 May 2005 - 18:46
I think you need to do a little research of your own. Whilst people on these forums are usually more than happy to help you out if you're stuck, it's up to you to learn the basics.
Here's a link to the main reference material (the SDK):
And here's a more specific link regarding your question:
Posted 18 December 2006 - 16:48
I have a similar problem of auto repair, but it does not happen consistently. Sometimes when I perfrom a major upgrade I face the auto repair.
In the component table the KeyPath for that dll is abcd.dll1. Is this fine or should I change it to abcd.dll?
When I perform an upgrade, if the dll in question is in use will the dll be installed? Also can I prevent custom actions from executing during an auto repair? is there a property that will determine whether it is a auto repair or not?
I am stuck with this one and this auto repair happens once in a while randomly?
Any help is appreciated.