WSAGAScript icon indicating copy to clipboard operation
WSAGAScript copied to clipboard

"Windows cannot install package because this package depends on a framework that could not be found"

Open terrydu opened this issue 3 years ago • 5 comments

Repro

  1. Follow all steps at https://github.com/WSA-Community/WSAGAScript/blob/main/README.md
  2. In particular I used MicrosoftCorporationII.WindowsSubsystemForAndroid_2209.40000.26.0_neutral_~_8wekyb3d8bbwe.msixbundle, and the WsaPackage_2209.40000.26.0_x64_Release-Nightly within that.
  3. Note that I did not download the other binaries from the AdGuard store, such as Microsoft.UI.Xaml.2.6_2.62112.3002.0_x86__8wekyb3d8bbwe.appx
  4. In my C:\WindowsSubsystemForAndroid directory there are 2 subfolders:
  • C:\WindowsSubsystemForAndroid\MicrosoftCorporationII.WindowsSubsystemForAndroid_2209.40000.26.0_neutral___8wekyb3d8bbwe
  • C:\WindowsSubsystemForAndroid\WSAGAScript
  1. Run the last command as Administrator: PS C:\WindowsSubsystemForAndroid> Add-AppxPackage -Register .\MicrosoftCorporationII.WindowsSubsystemForAndroid_2209.40000.26.0_neutral___8wekyb3d8bbwe\WsaPackage_2209.40000.26.0_x64_Release-Nightly\AppxManifest.xml

Expected That WSA will install with GApps.

Actual I get the following error message:

PS C:\WindowsSubsystemForAndroid> Add-AppxPackage -Register .\MicrosoftCorporationII.WindowsSubsystemForAndroid_2209.40000.26.0_neutral___8wekyb3d8bbwe\WsaPackage_2209.40000.26.0_x64_Release-Nightly\AppxManifest.xml
Add-AppxPackage: Deployment failed with HRESULT: 0x80073CF3, Package failed updates, dependency or conflict validation.

Windows cannot install package MicrosoftCorporationII.WindowsSubsystemForAndroid_2209.40000.26.0_x64__8wekyb3d8bbwe because this package depends on a framework that could not be found. Provide the framework "Microsoft.UI.Xaml.2.6" published by "CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US", with neutral or x64 processor architecture and minimum version 2.62108.18004.0, along with this package to install.

NOTE: For additional information, look for [ActivityId] 663670bf-f51e-000a-a7cb-13681ef5d801 in the Event Log or use the command line Get-AppPackageLog -ActivityID 663670bf-f51e-000a-a7cb-13681ef5d801

terrydu avatar Nov 14 '22 02:11 terrydu

You need to grab the dependencies as well, the main app.....depends on them

Masamune3210 avatar Nov 14 '22 12:11 Masamune3210

I just searched the MSStore for Microsoft.UI.Xaml and installed it.

Then it worked

alfu32 avatar Nov 19 '22 00:11 alfu32

Confirmo, toca instalar el UI.Xaml.2.6 para poder proseguir con la instalación.

Deap159 avatar Nov 19 '22 07:11 Deap159

I had the same issue and just like some of you it worked installing Microsoft.UI.Xaml.2.6 I have an issue after installing it. I can launch the Play Store but it won't let me sign it, pressing sign it does nothing although the app still works (I can check updates and stuff on the 3 dots upper right corner)

Does anybody know what might be causing this? Should I gain root access?

Weisslow avatar Nov 20 '22 17:11 Weisslow

Does anybody know what might be causing this? Should I gain root access?

You should get root access and use the setenforce command

  • Use adb to enter into the shell
  • Use su to get root access
  • Use setenforce 0, and sign in button should work

minasploit avatar Sep 02 '23 22:09 minasploit