MicrosoftDocs / msix-docs

repository for msix content
Creative Commons Attribution 4.0 International
59 stars 114 forks source link

Installer failed to run - 0x80131509 #290

Closed extromen13 closed 2 years ago

extromen13 commented 2 years ago

Hi,

I am trying to create a package with VLC or Notepad ++, but in both cases I am getting the following error: image

and in log i can see the following

[17.01.2022 13:15:32] [Debug] Spawning background worker thread.
[17.01.2022 13:15:32] [Debug] Run installer background worker started.
[17.01.2022 13:15:32] [Debug] About to start process
[17.01.2022 13:15:32] [Debug]     - File name:                 %UserProfile%\Downloads\vlc-3.0.16-win64.exe
[17.01.2022 13:15:32] [Debug]     - Arguments:                 
[17.01.2022 13:15:32] [Debug] ----------------Installation View----------------
[17.01.2022 13:15:32] [Debug] Terminating process
[17.01.2022 13:15:32] [Debug] Terminating process
[17.01.2022 13:15:32] [Debug] Process kill failed: No process is associated with this object
[17.01.2022 13:15:32] [Debug] Run Installer background worker completed.
[17.01.2022 13:15:32] [Warning] Error Occurred: System.InvalidOperationException: No process is associated with this object
   v System.Diagnostics.Process.EnsureState(State state)
   v System.Diagnostics.Process.EnsureState(State state)
   v System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
   v System.Diagnostics.Process.Kill()
   v Microsoft.Msix.Utils.ProcessRunner.DesktopProcessRunner.OnTerminateRunningProcess()
   v Microsoft.Msix.Utils.ProcessRunner.ProcessRunnerBase.TerminateProcessIfRunning()
   v Microsoft.Msix.Utils.ProcessRunner.ProcessRunnerBase.RunAndWait(Int32 milliseconds)
   v MsixGenerator.LocalOrRemoteExecution.ExecutionSessions.RunInstallerLocalOrRemoteSession.RunInstallerFile(String installerToBeRun, String installerArguments, Int32[] validInstallerExitCodes, Int32[] rebootExitCodes)
   v MsixGenerator.LocalOrRemoteExecution.ExecutionSessions.RunInstallerSession.RunInstaller(String installerToBeRun, String installLocation, String installerArguments, InstallerType installerType, Int32[] validInstallerExitCodes, Int32[] rebootExitCodes)
   v MsixPackagingTool.ViewModel.Common.ViewModelBase.RunInstaller_BackgroundWorker(Object sender, DoWorkEventArgs doWorkEventArgs)
   v System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   v System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

thank you for help!

shakersMSFT commented 2 years ago

Hi @extromen13,

I have a few questions about your process before we can determine the issue. Could you please let me know what version of the tool you were using, whether you were doing a local or remote conversion, and providing additional logs would be helpful as well. You can also file a feedback hub item, which will collect more logs on your behalf and make it easier for us to find the root issue.

Best, Sharla

shakersMSFT commented 2 years ago

Closing due to inactivity. Please reopen if this is still an issue