Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect docs for installing WinGet in Windows Sandbox #4299

Closed
PDeets opened this issue Feb 10, 2023 · 2 comments
Closed

Incorrect docs for installing WinGet in Windows Sandbox #4299

PDeets opened this issue Feb 10, 2023 · 2 comments
Assignees

Comments

@PDeets
Copy link

PDeets commented Feb 10, 2023

There is a PowerShell snippet at https://learn.microsoft.com/en-us/windows/package-manager/winget/#install-winget-on-windows-sandbox for installing WinGet in Windows Sandbox. This PowerShell snippet does not work.

The first problem is that during the download, it sets "-OutFile" to "MicrosoftDesktopAppInstaller_8wekyb3d8bbwe.msixbundle", but then later, it tries to install it as "Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle". (There is a missing period in the "-OutFile" switch.)

The second issue is that it doesn't download all the required framework packages. "Microsoft.VCLibs.x64.14.00.Desktop.appx" isn't sufficient. When I try to install, I get this error:

Windows cannot install package Microsoft.DesktopAppInstaller_1.18.2691.0_arm64__8wekyb3d8bbwe because this package
depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.7" published by
"CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or ARM64 processor
architecture and minimum version 7.2109.13004.0, along with this package to install.

(I am using an ARM64 machine, so the "arm64" in the error message is expected.)

The docs need to include the download and install of "Microsoft.UI.Xaml.2.7" as well since Microsoft.DesktopAppInstaller depends on that.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

@glawrence
Copy link

I have raised #4315 which I realise duplicates this one, but I also created PR #4264 which fixes this

@mattwojo
Copy link
Contributor

mattwojo commented Mar 1, 2023

Thank you @PDeets. This issue was fixed in ca90ce0

@mattwojo mattwojo closed this as completed Mar 1, 2023
learn-build-service-prod bot added a commit that referenced this issue May 23, 2024
…c_temp

For protected branch, push strategy should use PR and merge to target branch method to work around git push error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants