Solved

Disable MSI auto-repair - how to?

Posted on 2004-04-21
1
2,741 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
If you don't know how to downgrade, my instructions below should be helpful.
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…
Starting up a Project

623 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