How to sideload UWP applications
What is sideloading? It's a term you see a lot thrown around while talking about Windows applications, and it's simple to explain. It means installing applications without using the official Windows Store Market.
In this section we will describe how to sideload a Windows 10 UWP (Universal Windows Platform) application with the help of HockeyApp.
The side load process involves three main steps (build-upload-sideload), which we will cover in this document:
- Build application
- Upload application
- Sideload application
In Visual Studio Right Click on the project and select Store -> Create App Packages
In the "Create Your Packages" window select "No" for the question "Do you want to build packages to upload to the Windows Store?"
In the "Select and Configure Packages" window select "Always" in Generate app bundle combobox.
In the "Select and Configure Packages" window select Release in all Select Configuration rows.
This is extremely important step, as you can't distributer Debug builds in an easy way, because end user devices do not have .NET Framework debug dependencies installed.
For UWP application, you can easily upload your build directly from Visual Studio 2015 with Update 2 or later, as described below. For all other application types please follow our instructions in Manual Upload section.
- Right click your UWP project in Visual Studio.
- Select Upload build to HockeyApp...
- Follow the wizard.
Before you proceed to these steps you need to have a UWP application in HockeyApp. If you don't have it yet, please, follow the steps described at How to create an app for UWP.
- Open hockeyapp.com
- Navigate to your application
- Click "Add Version" button
- Specify all required fields
- Click button "Upload build or sym"
- Specify the path to your generated .appxbundle file.
- To upload application to desktop device:
Zip the whole folder which contains your *.appxbundle. An example of the folder is shown below.
- To upload application to mobile device:
Select your *.appxbundle file.
- Click button "Upload build or sym" and provide path to file
created on step 8 or 9 on previous step.
These instructions need to be done by the users of the application who wants to install the application on their device. In order to do that, they need to first configure the device and than install the application.
- Open Settings -> Update & security -> For
- Select radio box "Developer mode"
We suggest to select "Developer mode" instead of "Sideload apps", because in developer mode for phone devices end user will not have to install certificate certificate.
If your users are using Windows 10 phone device, like Nokia Lumia 950, provide these instructions.
- When you receive a notification email from HockeyApp, just
click the Download & Install link
- Click Download button
- Click on *.appxbundle file and it will automatically install
the application on the device.
Sideload experience for desktop device is more complicated than
for mobile devices. Your users need to
1. Download the zip file you uploaded in upload step 2.8
2. Unzip the file
3. Run PowerShell script Add-AppDevPackage.
If your application did not install on Windows Phone 10, there will be no error message shown, in order to collect the trace, do the following: