We were able to upgrade CAS servers successfully but on DAG servers installation failed with error:
“Setup Wizard for Update Rollup 10 for Exchange Server2010 (KB3049853) ended prematurely”
Than we enabled logging by following below steps:
- Enable installation logging. It can be done in 2 ways
Use command : exe /p <MSP path> /log "C:\Users\<username>\Desktop\Test.log"
- To find the error, look for “return value 3” in the logs
Now you can see that servicecontrol.ps1 script is failing.
On further analysis it has been found that error relates to script: ManageScheduledTask.ps1 :)
To fix this error you have to modify the script:
Open the script “ManageScheduledTask.ps1” in Powershell ISE
Go to line 462, and replace “return $success” with “Write-Output $success” and save it
Now when you will try again Rollup will install successfully. This error can come with PS 3.0 as well as 4.o. Our CAS server were on PS2.0 so error was not encountered & DAGs reported the error because of PS version 4.0.
Thanks to my Teammate Alex, who have done troubleshooting ,searched the Internet & found the Fix.
Note: Do consult with Microsoft before following this procedure.
Update: Checked with MS, they will not officially support this but what they support is below:
Uninstall WMF 4.0
Install Rollup 10
Install WMF 4.0