Skip to content

fix(sandbox): add -AllUsers to Repair-WinGetPackageManager #5370

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

Open
wants to merge 1 commit into
base: docs
Choose a base branch
from

Conversation

floh96
Copy link

@floh96 floh96 commented Mar 29, 2025

Without -AllUsers the command fails with the following error message

Click to expand

PS C:\Users\WDAGUtilityAccount> Install-PackageProvider -Name NuGet -Force | Out-Null PS C:\Users\WDAGUtilityAccount> Install-Module -Name Microsoft.WinGet.Client -Force -Repository PSGallery | Out-Null PS C:\Users\WDAGUtilityAccount> Repair-WinGetPackageManager Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF9, Fehler bei der Installation. Wenden Sie sich an den Softwarehersteller. Der Bereitstellungsvorgang "Add" mit Zielvolume "C:" für das Paket "Microsoft.DesktopAppInstaller_2025.228.315.0_neutral_~_8wekyb3d8bbwe" von " (Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle) " ist mit dem Fehler 0x80D02002 fehlgeschlagen. Weitere Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter
"http://go.microsoft.com/fwlink/?LinkId=235160".
NOTE: For additional information, look for [ActivityId] 48b6168e-a0cd-0006-fe51-b648cda0db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 48b6168e-a0cd-0006-fe51-b648cda0db01
At line:1 char:1

  • Repair-WinGetPackageManager
  •   + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IO
     Exception
      + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet
    
    

Repair-WinGetPackageManager : Deployment failed with HRESULT: 0x80073CF9, Fehler bei der Installation. Wenden Sie sich
an den Softwarehersteller.
Der Bereitstellungsvorgang "Add" mit Zielvolume "C:" für das Paket
"Microsoft.DesktopAppInstaller_2025.228.315.0_neutral_~_8wekyb3d8bbwe" von "
(Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle) " ist mit dem Fehler 0x80D02002 fehlgeschlagen. Weitere
Informationen zum Diagnostizieren von Problemen bei der Bereitstellung von Apps finden Sie unter
"http://go.microsoft.com/fwlink/?LinkId=235160".
NOTE: For additional information, look for [ActivityId] 48b6168e-a0cd-0006-fe51-b648cda0db01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 48b6168e-a0cd-0006-fe51-b648cda0db01
At line:1 char:1

  • Repair-WinGetPackageManager
  •   + CategoryInfo          : WriteError: (https://github....bbwe.msixbundle:String) [Repair-WinGetPackageManager], IO
     Exception
      + FullyQualifiedErrorId : DeploymentError,Microsoft.WinGet.Client.Commands.RepairWinGetPackageManagerCmdlet
    
    

PS C:\Users\WDAGUtilityAccount>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
command fails without -AllUsers
Copy link
Contributor

@floh96 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 46f0777:

✅ Validation status: passed

File Status Preview URL Details
hub/package-manager/winget/index.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Contributor

PRMerger Results

Issue Description
Index File This PR contains a change to the index file.

@mattwojo
Copy link
Contributor

mattwojo commented Apr 1, 2025

@denelon - Any insight on why this command is failing and the error message?

@denelon
Copy link
Contributor

denelon commented Apr 1, 2025

I'm setting up a device to test this. I'm not sure what's changed. I did get an error running on my "daily driver", but I need to test on a "stable" version of Windows.

learn-build-service-prod bot pushed a commit that referenced this pull request Apr 29, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
* move winui2 docs to uwp (#5361)

* Rename hub/apps/winui/winui2/nuget-packages.md to uwp/get-started/winui2/nuget-packages.md

* Rename hub/apps/winui/winui2/index.md to uwp/get-started/winui2/index.md

* Update and rename hub/apps/winui/winui2/getting-started.md to uwp/get-started/winui2/getting-started.md

* Rename hub/apps/winui/winui2/release-notes/index.md to uwp/get-started/winui2/release-notes/index.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.0.md to uwp/get-started/winui2/release-notes/winui-2.0.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.1.md to uwp/get-started/winui2/release-notes/winui-2.1.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.2.md to uwp/get-started/winui2/release-notes/winui-2.2.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.3.md to uwp/get-started/winui2/release-notes/winui-2.3.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.4.md to uwp/get-started/winui2/release-notes/winui-2.4.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.5.md to uwp/get-started/winui2/release-notes/winui-2.5.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.6.md to uwp/get-started/winui2/release-notes/winui-2.6.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.7.md to uwp/get-started/winui2/release-notes/winui-2.7.md

* Rename hub/apps/winui/winui2/release-notes/winui-2.8.md to uwp/get-started/winui2/release-notes/winui-2.8.md

* move WinUI2 images to UWP folder

* update toc and instructions

* update get-started links in toc

* add missing images

* fix links

* update links

* redirect winui2 docs

* update links to winui2

* Add Blazor Hybrid to overview of framework options

* [WinAppSDK] Improve RuntimeCompatibilityChange references (#5369)

* Link to RuntimeCompatibilityChange use. Clean up styling of servicing fixes.

* Escape un-code-styled less-than/greater-than

* Add note to Smart App Control about ECC sigs

---------

Co-authored-by: Jim Walker <[email protected]>
Co-authored-by: Alvin Ashcraft <[email protected]>
Co-authored-by: Mike Crider <[email protected]>
Co-authored-by: Alvin Ashcraft <[email protected]>
@mattwojo mattwojo requested a review from denelon May 1, 2025 17:47
@mattwojo
Copy link
Contributor

mattwojo commented May 1, 2025

@denelon - Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants