Solved

Disable MSI auto-repair - how to?

Posted on 2004-04-21
1
2,607 Views
Last Modified: 2013-11-14
Currently experiencing difficulties when an application MSI patch is installed onto an existing application. If there is a shared .DLL file then the prior installed application will try and auto-repair as its detects that the required file has changed. Is there any way to turn off this feature of MSI? I want to do it on a per-package basis, not via Group Policy. My only other option is to re-package the applications with the .DLL files etc. installed into the local directory as opposed to System32 thus negating the possibility of a file conflict as every application will have their required files. However, this is undesirable as it would mean a lot of new work and revisiting previously finished tasks.

I appreciate that this is something of a strange request as auto-repair is a key feature of MSI.

Thanks!
0
Comment
Question by:Brit_Pack
1 Comment
 
LVL 3

Accepted Solution

by:
Barkis_ earned 125 total points
ID: 10886679
Installing an application with the command line
msiexec.exe  /i yourapp.msi DISABLEADVTSHORTCUTS=1
would prevent it to repair itself when clicking the shortcut in the startmenu.
and setting the property ARPNOREPAIR=1 on the commandline will remove (disable) the repair button in ARP(add remove programs)

but there is no way of disabling the repair function for the WindowsInstaller altogether.

The only way to get rid of all possible selfrepair functionality is to repackage all appliacations
and removing the keypath for all components (for the components installing into System32).

It is a fairly time consuming project but it isn't that hard. The easiest way would be to apply a mst (transform file) to
all applications installating files into the system23 folder.

/Barkis_
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now