Exchange 2010 SP2 Setup Failed while performing the action ‘install’

Exchange 2010 SP2 Setup Failed while performing the action ‘install’

 

Got this error installing Exchange 2010 SP2 on Windows 2008 R2 with Exchange 2010 SP1 CAS/HUB/MBX role:Some controls aren’t valid. Setup previously failed while performing the action “Install”. You can’t resume setup by performaing the action “BuildToBuildUpgrade”.

Cause:
HKEY_LOCAL_MACHINESOFTWAREMicrosoftExchangeServerv14MailboxRoleAction
Action key is present with value data: Install

Solution:
Delete Action key under HKEY_LOCAL_MACHINESOFTWAREMicrosoftExchangeServerv14MailboxRole