Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Windows Installer Repair Function How do you get around it?


1 reply to this topic

Joe DeMars

Joe DeMars
  • Members
  • 1 posts

Posted 14 December 2001 - 15:57

We have developer that insist on using installations for components that they also build on their machines.  After they perform an installation of these components if they decide to do a build of these same components that get registered in a totally different locations.  

The  fun begins.  When they try to launch the application that uses the components that they just rebuilt windows installer goes into repair mode.  Their response is that the installation is screwed up and they shouldn't be having these problems.  

Is there anyway to disable the repair function in windows installer or will these developers who are insistent on doing this have to live with the problem they create?

Open to any suggestions.

Joe DeMars


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 14 December 2001 - 17:14

If you look in the documentaion you will find a systme policy that disables the msi engine

Quote from Windows Installer Documentaion

DisableMSI
If the value of this per-machine system policy is set to "2" the installer is always disabled for all applications.

If this policy value is set to "0", any other number, or is absent, the installer is always enabled.

If this policy value is set to "1", the installer is disabled for non-managed applications but is still enabled for managed applications. This setting does allow an application to be advertised to all users of a machine, but does not allow an application to be advertised to the current user.

Registry Key
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\Installer

Data Type
REG_DWORD