for-win icon indicating copy to clipboard operation
for-win copied to clipboard

The specified executable is not a valid application for this OS platform

Open ngtszman opened this issue 3 years ago • 0 comments

  • [x ] I have tried with the latest version of Docker Desktop
  • [ ] I have tried disabling enabled experimental features
  • [ ] I have uploaded Diagnostics
  • Diagnostics ID:

Actual behavior

Can't run docker desktop Can't uninstall the docker

Expected behavior

Can run docker desktop Can uninstall the docker

Information

  • Windows Version:
  • Docker Desktop Version: 4.17.1
  • WSL2 or Hyper-V backend? Not sure
  • Are you running inside a virtualized Windows e.g. on a cloud server or a VM: No

Output of & "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check

Steps to reproduce the behavior

CommandLine: "C:\Users\IsaacNG\Downloads\Docker Desktop Installer.exe" uninstall You can send feedback, including this log file, at https://github.com/docker/for-win/issues [2023-04-28T20:59:27.809051300Z][ManifestAndExistingInstallationLoader][I] No install path specified, looking for default installation registry key [2023-04-28T20:59:28.559118300Z][Installer][I] Existing installation found: build=101757, version=4.17.1, basePath=C:\Program Files\Docker\Docker, channelUrl=https://desktop.docker.com/win/main/amd64/appcast.xml [2023-04-28T20:59:28.682239000Z][UninstallWorkflow][I] Cancel pending background download [2023-04-28T20:59:28.684240400Z][BackgroundTransfer][I] Cancel current background transfer job [2023-04-28T20:59:28.693846700Z][UninstallWorkflow][I] Running before uninstall actions [2023-04-28T20:59:28.694902600Z][UninstallWorkflow][I] Proceeding with CommunityInstaller.ExecAction [2023-04-28T20:59:28.698083100Z][UninstallWorkflow-ExecAction][I] Running: C:\Program Files\Docker\Docker\InstallerCli.exe -k -u with timeout=60000 [2023-04-28T20:59:28.698083100Z][UninstallWorkflow][E] Action CommunityInstaller.ExecAction failed: System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at CommunityInstaller.ExecAction.d__37.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.ExecAction.d__36.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CommunityInstaller.UninstallWorkflow.d__13.MoveNext() [2023-04-28T20:59:29.669056400Z][Installer][W] Failed to track the uninstall started event [2023-04-28T20:59:57.146511100Z][Installer][E] System.ComponentModel.Win32Exception (0x80004005): The specified executable is not a valid application for this OS platform. at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at CommunityInstaller.ExecAction.d__37.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.ExecAction.d__36.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at CommunityInstaller.UninstallWorkflow.d__13.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.Wizard.d__8.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.Wizard.d__11.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at CommunityInstaller.Wizard.Start() at CommunityInstaller.Cmd.UninstallHandler.Run(InstallerSettings installerSettings) at CommunityInstaller.Program.Run(String[] args) PS C:\users\IsaacNG\Downloads>

ngtszman avatar Apr 28 '23 21:04 ngtszman