The installation of this package failed – SharePoint 2010

Had some errors come up when trying to install some hotfix rollups in SharePoint 2010. The actual error returned was that the installation of this package failed, but I could not see where it was logging why it failed…

I took a quick look inside the temp folder, where most install packages will extract themselves, but saw nothing unusual… So I checked the event log to see where it was trying to unpack to – Saw some errors saying “No write access to temp folder”. At first I thought it might be a permissions thing… but then I looked at the available space on C Drive. 270kb. Hmmmm. I wonder if it’s failing because the Operating system is completely out of hard drive space?


Luckily, the problem is easily fixed if you are confident the updates applied in the past are no longer required (for uninstall purposes etc). Open a command prompt and run:

DISM /Online /Cleanup-Image /SPSuperseded /hidesp

This will remove the installed OS Service packs and hide them from “add/remove programs”.

Deployment Image Servicing and Management tool Version: 6.1.7600.16385
Image Version: 6.1.7600.16385
/Cleanup-Image /RevertPendingActions
WARNING! This operation will revert pending actions from previous servicing   operations. It should be used for recovery operations only. This command   is not supported against an online image.

Example:       DISM.exe /Image:C:\test\offline /Cleanup-Image /RevertPendingActions /Cleanup-Image /spsuperseded [/hidesp]

WARNING! The service pack can’t be uninstalled after this operation is   completed. This operation will remove backup files created during service   pack installation. Use /hidesp switch to hide the service pack from Installed   Updates.

Example:       DISM.exe /Image:C:\test\offline /Cleanup-Image /spsuperseded /hidesp

Once we had enough space to run the patch, we then raised a support ticket to get more space allocated to the hard drive from the SAN. Easy!


About Brad Saide

I'm a SharePoint consultant. I'm also slowly going bald, seem to have a permanent spare tyre around my waist and enjoy socialising with friends over a beer or 10. The last 2 may possibly be related. Started working with SharePoint when the first version was in limited beta release (participated in the Technology Adoption Program while at Woolworths) and have been committed to the adoption of the technology as a business enabler ever since.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s