WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

Error using "Add-AppxPackage -Register C:\WSA\AppxManifest.xml"

Open realQilla opened this issue 4 years ago • 9 comments

powershell_fNfpamL5x2

realQilla avatar Nov 25 '21 16:11 realQilla

powershell_fNfpamL5x2

@Oilla http://tlu.dl.delivery.mp.microsoft.com/filestreamingservice/files/d1a3bf2c-f6ed-4ee6-89eb-5fab766c9435?P1=1637942819&P2=404&P3=2&P4=NaQiPWCWTpwcRz1wP7yBUf2KoXwNpfSF7jj7VpyzolRGq1Lize71kuCY6lX%2bwu1DmioXaZ1x5ijyM7X1uhZ9vA%3d%3d

Add-AppxPackage -Register C:\WindowsSubsystemAndroid\AppxManifest.xml

0oc avatar Nov 26 '21 16:11 0oc

I am getting the exact same error as @Oilla .

@0oc Your link shows Access Denied... what are you trying to say? It's definitely not a folder path issue in either of our examples (that would give a general file not found error).

If anyone can help us that would be swell. I am a complete newb when it comes to developing apps for Windows so I am lost as what to do next.

Edit added screenshot. 1g9ySyGglD

wearenosotros avatar Nov 28 '21 03:11 wearenosotros

Figured it out...

You need to unistall all android apps before you try this. The instructions said delete Windows Subsystem for android should delete every android app but I did that and it still left "Amazon Appstore" on there. I deleted that and that deleted all the rest of Windows Subsystem for Android. Command worked fine after that.

wearenosotros avatar Nov 29 '21 02:11 wearenosotros

Solution for 0x80073CF9 https://github.com/WSA-Community/WSAGAScript/issues/28#issuecomment-992113337

marcellus00 avatar Dec 13 '21 05:12 marcellus00

so in my case the xml that i need to point to is not in the folder. image

NyTR0S96 avatar Feb 03 '22 17:02 NyTR0S96

Just grab the xml from the package, you must have accidentally deleted it when deleting the other files, I did the same thing

Masamune3210 avatar Feb 04 '22 05:02 Masamune3210

I had the same issue.

Follow these steps to fix the issue.

Install Microsoft.UI.Xaml.2.6

  1. Go to store.rg-adguard.net
  2. Change to ProductID and paste '9P3395VX91NR'
  3. Change to Slow and click the check mark
  4. Look for install Microsoft.UI.Xaml.2.6
  5. Install the correct .Appx file for your architecture. (x86, x64, ARM or ARM64)

Run the command as administrator

  1. Right-click Windows Button (Windows 11) or your taskbar (Windows 10)
  2. Choose Windows Powershell (Admin). If it shows Terminal (Admin), open that and then open Powershell as a new tab. It will open as admin.
  3. Now run the same code and it should work perfectly.

SahilUX avatar Feb 17 '22 07:02 SahilUX

@SahilUX I followed the steps you posted, but got an error regarding a version mismatch on the installed Microsoft.ui.xaml package -- I commented the details in #191

kjkent avatar Feb 28 '22 00:02 kjkent

@SahilUX I followed the steps you posted, but got an error regarding a version mismatch on the installed Microsoft.ui.xaml package -- I commented the details in #191

As a follow-up to this, I found I had to install the package not just with admin privileges from a standard account, but actually fully logged on as an admin, due to Add-AppxPackage installing on a per-user basis.

kjkent avatar Feb 28 '22 10:02 kjkent