Skip to content

Installation Guide

Benedikt Hensen edited this page Oct 30, 2018 · 6 revisions

Installation Guide

Installation of the Frontend

The frontend consists of a Universal Windows App which is installed on the HoloLens.

The frontend can be deployed to the HoloLens as the follow-up step of the app build process. The full workflow from the compilation to the deployment is described here.

Alternatively, the app can be packed as a .apppackage-file in Visual Studio. This file can then be installed via the Device Portal of the HoloLens. This approach bears the advantage that the installation can be performed from any PC as no Visual Studio installation is required once the app package has been generated.

To generate the UWP app package follow these steps:

  1. Build the app and open the generated Visual Studio solution.
  2. In Visual Studio's Solution Explorer search for "GaMR (Universal Windows)" and perform a right click on it.
  3. In the opened context menu, navigate to the entry Store>Create App Packages and click on it. AppPackage
  4. The "Create App Packages" window opens. Select "No" at the question "Do you want to build packages to upload to the Windows Store" and proceed.
  5. Choose the output location and version number. Also make sure to uncheck x86 and ARM target architectures as the HoloLens uses a x64 system.
  6. Finally click Create.

Installing the app package on the HoloLens:

  1. Open the Windows Device Portal (Open a web browser and enter the IP address of the HoloLens. This only works if the PC is in the same network as the HoloLens. You may need to set a security exception or install the certificate to access the Windows Device Portal.)
  2. In the left sidebar navigate to "Apps".

Note that you may have to uninstall any previous versions of the app before installing the new version. Search for the app's name in the dropdown box under "Installed Apps" and select it. Then hit the "Remove" button.

  1. Under "Install App", upload the app package. Also add and upload any dependencies which have been generated in the same place as the app package.
  2. Finally click on the "Go" button and wait for the installation to finish.

Installation of the Backend

The backend requires three components which need to be installed:

  1. The model backend
  2. The gamification framework
  3. The sharing server

Installing the model backend

You will have to build the jar file from the ModelProvider project. Once you have done this, copy all the output files to the installation folder. The installation folder also needs to contain a config file. It contains the folder address where the backend data, i.e. the 3D models are saved.

Installing the Gamification Framework

In order to install the gamification framework, please follow the instructions on its GitHub page. We recommend installing it on a Linux machine.

Installing and Running the Sharing Server

The sharing server is a .exe file which can be found in the MixedRealityToolkit by Microsoft. It is executed in a console. Open a console and navigate to the folder where the file is located. Start the SharingServer.exe with the additional argument -local.