Zero Hour Sleep
10May/113

Exchange 2010 SP1 fails with: Setup previously failed while performing the action “Uninstall”.

While installing Microsoft Exchange 2010 SP1, the setup might fail with the following error

Setup previously failed while performing the action "Uninstall". You can't resume setup by performing the action "BuildToBuildUpgrade".

The error will look like the below depending if you are using the GUI or CLI

Sp1Error

Sp1Error1

To solve this problem you will need to edit the registry using regedit tool

Disclaimer: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. ZeroHourSleep cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.