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

WSA cannot be installed to multiple accounts - error message thrown that app is still installed by another user #765

Closed NilsRo closed 5 months ago

NilsRo commented 7 months ago

Steps to reproduce/复现步骤

  1. Install custom WSA in one account
  2. Try to install it in a second account

Expected behaviour/预期行为

For multiple users it is expected that the app is installed separated in multiple account.

Actual behaviour/实际行为

Error is thrown:

Der Vorgang wurde erfolgreich beendet.
Installing MicrosoftCorporationII.WindowsSubsystemForAndroid version: 2311.40000.5.0
                                                                                                                         Status des Bereitstellungsvorgangs: C:\WSA\WSA_2311.40000.5.0_x64_Release-Nightly-MindTheGapps-13.0-RemovedAmazon\AppxM    Processing                                                                                                              [                                                                                                            ]                                                                                                                              die erneute Installation des Pakets wurde blockiert. Ausführlichere Informationen finden Sie im Ereignisprotokoll für
"AppXDeployment-Server".
Ein anderer Benutzer hat bereits eine unverpackte Version dieser App installiert. Der aktuelle Benutzer kann diese
nicht durch eine verpackte Version ersetzen. Das in Konflikt stehende Paket ist
"MicrosoftCorporationII.WindowsSubsystemForAndroid" und wurde von "CN=Microsoft Corporation, O=Microsoft Corporation,
L=Redmond, S=Washington, C=US" veröffentlicht.
HINWEIS: Wenn Sie weitere Informationen wünschen, suchen Sie im Ereignisprotokoll nach [ActivityId]
ab58dd67-4ee5-0007-6441-66abe54eda01, oder verwenden Sie die Befehlszeile Get-AppxLog -ActivityID
ab58dd67-4ee5-0007-6441-66abe54eda01
In C:\WSA\WSA_2311.40000.5.0_x64_Release-Nightly-MindTheGapps-13.0-RemovedAmazon\Install.ps1:167 Zeichen:1
+ Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceExists: (C:\WSA\WSA_2311...ppxManifest.xml:String) [Add-AppxPackage], PSInvalidO
   perationException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

All Done!
Press any key to exit

Still discussed in other repositories: https://github.com/WSA-Community/WSAGAScript/issues/70 https://github.com/orgs/LSPosed/discussions/1446

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

d44a77be84fac312d343ac501b497828209da089

Linux distribution info/Linux 发行版信息

Debian WSL

Windows version/Windows 版本

10.0.22684.1000.0 - 22631.3085

Build Parameters/构建参数

COMMAND_LINE=--arch x64 --release-type retail --root-sol none --gapps-brand MindTheGapps --remove-amazon --compress --compress-format 7z INFO: Architecture: x64 INFO: Release Type: retail INFO: Magisk Version: stable INFO: GApps Brand: MindTheGapps INFO: GApps Variant: pico INFO: Root Solution: none INFO: Compress Format: 7z Build: RELEASE_TYPE=Retail Generate Download Links Generating WSA download link: arch=x64 release_type=Retail

WSA Build Version=2311.40000.5.0

Version requirement/版本要求

Logs/日志

Der Vorgang wurde erfolgreich beendet.
Installing MicrosoftCorporationII.WindowsSubsystemForAndroid version: 2311.40000.5.0
                                                                                                                         Status des Bereitstellungsvorgangs: C:\WSA\WSA_2311.40000.5.0_x64_Release-Nightly-MindTheGapps-13.0-RemovedAmazon\AppxM    Processing                                                                                                              [                                                                                                            ]                                                                                                                              die erneute Installation des Pakets wurde blockiert. Ausführlichere Informationen finden Sie im Ereignisprotokoll für
"AppXDeployment-Server".
Ein anderer Benutzer hat bereits eine unverpackte Version dieser App installiert. Der aktuelle Benutzer kann diese
nicht durch eine verpackte Version ersetzen. Das in Konflikt stehende Paket ist
"MicrosoftCorporationII.WindowsSubsystemForAndroid" und wurde von "CN=Microsoft Corporation, O=Microsoft Corporation,
L=Redmond, S=Washington, C=US" veröffentlicht.
HINWEIS: Wenn Sie weitere Informationen wünschen, suchen Sie im Ereignisprotokoll nach [ActivityId]
ab58dd67-4ee5-0007-6441-66abe54eda01, oder verwenden Sie die Befehlszeile Get-AppxLog -ActivityID
ab58dd67-4ee5-0007-6441-66abe54eda01
In C:\WSA\WSA_2311.40000.5.0_x64_Release-Nightly-MindTheGapps-13.0-RemovedAmazon\Install.ps1:167 Zeichen:1
+ Add-AppxPackage -ForceApplicationShutdown -ForceUpdateFromAnyVersion  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceExists: (C:\WSA\WSA_2311...ppxManifest.xml:String) [Add-AppxPackage], PSInvalidO
   perationException
    + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

All Done!
Press any key to exit