Cannot install MSIX packages with WinGet on Windows Sandbox (Exit code: 0x80070002) #4982
Labels
Command-Install
Issue related to WinGet Install
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Windows-Sandbox
Brief description of your issue
Installing an MSIX app through WinGet on Windows Sandbox fails with
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.
Note that manually installing the MSIX or usingAdd-AppxPackage
works correctly. The only exception I've found isMicrosoft.VCLibs
. One can install WinGet 1.6 on Sandbox (that uses an older VCLibs) and then runwinget upgrade Microsoft.VCLibs
and it'll successfully install the MSIX package. There may be more exceptions, but this is the only one I've found thus farSteps to reproduce
Microsoft.WindowsTerminal
or any otherExpected behavior
MSIX app installs successfully
Actual behavior
Installer failed with exit code: 0x80070002 : The system cannot find the file specified.
Installer installs successfully with
Add-AppxPackage
thoughVerbose logs
WinGet-2024-11-18-01-51-31.815.log
Seems to fail at the deployment at
Environment
The text was updated successfully, but these errors were encountered: