microsoft / msix-packaging

MSIX SDK
MIT License
978 stars 165 forks source link

[BUG] MSIXMGR fails to convert msixbundle to vhdx format with error HRESULT 0x8000ffff #516

Closed JimMoyle closed 1 year ago

JimMoyle commented 2 years ago

Project MSIX SDK or Win7Msix

Describe the bug This happens with many packages, but you can reproduce using the windows terminal msix bundle

Failed with HRESULT 0x8000ffff when trying to unpack Microsoft.WindowsTerminal_Win11_1.12.10983.0_8wekyb3d8bbwe.msixbundle

To Reproduce Steps to reproduce the behavior:

Download The Windows Terminal via WinGet

Run the following msix manager command: & 'C:\Program Files\MSIXMGR\msixmgr.exe' -Unpack -packagePath $fileName -destination $destinationPath -applyacls -create -vhdSize 100 -filetype "vhdx" -rootDirectory apps

Expected behavior A vhdx with the correct app inside. The minimum I would expect is an actionable error statement.

Screenshots If applicable, add screenshots to help explain your problem.

Platform Windows 11

Additional context Add any other context about the problem here.

vishmicrosoft commented 1 year ago

Issue was with pseudo locales used in msixbundle apps