Category filter

Deploy Windows EXE apps using Hexnode UEM

Microsoft has introduced the MSI (Microsoft Installer) format to streamline the deployment of enterprise software on Windows systems. However, it’s important to note that a substantial number of software publishers opt not to distribute MSI packages for their applications. Instead, they provide EXE (executable) files for installation on Windows devices. These applications encompass a wide variety, including in-house enterprise apps, utility apps, and various other software types. IT admins can now deploy EXE apps with the help of Hexnode UEM, and this help document explains the step-by-step guide on how to upload, configure, and deploy EXE apps on Windows devices.

Disclaimer:


The app installation behavior is dependent on the EXE app package. It is recommended to validate the app deployment on a system before executing the action in bulk.

Add EXE apps to Hexnode app inventory

An enterprise app must first be uploaded to the Hexnode app inventory before its distribution.

  1. Log in to your Hexnode UEM portal.
  2. Navigate to Apps.
  3. Select +Add Apps > Enterprise App.
  4. Choose the platform as Windows.
  5. Provide the App Name.
  6. Select the app category as EXE File.
  7. Select an app category or input a new category by clicking on the + button.
  8. Provide a description for the application and click Add to upload the file.
  9. While uploading the app file, you can check the Notify admin via email once app upload succeeds/fails option to receive the email notifications on the app upload status.
  10. Click Add to upload the file.

Deploy EXE apps via the Install Application action

The EXE apps added to the Hexnode app inventory can be distributed to the devices using the Install Application remote action. Follow the given steps for the deployment of EXE apps.

  1. On your Hexnode UEM portal, navigate to Manage > Devices.
  2. Click on the device.
  3. On the device summary page, click Actions > Install Application.
  4. Select the app.
  5. Click Configure to specify the installation settings.
  6. Click Install.

Configure EXE app installation settings

For EXE apps, Hexnode UEM enables administrators to configure various installation settings during app deployment.


