How to install Appx app package using PowerShell in Windows 11/10
Malicious programs are constantly finding new ways to harm or damage devices. Seeing these things, it would always exist reasonable to get apps in the Appx file format that is used by Universal Windows Platform (UWP) applications in Windows 11/10. It allows you to install the apps directly from the Microsoft Store.
However, sometimes you may demand to install the .Appx package from outside the Windows Store. In that case, Windows 10 offers you to install it using a elementary control in PowerShell. For instance, let the states assume that you are a software developer and you have a great app idea to work on. But before uploading it to the Store, y'all must have to test it properly.
In this guide, nosotros will explain a pretty like shooting fish in a barrel manner to install .Appx Packet With PowerShell.
Install Appx app Package with PowerShell
Enable sideloading of apps
Before you begin, make sure the sideloading of apps is enabled in the Windows x Settings. Past default, this option does available in the enabled class but sometimes it might exist disabled by the ambassador.
In order to check it or to change these settings, yous first need to sign in as an ambassador. Subsequently that, open the Windows x Settings > Update & Security > For Developers. Now move to the right pane and select the radio button next to the Sideload apps.
At this time, y'all may receive a warning prompt while enabling app sideloading on your Windows device. To turn on app sideloading, click on the Yes button.
To sideload apps in Windows 11:
- Open Windows 11 Settings.
- Scroll down to Privacy & security.
- Switch to the Security Section.
- Expand For Developers menu.
- Locate Developer Mode heading.
- Toggle the switch to On position.
Windows 11 user? Read how to sideload Android apps using WSA on Windows 11.
Apply PowerShell
In one case you have made the proper verification/changes, it is time to install the .Appx Package.
To practice this, open an elevated PowerShell prompt in your Windows device.
In the Windows PowerShell interface, type the following text and printing Enter –
Add-AppxPackage -Path "C:\Path\to\File.Appx"
In the in a higher place control-line, the respective path indicates the location of the .appx file that is stored in the subfolder directory of your device.
And then, here you lot have to supersede the Path with the exact located path of the .appx file.
Too, supplant file.appx with the Universal Windows Platform file proper noun equally shown in the to a higher place snapshot. Then printing Enter to run the command line.
On pressing the Enter key it will kickoff executing the control and in a moment the app gets installed in your device.
At present you can but click on the Start button and open up the app like whatever other awarding.
That's information technology.
Interesting read: x basic PowerShell commands that every Windows user should know.
Source: https://www.thewindowsclub.com/how-to-install-unsigned-appx-app-package-using-powershell-in-windows-10
Posted by: acostakness1960.blogspot.com
0 Response to "How to install Appx app package using PowerShell in Windows 11/10"
Post a Comment