Install Metro Apps Outside App Store on Windows 8 via Powershell (How To)
Microsoft said that it would be possible to install metro apps only from App Store. For Developers however, there is way to deploy Metro apps on Windows 8 outside App Store. It is called sideloading which lets you install app package.
Metro apps, when you download from some source (not Windows 8 App Store) will contain some files and folders. These includes- Certificate, App Package, Dependencies (if any), etc.
Installation Procedure (Easy)
Extract all the files of app into one folder. You will notice, there is a file called Add-AppDevPackage.ps1 which is tagged as Windows Powershell Script.
- Right click on this and click “Run with Powershell“.
- It will prompt you to run Powershell as Administrator which has to be accepted.
- It checks whether you have valid developer license. To get Developer license, you will need to login using Live ID.
- Enter “Y” in powershell on subsequent questioning about Security and all.
- Soon, app will be installed succesfully and you will be able to see it on Homescreen.
Install Metro App via PowerShell Commandline
- Go to Homescreen and start typing “Powershell”, Windows Powershell will appear. Right click on it and Run as Administrator.
- Enter command add-appxpackage C:\app1.appx
- To get the app path, Press shift and right click on the file with extension .appx
- This path can be pasted in Powershell by right clicking on title bar of Powershell then Edit >> Paste.
- Press Enter to start installation.
Uninstall Metro App from Powershell
- You need to know the name of App package before uninstalling it.
- Enter Command Remove-AppxPackage FullPackageName
- To get the name of installed App Package, enter command – Get-AppxPackage
This command lists all the apps installed on computer, look out for name in front of FullPackageName.
Windows 8 Sideloading
This methodology is made for developers to test application. However, for general user like you and me, it will be useful to install certain app which couldn’t make it to App Store. Following could be situations:
- App doesn’t confirm to Terms and Policies of Microsoft so excluded.
- App is paid in stores while you want to use Cracked version.
- When no internet connection available.
- Just curious.
P.S. Dear Microsoft, Apologies for using the word “Metro” Apps. I understand that you already declared to call them “Modern” Apps but myself and readers of this blog are now more used to “Metro”. Never Mind.
Please comment for any problem with the procedure or any confusion.