Sharepoint 2007 Hotfix failed with an error " The detection failed, this can be due to a corrupted installation"

Unable to install the patch getting an error " The detection failed, this can be due to a corrupted installation"

 

So I decided to merge the verbose logging for MSI installer and found that following

 

reviewed the log and found that the installation source was not accessible

 

MSI (s) (A8:40) [22:42:39:412]: Machine policy value 'DisableUserInstalls' is 0

MSI (s) (A8:40) [22:42:39:412]: Warning: Local cached package 'C:\WINDOWS\Installer\fdb3fcf.msi' is missing.

MSI (s) (A8:40) [22:42:39:412]: User policy value 'SearchOrder' is 'nmu'

MSI (s) (A8:40) [22:42:39:412]: User policy value 'DisableMedia' is 0

MSI (s) (A8:40) [22:42:39:412]: Machine policy value 'AllowLockdownMedia' is 0

MSI (s) (A8:40) [22:42:39:412]: SOURCEMGMT: Media enabled only if package is safe.

MSI (s) (A8:40) [22:42:39:412]: SOURCEMGMT: Looking for sourcelist for product {90120000-1080-0409-1000-0000000FF1CE}

MSI (s) (A8:40) [22:42:39:412]: SOURCEMGMT: Adding {90120000-1080-0409-1000-0000000FF1CE}; to potential sourcelist list (pcode;disk;relpath).

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Now checking product {90120000-1080-0409-1000-0000000FF1CE}

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Media is enabled for product.

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Attempting to use LastUsedSource from source list.

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 2203 2: 3: -2147287037

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1706 2: -2147483647 3: osrvmui.msi

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Processing net source list.

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1402 2: UNKNOWN\Net 3: 2

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1706 2: -2147483647 3: osrvmui.msi

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Processing media source list.

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1706 2: -2147483647 3: osrvmui.msi

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Processing URL source list.

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1402 2: UNKNOWN\URL 3: 2

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1706 2: -2147483647 3: osrvmui.msi

MSI (s) (A8:40) [22:42:39:428]: Note: 1: 1706 2: 3: osrvmui.msi

MSI (s) (A8:40) [22:42:39:428]: SOURCEMGMT: Failed to resolve source

MSI (s) (A8:40) [22:42:39:428]: MainEngineThread is returning 1612

MSI (c) (C8:08) [22:42:39:428]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1

MSI (c) (C8:08) [22:42:39:428]: MainEngineThread is returning 1612

=== Verbose logging stopped: 2/17/2010 22:42:39 ===

then we tired to change the source path in the registry

HKEY_CLASSES_ROOT\Installer\Products\<GUID>\SourceList

but still it was not able to pull the details mentioned in the registry

Ran the Microsoft internal Script called OPSUTIL.vbs

 

cscript.exe OPUtil.vbs

gave the below details

