Windows App Installation

Classic apps (.msi and .exe applications) can be uploaded to the Relution App Store via the portal and installed and uninstalled on all Windows devices managed by Relution. Installation, detection and uninstallation are handled by the Relution Companion on the device, so it must be installed on the target devices: Windows Companion →

Packages in .msix, .msixbundle, .appx or .appxbundle format are also uploaded as a Native app, but require neither detection rules nor install parameters: Create MSIX files →

The following steps must be followed for a successful installation:

  1. Under Apps → App Store, the Native app option is selected via Add.

    Relution App Store add button with Native App option selected for Windows classic app upload

  2. In the next step, the appropriate file in the correct format (.msi or .exe) is uploaded under Choose file via the Select button and the native file manager.

    Relution app upload dialog for .msi or .exe file upload

  3. After the upload, the app details page opens. The required parameters must be found out by the administrator and entered manually. The minimum information is the Version name and at least one detection rule; for .exe apps, the required fields from step 4 are needed as well. As long as required information is missing, the app cannot be saved.

    Relution Windows app details page showing version name and detection rules required fields

  4. Under Version information, the parameters for installation and uninstallation are set:

    • For .msi apps, Install parameters and Uninstall parameters are optional. Uninstall parameters can only be edited once an MSI detection rule has been added (see step 7).
    • For .exe apps, Install parameters, Path to uninstaller (a valid Windows path to the uninstall program) and Uninstall parameters are required. At least the parameter for a silent installation is needed; parameters can be case sensitive.

    To make installation and uninstallation run in the background without manual intervention, the silent parameter matching the installer is set, e.g. /s or /quiet. Below the fields, the portal shows a preview of the resulting command, for .msi apps for example msiexec /i <file name> <parameters> for installation and msiexec /x {<product code>} <parameters> for uninstallation.

    Relution Windows app version information section showing silent install and uninstall parameter fields

    Required install parameters, path to uninstaller and uninstall parameters of an EXE app with command preview in Relution

  5. Subsequently, detection rules are added that allow the Relution Companion for Windows to uniquely identify the application on the Windows machine.

    Relution Windows app detection rules section showing add rule button for app identification

  6. Three types of detection rules are available: MSI, File and Registry. At least one rule is required to detect the program on the Windows device. For .msi files, the MSI detection rule is required in order to be able to uninstall the app. For .exe files, the two detection rules File and Registry are suitable. Several detection rules can be combined; the app only counts as installed if all rules match. One MSI detection rule is possible per app.

    Relution Windows app detection rule type selector showing MSI, File and Registry options

  7. For the MSI detection rule, the MSI product code of the application is entered in the format {AAAAAAAA-BBBB-CCCC-DDDD-EEEEEEEEEEEE}. Since there can be multiple versions of an application, the version check toggle additionally checks the version number. For this, Version is equal to (=) is selected in the Operator field and the version number is entered in Value. With Version does not equal (≠), the rule matches if a version other than the specified one is installed.

    Relution Windows MSI detection rule form showing product code and version check fields

  8. The File detection rule detects whether the application is installed on the Windows device by the presence of a file or folder. For this, Path (e.g. C:\Program Files\myApp), File or folder (e.g. myApp.exe) and the Detection method (File or folder exists or File or folder does not exist) are specified. For 32-bit applications, the 32 bit app toggle is enabled; on 64-bit clients the path is then adjusted automatically, e.g. from C:\Program Files to C:\Program Files (x86).

    Relution Windows file detection rule form showing path, file or folder and 32 bit app toggle

  9. The Registry detection rule checks the existence of the application on the Windows device against a registry key. The Registry key, Registry value name and Detection method fields are specified manually; a single wildcard character (*) is allowed at the end of the registry key. The registry value name can be chosen freely; a common choice is DisplayName in the application’s uninstall key. The Detection method options are A value with the specified name exists (default), A value with the specified name does not exist and The value is equal to. The Value field is only active with The value is equal to. To uniquely detect the application on the Windows device, The value is equal to is recommended; the required Value is taken from the installed application. The 32 bit app toggle automatically adjusts the registry key for 32-bit applications on 64-bit clients, e.g. from HKLM\SOFTWARE\Microsoft to HKLM\SOFTWARE\WOW6432Node\Microsoft.

    Relution Windows Registry detection rule form with registry key, value and detection method fields

After adding the required detection rules, the application can be saved.

List of configured detection rules (File, MSI and Registry) for a Windows app in Relution

Afterwards, the native app can be installed and uninstalled on all managed Windows devices via the Relution App Store.


Uninstalling Windows Store Apps

Windows Store apps cannot be uninstalled via the graphical interface. Therefore, it is necessary to remove them locally or via Relution using a PowerShell script. Below are the general steps:

Find the app on the device

Get-AppxPackage -Name *<AppName>* -AllUsers

Uninstall the app via script

Get-AppxPackage -Name *<AppName>* -AllUsers | Remove-AppxPackage -AllUsers
The app's provisioning package may remain on the device. To completely remove the app, first query the provisioning package and determine the PackageFullName.
Get-AppxProvisionedPackage -Online | Select PackageName

Then remove it completely:

Remove-AppxProvisionedPackage -Online -PackageName <PackageFullName>

Recommendation: Use WinGet

Whenever possible, WinGet should be used. It provides access to significantly more apps and makes uninstallation easier: WinGet →

How helpful was this article?