Print View

Microsoft Installer Patch (.MSP) fails silently when installing in quiet mode

Issue

When installing a .MSP file with either the /qb or /qn command lines the patch may not be applied successfully. e.g.

msiexec /p patch.msp /Lv* patch.log /qb


This can be seen in the installer log:

MSI (c) (E0:98) [10:36:49:254]: Client-side and UI is none or basic: Running entire install on the server.
...
MSI (s) (70:94) [10:36:52:942]: SFC: The following entry was not added, because its key is protected by Windows: Key: \CLSID\{00000000-0000-0000-0000-000000000000}\InprocServer32 Name: InprocServer32
MSI (s) (70:94) [10:36:52:942]: SFC: Cannot create the following key due to windows protection: \Software\Classes\TypeLib\{00000000-0000-0000-0000-000000000000}\2.0
...
MSI (s) (70:94) [10:36:55:442]: Product: Product - Update '{00000000-0000-0000-0000-000000000000}' installed successfully.

Resolution

It may be possible to apply the patch with the /qr option:

msiexec /p patch.msp /Lv* patch.log /qr


Failing that, the Administrator can take ownership from TrustedInstaller and then assign Administrator Full Control permissions to the required resource using takeown/icacls.

References

Application Compatibility: Windows Resource Protection (WRP)
http://msdn.microsoft.com/en-us/library/bb756998.aspx

Using Windows Installer and Windows Resource Protection
http://msdn.microsoft.com/en-us/library/aa372868.aspx

Supported Resource Replacement Mechanisms
http://msdn.microsoft.com/en-us/library/aa382540.aspx

UILevel Property
http://msdn.microsoft.com/en-us/library/aa372096.aspx

Some Citrix commands do not work correctly in Citrix XenApp 5.0 for Windows Server 2008
http://support.microsoft.com/kb/958652

Products

Microsoft Windows Server 2008 (any)

Created: 17th November 2008
Updated: 7th July 2009

Print View

© 2005-2024 Jamie Morrison