MR Install:HoloLens2
Jump to navigation
Jump to search
HoloLens 2
Automatic & Web Updates
To automatically install updates, or to install them over the web, several extra steps need to be taken during the packaging process. In some cases, applications can be provisioned for automatic deployment through Azure, but introduces challenges for sideloading and installation. The recommended approach is to use a signing certificate and to sideload the application.
The complex part of this process is generating, testing and installing the signing key.
Within the Project
- Create a build from Unity to Visual Studio 2022
- Setup / obtain a certificate
- Sign the application in Visual Studio 2022
- Create an application.appxbundle file
Within the HoloLens 2
- Install the certificate onto the headset
- Download the application.appxbundle file
- Install the application from the HoloLens2
More information is available here.
Manual Updates
In some cases, it is faster and easier to manually update the headset.
The complex part of this process is ensuring Visual Studio 2022 is installed and configured properly.
Setup the Environment (only needs to be done once)
- Download Visual Studio 2022
- Include the following workloads:
- .NET Desktop Development
- Desktop Development with C++
- Universal Windows Platform
- When installing UWP, ensure the following components are also included:
- Windows 10 SDK 10.0.19041.0 or 10.0.18362.0 or the Windows 11 SDK
- USB Device Connectivity (device driver for connection)
- C++ (v142) Universal Platform tools
- Finally, Install Unity 2020.3.42f1 with the following workloads:
- Windows
- Universal Windows Platform Build Support
- Windows Build Support (IL2CPP)
Sideloading a Package

- Download a prepared package from our team or website, unzip it, and open it in Visual Studio 2022
- Connect the headset via USB-C
- Ensure the project is still configured as follows
- Ensure your project is set to the right project (i.e. Your Application Name) by right clicking on it and setting it as the Startup Project
- Set the project to ARM64
- Ensure it is set to Device (not remote machine)
- Press Play/Build
More information is available here.