Tab showing option to configure the EXE app
  • Install silently: The administrator can install apps silently on Windows devices with the help of this option. By default, this option is enabled, and it allows the installation of applications without prompting the user. If unchecked, the user will get a pop-up to allow the app installation manually.

  • Pop-up on the device requesting permission for the installation of the EXE application

    If the user selects the Not Now option from the installation pop-up, then the app installation message will appear under the Notifications section of the Hexnode UEM app. Users can grant permission for installing the app from here in case they selected the Not Now option. This app installation prompt will appear under the Notifications section of the Hexnode UEM app only if the administrator checks the Retry if the installation fails option while configuring the app installation settings.


    Notifications section of the Hexnode UEM app displaying a prompt for app installation
    Note:

    • Only applications that support silent installation, consisting of the command-line parameter “/s” (case-sensitive) inside the EXE package will be installed silently.
    • Hexnode has already configured the command-line parameter “/s” (case-sensitive) by default to initiate silent app installation on Windows devices (when the Install silently option is selected). If the application has silent installation command-line parameters other than “/s“, it is recommended to specify it in the Specify the parameters field under Add Installation commands option.
    • If the administrator doesn’t set up the command-line parameter correctly in the Specify the parameters field, the application installation action will fail.
    • The silent app installation process may take a couple of minutes, depending on the app size and network connectivity.
  • Install app at system level: Installing an app at the system level refers to making the app available to all users of a computer, rather than just one user. By default, this option is checked. Unchecking this option will lead to the app installation at the currently logged-in user level only.
  • Note:


    Some EXE app packages may not support system-level installation and can only be installed at the user level. For such apps, uncheck this option to install the app at the user level. Selecting the Install app at system level option for an application that supports user-level installation or vice versa will result in the failure of the app installation action.

  • Force device restart after app installation: When this option is selected, the device automatically restarts upon successful installation of apps.
  • Add Installation commands: Admins can specify installation parameters by checking this option. These command-line parameters help admins modify the installation process and other related operations on the device.
  • Note:

    • All the command-line arguments are dependent on the EXE packaging. Hence, specify the arguments accordingly.
    • When you include one or more parameters, separate them using space.
    • For example, /s /norestart.

    • As you add more parameters, make sure they do not conflict with each other. Adding conflicting parameters may lead to unintended behavior on the device.
  • Installation timeout (minutes): If the app installation process is not complete within the specified time duration, it will be forcefully terminated. The minimum and maximum time duration is 10 and 60 minutes, respectively.
  • Note:


    The configured timeout period considers only the app installation process that begins after the EXE file has been deployed from the Hexnode UEM server.

  • Success Criteria: This option provides admins with the ability to define specific conditions that determine whether the EXE app installation is successful or not. There are three main sub-options available under this option.
  • Disclaimer:


    The success criteria configured within the app installation settings direct the Hexnode UEM to determine the status of app installation based on different factors specified. These success criteria are entirely dependent on the administrator’s discretion. If incorrect values or conditions are set within the sub-options of the Success Criteria option, it might lead to issues while detecting the application installation status.


    Sub-tab showing the options to configure the success criteria of app installation
  1. App Exists: Here, administrators can specify the App Identifier (product code) of the app. When specified, Hexnode will verify whether the given app is installed on the target device based on the product code provided.
    The App Identifier may be a string of numbers or a name that is given by the app publisher like {56DDDFB8-7F79-4480-89D5-25E1F52AB28F} or HexnodeUEM.

    For example:

    Successful Criteria - App Exists

    App Identifier - {56DDDFB8-7F79-4480-89D5-25E1F52AB28F}

    Note:


    The App Identifier can be fetched using any of the following two ways. First, install the specified app manually on a Windows device.

    1. If the chosen Windows device is enrolled in Hexnode, navigate to Manage > Devices > select the specific device. In the Applications tab, search for the specific app and you can find the corresponding App Identifier there.
    2. When an app is installed at the system level, its app identifier resides in the HKLM registry. Conversely, when an app is installed at the user level, its app identifier can be found in the HKCU registry. The app identifier can be fetched from the registry editor using the following methods:
      • If both the system and app are 64 bits, then search for SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall in the registry editor on the Windows device.
      • If the system is 64-bit and the app is 32-bit, then search for SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall in the registry editor on the Windows device.
      • If the system is a 32-bit system, then search for SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
        in the registry editor on the Windows device.

  2. File Exists: By selecting this option, the administrator can verify the app’s installation on the device using a file present on the target device. The file path is specified in the Path field. This could be the path of any file that is created upon the successful installation of the app on the device.

    For example:

    Successful Criteria - File Exists

    Path - C:\Hexnode\Hexnode UEM\Current\Hexnode UEM.exe

  3. Registry Exists: This option enables administrators to define the path of a registry key to be checked on the target device. This can be any registry key that is created when the app is successfully installed on the device.
    The available registry file options are:
    HKLM (HKEY_LOCAL_MACHINE)
    HKCU (HKEY_CURRENT_USER)
    HKCR (HKEY_CLASSES_ROOT)
    HKCC (HKEY_CURRENT_CONFIG and
    HKU (HKEY_USERS).

    For example:

    Successful Criteria - Registry Exists

    Path - \SOFTWARE\MyCompany\MyApplication

    After the app deployment, administrators can verify the status of the Success Criteria from the Action History tab of the device from the Hexnode portal. Select the app installation status corresponding to the Install Application action initiated on the device to view it.


Hexnode portal showing app installation Success Criteria status under the Action History tab
  • Retry if the installation fails: This option allows the app installation process to automatically re-attempt if the initial installation attempt fails. The number of tries can be selected from the Maximum number of retries option. The minimum and maximum number of retries are 1 and 5 times, respectively.
  • Retry: Administrators can specify when to retry the app installation process. The available options are:
    • immediately
    • after 1 minute
    • after 2 minutes
    • after 5 minutes
    • after 10 minutes
    • after 15 minutes
    • after 30 minutes
    • after 60 minutes

By following the steps mentioned in this help document, IT administrators can seamlessly add EXE apps to the Hexnode app inventory, customize various app installation settings to suit their organization’s requirements, and deploy these applications to devices with ease.

  • Deploying and Managing Apps