WSABuilds/MagiskOnWSA/DLL/docs/Fixes/FixInstallps1.md
2024-04-03 20:28:44 +01:00

2.1 KiB

Issue:

  Install.ps1 is not recognized/missing

Solution

If the popup windows disappear without asking administrative permission and Windows Subsystem For Android™ is not installed successfully, you should manually run Install.ps1 as administrator:

 
1. Redownload the WSA Build and rename the extracted folder to a shorter name, which can be anything to your choosing

  • For example:

    • Before: WSA_2XXX.XXXXXXX_XXXX_Release-Nightly-with-magisk-XXXXXXX-XXXXXX-MindTheGapps-XX.X-RemovedAmazon

    • After: WSAArchive2XXX


2. Copy the path of the folder by right clicking on the folder and select "Show More Options" and click on "Copy as path"


3. Press Win + X on your keyboard and select Windows™ Terminal (Admin) or Powershell (Admin) depending on the version of Windows™ you are running

215262254-7466d964-3956-4d71-8014-e2c5869ca4d4 winx_editor-1

 
4. Input the command below and press enter, replacing {X:\path\to\your\extracted\folder} including the {} with the path of the extracted folder

  cd "{X:\path\to\your\extracted\folder}"

  5. Input the command below and press Enter

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

 
6. The script will run and Windows Subsystem For Android™ will be installed