WSA-Community / WSAGAScript

Scripts to install Google Apps into a WSA image. Plus optional root
The Unlicense
3.57k stars 3.52k forks source link

Issue installing #28

Open swatwithmk3 opened 2 years ago

swatwithmk3 commented 2 years ago

When I get to the step for the AppxManifest.xml I get an error that I need to a Windows Developer license or sideload enabled system. When I run the command with "-DisableDevelopmentMode" I get an error that the install failed.

image

Jaitsu commented 2 years ago

Same issue here. In Dev ring, had previously used the Msixbundle method to install latest Windows Store and WSA, then uninstalled WSA, then followed the guide to the letter and everything was fine up to this point. I do notice the folders: C:\ProgramData\Microsoft\Windows\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForAndroid_1.7.32815.0_x64__8wekyb3d8bbwe and C:\Windows\System32\config\systemprofile\AppData\Local\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe still remain after uninstalling WSA.

EDIT: Nevermind, missed the part in the "Delete the files appxblockmap, appxsignature and [content_types] along with the folder appxmetadata." bit under "Extract msixbundle". Perhaps give that a bolded heading of its own? It's easy to skip when thinking that step is done after extracting the file. After doing so it installs and runs just fine.

shahmirn commented 2 years ago

Screenshot 2021-10-23 234713

Make sure you enable developer mode, as shown in the screenshot above.

swatwithmk3 commented 2 years ago

@shahmirn It was already on but it seems I made the same mistake as @Jaitsu, after deleting the files from msix bundle and redoing everything the installation was completed successfully

P.S.

I had some trouble with Appx package installation but that was because I had installed Powershell 7 and it seems that it currently only works with Powershell core and the default Powershell app that is bundled with Windows in case someone else is using powershell 7

hooddy commented 2 years ago

Faced with the same issue on beta. Do I need to remove preinstalled WSA first?

marcellus00 commented 2 years ago

I've been able to resolve the issue of "manifest is not in the package root" by running this command Get-AppPackage -Name "*WindowsSubsystemForAndroid*" -AllUsers | ForEach-Object {Remove-AppPackage $_.PackageFullName -AllUsers}

qwertryyyu commented 1 year ago

this works thanks😊