I recently got a notification that there was an upgrade available (to 2.2.0.0) So I elected to upgrade my system. Unfortunately, the upgrade failed and it didn’t roll back to the previously installed version. I now find I cannot install Docker Desktop at all. The error I get is:
Call cancelled
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Linq.Enumerable.<CastIterator>d__97`1.MoveNext()
at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source)
at CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable()
at CommunityInstaller.EnableFeaturesAction.<DoAsync>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext()
WhatI notice when trying to install is that the installer seems to freeze for a very long time (perhaps a half hour) during download. Then it proceeds and at some point fails with the above message.
Downloaded and ran the script in the above link as administrator on my machine.
Restarted my computer.
Downloaded newest installer.
Ran installer as administrator.
Adding the script below incase the above link breaks…
I had tried that script once before and didn’t succeed. However, this time I noticed that there is an additional directory that still needed to be cleaned up. That is C:\ProgramData\DockerDesktop. Once I also deleted that, rebooted, and ran the installer as administrator I got it to work. All is good now. Thanks.