On Windows 10, Version 2004 (OS build 19041.1415)
I am trying to install docker desktop 4.5.0 after having installed WSL2 for Ubuntu. I tried repeatedly after a fresh reboot but this problem doesnt go away. Can anyone shed some light?
Component CommunityInstaller.EnableFeaturesAction failed: Not found
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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.<DoProcessAsync>d__24.MoveNext()
Full log:
OS: Windows 10 Enterprise
Edition: Enterprise
Id: 2004
Build: 19041
BuildLabName: 19041.1.amd64fre.vb_release.191206-1406
File: C:Usersnaus-ad-xxxAppDataLocalDockerinstall-log.txt
CommandLine: "C:UsersxxxDownloadsDocker Desktop Installer(1).exe" "install" -package "res:DockerDesktop" --relaunch-as-admin
You can send feedback, including this log file, at https://github.com/docker/for-win/issues
[11:23:53.421][ManifestAndExistingInstallationLoader][Info ] No install path specified, looking for default installation registry key
[11:23:53.421][Program ][Info ] No installation found
[11:23:53.784][InstallWorkflow ][Info ] Cancel pending background download
[11:23:53.822][BackgroundTransfer][Info ] Cancel current background transfer job
[11:23:54.856][InstallWorkflow ][Info ] Using package: res:DockerDesktop
[11:23:54.856][InstallWorkflow ][Info ] Downloading
[11:23:57.240][InstallWorkflow ][Info ] Extracting manifest
Failed to track the installer started event[11:23:57.643][InstallWorkflow ][Info ] Manifest found: version=74594, displayVersion=4.5.0, channelUrl=https://desktop.docker.com/win/main/amd64/appcast.xml
[11:23:57.643][InstallWorkflow ][Info ] Checking prerequisites
[11:23:57.666][InstallWorkflow ][Info ] Prompting for optional features
[11:23:59.863][InstallWorkflow ][Info ] Unpacking artifacts
[11:26:07.556][InstallWorkflow ][Info ] Deploying component CommunityInstaller.CreateGroupAction
[11:26:10.120][InstallWorkflow ][Info ] Deploying component CommunityInstaller.AddToGroupAction
[11:26:10.130][InstallWorkflow ][Info ] Deploying component CommunityInstaller.EnableFeaturesAction
**[11:26:10.181][InstallWorkflow ][Error ] Installation failed
Exception type: System.Exception, Exception message: Component CommunityInstaller.EnableFeaturesAction failed: Not found , StackTrace:
at CommunityInstaller.InstallWorkflow.<DoHandleD4WPackageAsync>d__30.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.<DoProcessAsync>d__24.MoveNext()**
[11:26:10.185][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.AddToGroupAction
[11:26:10.186][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.CreateGroupAction
[11:26:10.186][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.UnpackArtifactsStep
[11:26:10.194][FileSystem ][Info ] Deleting C:Program FilesDockerDocker
[11:26:10.761][FileSystem ][Info ] Deleted C:Program FilesDockerDocker successfully
[11:26:10.761][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.ExtractManifestStep
[11:26:10.764][InstallWorkflow ][Info ] Rollbacking component CommunityInstaller.DownloadStep
7
Answers
I had the same issue too, when installing the latest version 4.5.0 (It had been released on Feb 10th, 2022) Try to downgrade to version 4.4.4 it worked for me.
You can find the released note and older versions on this Docker for Windows
Note: You can install an older version and update to latest version 4.5.0
I had similar issue with 4.9.0 and tried installing 4.0.0 still my problem did not resolve. I removed trace from c drive (C:ProgramDataDockerDesktop, C:Program FilesDocker) and tried installing again but no luck. Later i found forum discussing about this. (https://github.com/docker/for-win/issues/1857) repeated the steps in windows command prompt running as admin.
This steps helped me to install docker 4.9.0
Try to check WMI: https://www.virtuallyboring.com/microsoft-wmi-invalid-class-error-0x80041010/
If failed to initialize all classes, check this: https://learn.microsoft.com/en-us/answers/questions/684166/failed-to-initialize-all-required-wmi-classes.html and run the commands
I had the same issue when attempting to install 4.12.0. I tried all sorts of things and the only one that worked for me was running the batch file (as Administrator) listed in the following post: https://programmersought.com/article/29075200559/
Hope this helps someone.
The fix for me was starting this service:
Windows Installer
following this command in cmd running as a admin
In my case the problem was with Windows Management Instrumentation (WMI)
Running this command in cmd as Administrator fixed the problem :
I have got this command from this article