LSPosed / MagiskOnWSALocal

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

Error running the .bat file #748

Closed Phatnads closed 8 months ago

Phatnads commented 12 months ago

Steps to reproduce/复现步骤

  1. run.bat

Expected behaviour/预期行为

should install .bat file

Actual behaviour/实际行为

bat file fails due to missing file?

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

no idea what this means

Linux distribution info/Linux 发行版信息

ubuntu?

Windows version/Windows 版本

11

Build Parameters/构建参数

x64 stable release

Version requirement/版本要求

Logs/日志

[//]: <> (Don't modify above) ``` PS C:\test\mtg> PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1 The operation completed successfully. Installing MicrosoftCorporationII.WindowsSubsystemForAndroid version: 2310.40000.2.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.32530.0. Nothing to do. Dependency package Microsoft.VCLibs.140.00 x64 current version: 14.0.32530.0. Nothing to do. Installing MagiskOnWSA.... Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF9, Install failed. Please contact your software vendor. (Exception from HRESULT: 0x80073CF9) Rejecting a request to register from AppxBundleManifest.xml because the manifest is not in the package root. NOTE: For additional information, look for [ActivityId] 5d8db1ff-2375-0007-635b-925d7523da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 5d8db1ff-2375-0007-635b-925d7523da01 At C:\test\mtg\Install.ps1:167 char:1 + Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : WriteError: (C:\test\mtg\AppxManifest.xml:String) [Add-AppxPackage], IOException + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand All Done! Press any key to exit ``` [//]: <> (Don't modify below)
gnastnosaj commented 11 months ago

rename the folder to short

Phatnads commented 11 months ago

rename the folder to short

Did that, before posting here.

s1204IT commented 8 months ago

Please try it.

https://github.com/LSPosed/MagiskOnWSALocal/issues/580#issuecomment-1837127210

Get-AppPackage -Name "*WindowsSubsystemForAndroid*" -AllUsers | ForEach-Object {Remove-AppPackage $_.PackageFullName -AllUsers}