Category filter
Distribute enterprise apps to Windows devices
This article deals with the distribution of enterprise apps on Windows devices.
Enterprise apps are custom apps developed by an organization or a third party to be used within the organization. These apps are also known as internal or in-house apps.
Since these apps contain proprietary business information, many organizations do not host these apps on public distribution channels (Microsoft Store for Windows devices). Instead, they rely on enterprise app stores that can seamlessly deploy their internal apps within the organization.
Hexnode delivers its own enterprise app store to securely distribute apps, whether store or internal, to the organization’s devices. In the case of Windows devices, administrators can deploy enterprise (MSI/MSIX/EXE) apps to the managed devices without compromising data security.
Hexnode supports deployment of three types of enterprise apps: EXE, MSI, and MSIX.
First, you need to add the apps to the Hexnode app inventory before they can be deployed.
The settings and steps for adding them to the inventory and deploying these apps vary depending on the type you choose, allowing you to configure them based on your specific requirements.
To add an enterprise app to the Hexnode app inventory:
- Log in to your Hexnode portal.
- Navigate to Apps.
- Select +Add Apps > Enterprise App.
- Choose the platform as Windows.
- Provide the App Name.
- You can either upload with:
- MSI file: Click on Choose the MSI File and select a file from the system.
- MSIX file: Click on Choose the MSIX File and select a file from the system.
- EXE file: Click on Choose the EXE File and select a file from the system.
- From Manifest URL: Enter the URL to the app and its version. Note that only apps with the .msi extension are supported for installation.
Or
Or
Or
- Select an app category or input a new category by clicking on the + button.
- Provide a description for the application and click Add to upload the file.
- App Version: Specify the app version for MSIX/EXE files.
- SHA-256 Checksum: Hexnode uses the SHA-256 checksum to ensure that the apps are not corrupted while uploading them to the portal and deploying them to devices. Provide the SHA-256 checksum(hash) of the file to verify the file integrity before distribution. If left blank, Hexnode UEM will skip the file verification.
- If it’s an MSI file, specify the device location where the MSI file should be installed. For example, C:\Program Files.
- While uploading the MSI/MSIX/EXE 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.
- For MSIX and EXE files, you must define success criteria, with at least one being mandatory while uploading the file. As for MSI files, success criteria must be configured after uploading the file to the Hexnode app inventory.
Success Criteria
Defining a success criterion for installation allows administrators to validate specific app parameters after installation and detect inconsistencies. Success criteria include parameters such as app identifiers, registry paths, and app paths, which confirm whether an app is correctly installed. If the set criteria are met, the app is considered successfully installed, even if discrepancies exist in the enterprise file. Administrators can verify this directly from the console.
The Required Apps policy in Hexnode ensures that a specified application remains installed on the device. It periodically checks for the app’s presence and reinstalls it if found missing.
For instance, in the case of MSI apps, the policy relies on the app identifier and version—both extracted from the MSI file and the installed app—to determine if the policy association is successful. If a mismatch is detected between these values, the policy redeploys the app, even if it is already installed. A faulty MSI file may cause the installed app to have an identifier or version different from what was extracted during upload, leading to unnecessary redeployments. In such cases, defining a success criterion helps prevent unnecessary reinstallation by confirming the app’s presence based on alternative parameters.
Different success criteria:
- App Identifiers: Add one or multiple app/installer identifiers (product codes), separated by a semicolon (;). Once the enterprise app is installed, Hexnode verifies if the installed application contains the specified app identifier. In case of a mismatch, the success criterion will fail.
For example:
The App Identifier may be a string of numbers, or a name provided by the app publisher, such as
{3456C7D8-2345-6789-ABCD-EFG12345678}
orMozilla Firefox
. - Registry Path: This option allows you to define the path of a registry key to be checked on the target device. This can be any registry key created when the app is successfully installed. If the key does not match, the success criteria will fail.
There are two components to configure in this option:
- Registry Root: This is the top-level directory in the Windows Registry, such as HKLM (HKEY_LOCAL_MACHINE), HKCU (HKEY_CURRENT_USER), HKCR (HKEY_CLASSES_ROOT), HKCC (HKEY_CURRENT_CONFIG), and HKU (HKEY_USERS).
- Subkey: This is the specific path within the registry root, such as \SOFTWARE\MyCompany\MyApplication.
For example:
In the case of Firefox, the registry key related to the app is ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox’.
From the registry root dropdown, choose HKLM and enter the subkey ‘
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
‘. - Install Path: This option can be used to confirm the app’s installation on the device by checking for a specific file present on the target device. The file’s location is indicated in the Path field, which should contain the path of any file created upon successful app installation.
For example:
In the case of Mozilla Firefox, the path of the file is most likely to be in the following format:
C:\Program Files\Mozilla Firefox\firefox.exe
- App Identifiers: Add one or multiple app/installer identifiers (product codes), separated by a semicolon (;). Once the enterprise app is installed, Hexnode verifies if the installed application contains the specified app identifier. In case of a mismatch, the success criterion will fail.
- For MSIX and EXE apps, Hexnode allows you to configure uninstallation settings during the file upload to the Hexnode app inventory.
Uninstallation settings
You must configure at least one of the following options:
-
App Identifier: Enter the app identifier.
- Note that the app identifier cannot be modified or configured from the Required Apps policy.
-
File Path: Provide the exact file path (e.g.,C:\Program Files\Hexnode UEM\uninstall\helper.exe
).- If the app requires specific uninstallation commands, check Add uninstallation commands and provide the necessary parameters.
- User Scope: Choose whether the scope applies to All user accounts or the Current user account.
-
App Identifier: Enter the app identifier.
- Click Add to upload the file.
Later, the administrators can select one of these parameters to assign it as the success criteria when deploying an enterprise app to the devices.
Defining Success Criteria for MSI files
For MSI files, the validation criteria can only be defined after uploading them to the Hexnode app inventory. You can also edit them from the inventory if needed. The success criteria can be selected during app deployment only if they have already been defined in the Hexnode app inventory.
- Log in to your Hexnode UEM portal.
- Navigate to Apps.
- Select the desired MSI file.
- At the bottom, you will find the following parameters to edit:
- App Identifiers: Add one or multiple app/installer identifiers (product codes), separated by a semicolon (;). Once the enterprise app is installed, Hexnode verifies if the installed application contains the specified app identifier. In case of a mismatch, the success criterion will fail.
For example:
The App Identifier may be a string of numbers, or a name provided by the app publisher, such as
{3456C7D8-2345-6789-ABCD-EFG12345678}
orMozilla Firefox
. - Registry Path: This option allows you to define the path of a registry key to be checked on the target device. This can be any registry key created when the app is successfully installed. If the key does not match, the success criteria will fail.
There are two components to configure in this option:
- Registry Root: This is the top-level directory in the Windows Registry, such as HKLM (HKEY_LOCAL_MACHINE), HKCU (HKEY_CURRENT_USER), HKCR (HKEY_CLASSES_ROOT), HKCC (HKEY_CURRENT_CONFIG), and HKU (HKEY_USERS).
- Subkey: This is the specific path within the registry root, such as \SOFTWARE\MyCompany\MyApplication.
For example:
In the case of Firefox, the registry key related to the app is ‘HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox’.
From the registry root dropdown, choose HKLM and enter the subkey ‘
SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox
‘. - Install Path: This option can be used to confirm the app’s installation on the device by checking for a specific file present on the target device. The file’s location is indicated in the Path field, which should contain the path of any file created upon successful app installation.
For example:
In the case of Mozilla Firefox, the path of the file is most likely to be in the following format:
C:\Program Files\Mozilla Firefox\firefox.exe
- App Identifiers: Add one or multiple app/installer identifiers (product codes), separated by a semicolon (;). Once the enterprise app is installed, Hexnode verifies if the installed application contains the specified app identifier. In case of a mismatch, the success criterion will fail.
- Once done, click Save.
Later, the administrators can select one of these parameters to assign it as the success criteria when deploying an enterprise app to the devices.
Updating Success Criteria and Uninstallation settings for MSIX/EXE files
For MSIX/EXE files, the validation criteria can be modified later after uploading the file by following these steps:
- Log in to your Hexnode UEM portal.
- Navigate to Apps.
- Select the desired MSIX/EXE file.
- Click on the gear icon at the top right of the App details dialog box and select Edit.
- You will now be able to edit the Success Criteria and Uninstallation settings at the bottom.
- Click Save to apply the changes.
The apps added to the app inventory can be distributed to the devices using the remote action or Required Apps policy.
Install apps via Actions
- Navigate to Manage > Devices.
- Click on the device.
- On the device summary page, click Actions > Install Application.
- Select the app.
- Click Configure to specify the installation settings.
- Click Install.
Install apps via Policy
- Navigate to Policies.
- Create a new policy with the New Policy button or select an existing policy.
- From Windows > App Management, select Required Apps.
- Click on Configure and +Add button to either add an app or a group of apps from the app inventory.
- Select the required app(s) and click Configure under Custom Installation to set up installation and uninstallation settings.
Installation Settings
For enterprise apps, Hexnode enables you to configure various app installation settings during deployment via the Required Apps policy and the Install Application remote action. And installation settings vary depending on the type of app being deployed:
Installation settings Description Enable logging (Available for MSI apps only)
This setting helps specify the MSI app’s default logging mode. Ticking this option enables the logging service, and the Windows Installer records the errors and events into logs on the specified log path of the device. The diagnostic data contained in the logs helps the user to troubleshoot in case the installation fails. Log path (Available for MSI apps only)
Specify a custom path for the output log file. You can provide the complete path of a folder along with the desired file name and format. C:\Hexnode\Logs\MSI Logs\ .log is set as the default log path.Install silently (Available for EXE apps only)
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. 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 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.
Install app at system level (Available for EXE apps only)
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. Force device restart after app installation (Available for MSI, MSIX, and EXE apps)
Upon successful installation, the system restarts automatically when this option is selected. Installation timeout (minutes) (Available for MSI, MSIX, and EXE apps)
If the app installation process does not complete within the specified time duration, it will be forcefully terminated. The minimum and maximum time duration is 10 and 60 minutes respectively. Add command-line parameters (Available for MSI apps only)
You can specify additional parameters by ticking this option while distributing the MSI/EXE app to the device. These command-line parameters help you modify the installation process and other related operations on the device. Add Installation commands (Available for EXE apps only)
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. Change app version (Available for MSI apps only)
Select the app version you wish to install on your device. All uploaded versions of the app are displayed with their respective version numbers.The version marked as Latest is the most recent version. Success Criteria (Available for MSI, MSIX, and EXE apps)
You can choose one of the validation criteria defined during the enterprise app upload to the Hexnode app inventory here. The installed application must meet the selected criterion for the installation action to be successful. The three available options are: - App exists: This option uses the App identifiers parameter as the success criterion.
- Path exists: This option uses the Install path as the success criterion. It can be edited or updated directly from the Installation Settings.
- Registry exists: This option uses the Registry path as the success criterion.
After app deployment, administrators can verify the success criteria status from the Action History tab of the device in the Hexnode portal. Select the app status corresponding to the initiated action to view detailed information.
Retry if the installation fails (Available for MSI and EXE apps only)
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. This option is available only when deploying the app using the Install Application remote action. Retry (Available for MSI and EXE apps only)
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
This option is available only when deploying the app using the Install Application remote action.
Uninstallation settings
You must configure at least one of the following options:
-
App Identifier: Enter the app identifier.
- Note that the app identifier cannot be modified or configured from the Required Apps policy.
-
File Path: Provide the exact file path (e.g., C:\Program Files\Hexnode UEM\uninstall\helper.exe).- If the app requires specific uninstallation commands, check Add uninstallation commands and provide the necessary parameters.
- User Scope: Choose whether the scope applies to All user accounts or the Current user account.
- Click Done when finished.
- For MSIX/EXE apps, configuring the installation and uninstallation settings is mandatory before adding them to Required Apps. These settings can later be edited after adding them.
- Click Save.
- Next, associate the policy with the target devices by navigating to the Policy Targets tab.
- Select the required Devices/Device Groups/Users/User Groups/Domains to which the policy is to be associated.
- Click on Save.
For MSI apps deployed via the Required Apps policy, deleting the deployed version from the Hexnode app inventory removes it from both the device and the policy. Note that the associated policy gets replaced with the latest available app version.
Managing multiple versions of MSI apps
For MSI apps, you can upload different versions of the same app and choose the version to be used for installation.
To add a different version of an app:
- Go to the Apps tab and click on the app for which you want to add a new version.
- In the App details dialog box, click the gear icon at the top right and select Edit.
- You can add a new version using either of the following methods:
- Upload via MSI File: Upload the new MSI file.
- Upload via Manifest URL: Enter the URL of the app and its version.
- You can also edit app details such as App Name, Category, Description, and enable/disable Notify admin via email for upload succeeds/fails notifications.
- There is a gear icon at the top right, where you can choose to view the Version History or delete the app from the Hexnode app inventory. Note that deleting the app will delete all its versions and remove it from any associated groups and policies.
- Click Save to apply the changes.
Version History
If you want to view the version history of an app (all added versions and their details):
- Go to the Apps tab and click on the app for which you want to check the version history.
- In the App details dialog box, click the gear icon at the top right and select Version History.
- Here, you can see the versions of the app that have been uploaded along with their details.
- The most recent version uploaded to the Hexnode app inventory is automatically marked as the Latest version.
- On the Version History page, you will see three icons to the right of each version:
- Download Icon: To download the file.
- Edit Icon: To customize the validation criteria for each version of the MSI app.
- Delete Icon: To delete an app version. Upon clicking the delete icon, you’ll be prompted to select how policies, groups, and catalogs should be affected:
- Remove the app from associated policies, groups, and catalogs
- The app will be removed from associated Required Apps policies, App Groups, and App Catalogs.
- The app will be removed from associated Required Apps policies, App Groups, and App Catalogs.
- Update policies/groups/catalogs with the latest app version
- The app version will be updated to the latest available version on the associated Required Apps policies, App Groups, and App Catalogs.
- Remove the app from associated policies, groups, and catalogs