Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened. error 0x8007007B:icrosoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle failed.

Anonymous
2024-02-20T09:50:36+00:00

I am installing winget to virtual machines , Initially I am testing it on one server but getting the error:

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF0, Package could not be opened.

error 0x8007007B: Opening the package from location Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.msixbundle failed.

NOTE: For additional information, look for [ActivityId] 92447e56-280f-0003-46a5-3af6ce63da01 in the Event Log or use the command line Get-AppxLog -ActivityID 

92447e56-280f-0003-46a5-3af6ce63da01

At line:1 char:1

+ Add-AppxPackage $latestWingetMsixBundle

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : OpenError: (C:\Users\e56626...bbwe.msixbundle:String) [Add-AppxPackage], FileNotFoundException

    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

tried most solution from google , didn't help me could some give me solution or way to how can this install?

Windows for business Windows Server Devices and deployment Install Windows updates, features, or roles

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-02-21T07:28:42+00:00

    Hi Manish Sawant,

    the error message you are receiving indicates that the package could not be opened. This could be due to a number of reasons, such as a corrupt package file or insufficient permissions to access the file. Here are some steps you can try to resolve the issue:

    1. Check if the package file is corrupt. You can do this by downloading the package again from the official Microsoft website and attempting to install it again.
    2. Ensure that you have sufficient permissions to access the package file. You can try running the PowerShell command prompt as an administrator and then attempting to install the package.
    3. Check if there are any pending Windows updates that need to be installed. Sometimes, pending updates can interfere with the installation of new packages.
    4. Try running the following command in PowerShell to reset the Windows Store cache: WSReset.exe
    5. If none of the above steps work, you can try resetting the Windows Store app by running the following command in PowerShell: Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Hope it helps.

    Best regards,

    Lei

    0 comments No comments
  2. Anonymous
    2024-05-24T13:18:22+00:00

    + CategoryInfo          : OpenError: (C:\Users\e56626...bbwe.msixbundle:String) [Add-AppxPackage], FileNotFoundException

    Why does it add :String at the end?

    This is not working for me as well.

    0 comments No comments