WSA-Community / WSAGAScript

Scripts to install Google Apps into a WSA image. Plus optional root
The Unlicense
3.59k stars 3.53k forks source link

Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered. #286

Closed NavaShield closed 1 year ago

NavaShield commented 1 year ago
PS C:\wsa\MicrosoftCorporationII.WindowsSubsystemForAndroid_2210.40000.7.0_neutral___8wekyb3d8bbwe\WsaPackage_2210.40000.7.0_x64_Release-Nightly> Add-AppxPackage -Register AppxManifest.xml
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.
AppxManifest.xml(47,12): error 0x80073D28: Cannot register the MicrosoftCorporationII.WindowsSubsystemForAndroid_2210.40000.7.0_x64__8wekyb3d8bbwe package. Administrator
privileges required to install packaged service
NOTE: For additional information, look for [ActivityId] 41685ca2-1d20-0000-af19-7041201dd901 in the Event Log or use the command line Get-AppPackageLog -ActivityID
41685ca2-1d20-0000-af19-7041201dd901
At line:1 char:1
+ Add-AppxPackage -Register AppxManifest.xml
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : WriteError: (C:\wsa\Microsof...ppxManifest.xml:String) [Add-AppxPackage], IOException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
NavaShield commented 1 year ago

i forgot to run it as administrator 🤦