Installation of universal applications in the .Appx / .AppxBundle format in Windows 10 / 8.1, used to be performed online through the Microsoft Store. Despite Windows allows to install universal apps from APPX files offline (sideload), you can’t directly download the .appx installation file from Windows Store. In this article we’ll show how to use the Fiddler utility to download an APPX file of any UWP app from the Microsoft Store. You can use this appx file to install UWP app on the computers that do not have access to Microsoft Store (offline and isolated systems, or on a corporate computers).
Our task is to get an archive with an appx file of an arbitrary universal Microsoft Store application for manual installation on other computers, that don’t have Internet access.As we already mentioned, you can’t directly download an APPX file from Microsoft Store. However, during the installation of any app, the Windows Store client receives the generated HTTP/HTTPS link to download the .appx file. Let’s try to capture the URL address of this direct link from which the Windows Store app loads the appx file.
To inspect and debug HTTP traffic between the Windows Store client and Microsoft servers, we will use the local Fiddler proxy server, which is designed for debugging web application traffic.
How to download the Appx file of an universal Store application using Fiddler
So, we need Fiddler with an extension AppContainer Loopback Utility (necessary for “wrapping” the traffic of the UWP applications to Fiddler). You can download the FiddlerSetup.exe installation file from the official site (https://www.telerik.com/download/fiddler).
After installation, run fiddler.exe with administrator privileges. In the window that opens, click the WinConfig button in the navigation pane.
In this list, you need to select the universal applications whose traffic you want to debug with Fiddler. To reduce the amount of parasitic traffic obtained by Fiddler from universal apps, select only Store from the list and press Save Changes.
In the main Fiddler window, you need to clear the current log (Edit -> Remove -> All Sessions or press Ctrl + X).
Now you need to run the Microsoft Store, find the application, reference to the .appx installation file you want to get, and run the installation (in this example, I’ll try to get a link for an appx file of the Calculator Free app).
Switch to the Fiddler window and monitor the HTTP sessions of the Store application. There are quite a few of them. To find the event of access to the URL with the application file, you can use the session search (Find -> type appx ->Find sessions).
Fiddler will highlight the URL with the appx keyword in the URL in yellow. In our example, we are interested in the following session: Result: 200, Protocol: HTTP, Host: tlu.dl.delivery.mp.microsoft.com. Copy the received URL to the clipboard by selecting Copy -> Just Url from the context menu.
In my example, the URL is as follow
It remains to open the received URL in any browser and save the file with the .appx extension to your local drive. The archive can be downloaded using any Download Manager or with PowerShell (How to download a file over HTTP using Powershell).
Installing the Appx file in Windows 10 / 8.1
This appx file can now be copied to another computer running Windows 10 / Windows Server 2016 / Windows 8.1 and installed offline, bypassing the Windows Store with a simple double click on the appx file.
Some apps have dependencies, and you cannot install them if you don’t meet these dependencies. Before installing the UWP application, you must first install all required packages. The URL list of all the necessary appx applications (dependencies) will also be present in the Fiddler connection log. Download and install these appx files.
You can install the universal Windows application from the appx file using PowerShell prompt:
add-appxpackage –path "C:\Users\root\Downloads\DigitalchemyLLC.CalculatorFree_220.127.116.11_neutral__q7343f88mnb03.Appx"
So, we figured out how to download the appx installation file of any universal Windows 10 / 8.1 application. The main limitations of this method are:
- This way you cannot download the previous version of the UWP application from the Windows Store;
- You can’t download protected or paid Store apps.