Wednesday, January 25, 2012

Do not delete Files in "C:\Windows\installer" On SharePoint Servers

Never delete the Install cache folder %windir%\installer to free up some disk space. This will cause serious problems during service pack upgrades! 

In one of my case, It happened. Installer folder was deleted and when I tried installing the Service pack 2 , It scolded me with this error:
"The detection failed, this can be due to a corrupted installation database."
The detection failed, this can be due to a corrupted installation database
Workaround is: I copied the files inside Installer cache from other SharePoint server and ran the upgrade again. It worked!

Update:
Found these articles to collect the Install cache from other servers and update the failed server:
http://moss2007.kbnk.info/Patching/solved-the-detection-failed-this-can-be-due-to-a-corrupted-installation-database.html

http://social.technet.microsoft.com/Forums/en/sharepointadmin/thread/cfa66cd3-2aa2-44ee-9393-ffae41d4f70c



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

1 comment :

  1. You can use the PowerShell script “Restore-InstallerFiles.ps1” which is capable to scan for the missing files, and to restore them from different sources such as local folder, shared folder or another machine which can be accessed from the target machine.

    http://ahmad.jempress.com/post/restore-the-missing-windows-installer-cache-files

    https://gallery.technet.microsoft.com/scriptcenter/Restore-the-Missing-d11de3a1

    ReplyDelete

Please Login and comment to get your questions answered!

You might also like:

Related Posts Plugin for WordPress, Blogger...