LSPosed / MagiskOnWSALocal

Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
GNU Affero General Public License v3.0
9.41k stars 22.86k forks source link

Error Installing on Windows 10 #786

Closed m-anshuman2166 closed 5 months ago

m-anshuman2166 commented 5 months ago

Steps to reproduce/复现步骤

PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1

Expected behaviour/预期行为

It should install normally.

Actual behaviour/实际行为

PS C:\Users\anshm\OneDrive\Documents\wsa> PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1
The operation completed successfully.
Installing MicrosoftCorporationII.WindowsSubsystemForAndroid version: 2311.40000.5.0
Dependency package Microsoft.UI.Xaml.2.8 x64 current version: 8.2310.30001.0. Nothing to do.
Dependency package Microsoft.VCLibs.140.00.UWPDesktop x64 current version: 14.0.33519.0. Nothing to do.
Dependency package Microsoft.VCLibs.140.00 x64 current version: 14.0.33519.0. Nothing to do.
Installing MagiskOnWSA....
Add-AppxPackage : Deployment failed with HRESULT: 0x80073CFD, A Prerequisite for an install could not be satisfied.
Windows cannot install package MicrosoftCorporationII.WindowsSubsystemForAndroid_2311.40000.5.0_x64__8wekyb3d8bbwe
because this package is not compatible with the device. The package requires OS version 10.0.22000.120 or higher on
the Windows.Desktop device family. The device is currently running OS version 10.0.19045.4046.
NOTE: For additional information, look for [ActivityId] d8c0944b-7250-0006-8dae-c0d85072da01 in the Event Log or use
the command line Get-AppPackageLog -ActivityID d8c0944b-7250-0006-8dae-c0d85072da01
At C:\Users\anshm\OneDrive\Documents\wsa\Install.ps1:162 char:1
+ Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (C:\Users\anshm\...ppxManifest.xml:String) [Add-AppxPackage], Exception
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

All Done!
Press any key to exit

MagiskOnWSALocal commit full SHA/MagiskOnWSALocal 提交的完整哈希

2726a6996feaee5fc06c9a5db9bd625bec077067

Linux distribution info/Linux 发行版信息

Debian x86_64

Windows version/Windows 版本

10.0.19045.4046

Build Parameters/构建参数

$ scripts/run.sh

### Version requirement/版本要求

- [X] I am using latest commit of MagiskOnWSALocal/我正在使用最新 commit 的版本

### Logs/日志

<details>

[//]: <> (Don't modify above)

Replace this line with the log / 将此行用日志替换


[//]: <> (Don't modify below)
</details>
s1204IT commented 5 months ago

Originally, MagiskOnWSALocal does not support installation on Windows 10.

389

If you really want to use it on Windows 10, please use WSA-Script as mentioned in the issue above.

vvb2060 commented 5 months ago

https://github.com/cinit/WSAPatch