{90120000-1080-0409-1000-0000000FF1CE} - Microsoft Office Shared Coms English Language Pack
Error: Local .msi package missing. Attempt failed to restore C:\WINDOWS\Installer\fdb3fcf.msi (PackageCode: {77CB92A3-B1AD-4F91-9154-F32481270338})
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\884fa763.msp' - '{DE436CD5-7346-4BE1-A9C5-137FB6E0A072}' - 'Infrastructure Update for Microsoft Office Servers
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56ce5.msp' - '{0D4C8AE6-5396-4CAC-85B2-10AA0777CFA8}' - '2007 Microsoft Office System Servers Service Pack 1 (SP1)
{90120000-1103-0409-1000-0000000FF1CE} - Microsoft Office Document Lifecycle Components English Language Pack
Error: Local .msi package missing. Attempt failed to restore C:\WINDOWS\Installer\fdb400d.msi (PackageCode: {D4DA3E65-8E10-4B5B-A566-4E358600A44D})
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56d6f.msp' - '{44C242A1-F448-4293-BE81-2C0A99FB4128}' - '2007 Microsoft Office System Servers Service Pack 1 (SP1)
Note: Restore is possible from 'RestoreLocation' (C:\WINDOWS\Installer\12d55f5c.msp) to restore local .msp package c:\windows\installer\1c194d78.msp' - '{80E17CBA-ABF7-4565-B8E2-62454A903669}' - 'Hotfix for Office (KB955586)
{90120000-1104-0409-1000-0000000FF1CE} - Microsoft Office Slide Library English Language Pack
Error: Local .msi package missing. Attempt failed to restore C:\WINDOWS\Installer\fdb401a.msi (PackageCode: {27BC90F4-C3B7-4469-A6AB-7EBA52A2B6A5})
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56d75.msp' - '{487B60F3-BA3B-4831-9ABE-3CEF4D23FBFB}' - '2007 Microsoft Office System Servers Service Pack 1 (SP1)
{90120000-1014-0000-1000-0000000FF1CE} - Microsoft Windows SharePoint Services 3.0
Error: Local .msi package missing. Attempt failed to restore C:\WINDOWS\Installer\fdb402c.msi (PackageCode: {860704F7-510A-4859-A223-F7E2BC6644C4})
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56db8.msp' - '{EDD957F1-6879-49E2-AD94-04F0DF713B5E}' - 'Hotfix for WSS (KB948945)
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\19a3501d.msp' - '{F44F9F42-03C6-4247-A434-A13988DA39CC}' - 'Hotfix for WSS (KB939592)
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56e5d.msp' - '{2CD31384-B0AA-46DF-997B-006CCC2D7326}' - 'Hotfix for WSS (KB950484)
Note: Restore is possible from 'RestoreLocation' (C:\WINDOWS\Installer\12d55f82.msp) to restore local .msp package c:\windows\installer\1c194d9d.msp' - '{1516EFE8-96B9-42C1-A327-7F027780747A}' - 'Hotfix for WSS (KB956057)
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56c81.msp' - '{235EC23A-712E-4F18-A1B8-C50458A6D3EF}' - 'Windows SharePoint Services 3.0 Service Pack 1 (SP1)
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\883b3967.msp' - '{6D26530B-7C54-4F19-A873-86A2372BA902}' - 'Infrastructure Update for Windows SharePoint Services 3.0
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d3ad36a3.msp' - '{EA5FAE1B-500C-44F3-87B9-506B2752D212}' - 'Hotfix for WSS (KB941422)
{90120000-1015-0409-1000-0000000FF1CE} - Microsoft Windows SharePoint Services 3.0 1033 Lang Pack
Error: Local .msi package missing. Attempt failed to restore C:\WINDOWS\Installer\fdb3fd6.msi (PackageCode: {0BA44367-EB13-41D1-88F2-6AEAE47CDFED})
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56c8f.msp' - '{64F71C35-2A93-4739-8477-4E877B0AB61D}' - 'Windows SharePoint Services 3.0 Service Pack 1 (SP1)
Error: Local .msp package missing. Attempt failed to restore 'c:\windows\installer\d5d56e35.msp' - '{84331BB6-9876-4BD6-B1A4-87F8A2F947AC}' - 'Hotfix for WSS (KB948957)
Note: Restore is possible from 'RestoreLocation' (C:\WINDOWS\Installer\12d55f8c.msp) to restore local .msp package c:\windows\installer\1c194dab.msp' - '{C6B1BABD-7988-48B7-92D5-B31A91A154DE}' - 'Hotfix for WSS (KB957109)

 

This confirmed that the local cache of the MSP file is missing under c:\windows\installer directory

 

Since the only option that is left is repair the product to get back the local cache.

 

Since the Farm was at APRIL CU , Extracted the SP2 patch and the APRIL CU to the updates folder

 

and Run the repair of each MSI file manually which is under this folder

image

 

image

 

This Step will help you to get the local cache of the missing MSP

 

Once all the MSI file is repaired , you will be able to get the Patch installation working

 

More details on the utility please contact Microsoft Support.