Deploying MSI Packages Using Microsoft Intune

This page includes a step-by-step description on how to deploy MSI packages to enrolled users and devices with the help of Microsoft Intune.

The following descriptions demonstrate how to deploy MSI packages and manage any Black Ice product using Microsoft Intune. We use the Black Ice Printer Driver as an example to show the simplicity of the process.


Install the MSI installer with the “Line-of-business app” option

Login to Microsoft Intune admin center.
Navigate to Apps and click on the Windows option:

Deploying MSI Packages Using Microsoft Intune

Click on the +Add button to add a new Intune application for deployment.

Deploying MSI Packages Using Microsoft Intune

Select the Line-of-Business app option in the App Type drop-down menu.

Deploying MSI Packages Using Microsoft Intune

Click on the Select app package file option to upload the BlackIceColorPlus_X164Bit.msi file to Intune:

Deploying MSI Packages Using Microsoft Intune

In the Application package file window, check the Name settings:

Deploying MSI Packages Using Microsoft Intune

Click on OK on the App Package file window.

Click on the App Information option from Add App in Intune Application Information Details.

Deploying MSI Packages Using Microsoft Intune

Fill in the following information details in App Information.

Command-line Argument: /q REGNUM="XXXXX-XXXXXXXX-XXXXXXXXXX"
Note: the XXXXX-XXXXXXXX-XXXXXXXXXX must be the serial number of the customer.

After filling in the information, click the Next option. The next page will appear for Intune MSI Application Deployment - Assignment Options.

Click on the Add Group button from the Assignment tab of the application created.

Select groups where you want to assign this app from Add Group.
There are three Assignment types - Select one assignment type.
You can deploy the MSI application to some group of devices or users as required.
The MSI application is per machine then it will get installed in the machine context.
Select Required or Available for Enrolled Devices.
Click on Included Groups from Add Group.

Select the groups you want to make this app required or available from Assign. Click on Select Groups to select a Group for the required assignment from Assign. Search the Device/user Group in the search option in Select Groups and select the DEVICE/USER group that you want to deploy.

Deploying MSI Packages Using Microsoft Intune

Click Next to save the Assignment.

On the next page, review the values and settings you entered for the app.

Deploying MSI Packages Using Microsoft Intune

When you are done, click Create to add the app to Intune.


Install the MSI installer with the Windows app (Win32) option

First, the .MSI package needs to be converted into an .INTUNEWIN format so it can be uploaded to Intune.

Download the Microsoft Win32 Content Prep tool from Microsoft’s official link. This tool is essential for converting your .MSI files into .INTUNEWIN format, suitable for Intune.

Deploying MSI Packages Using Microsoft Intune

Organize Your Files: Create a dedicated folder, such as ‘Microsoft Win32 Content Prep’, and within it, establish Source and Output subfolders for better management of the original and converted files.

Deploying MSI Packages Using Microsoft Intune

Run the IntuneWinAppUtil tool with the following parameters:
IntuneWinAppUtil.exe -c "C:\Microsoft Win32 Content Prep\Source" -s "BlackIceColorPlus_X164Bit.msi" -o "C:\Microsoft Win32 Content Prep\Output"

The Output folder contains the .INTUNEWIN file for installation.

Login to Microsoft Intune admin center.
Navigate to Apps and click on the Windows option:

Deploying MSI Packages Using Microsoft Intune

Click on the +Add button to add a new Intune application for deployment.

Deploying MSI Packages Using Microsoft Intune

Select the Line-of-Business app option in the App Type drop-down menu.

Deploying MSI Packages Using Microsoft Intune

Click on the Select app package file to upload the BlackIceColorPlus_X164Bit.intunewin file to Intune:

Deploying MSI Packages Using Microsoft Intune

On the App package file window, check the Name settings:

Deploying MSI Packages Using Microsoft Intune

Click on the OK button on the App Package file window.
Click on the App Information option from Add App in Intune Application Information Details.
Please specify the Publisher field.

Deploying MSI Packages Using Microsoft Intune

The Intune automatic field is the Install and Uninstall command field.
Important: Add the REGNUM="XXXXX-XXXXXXXX-XXXXXXXXXX" to the Install command field.
Note: the XXXXX-XXXXXXXX-XXXXXXXXXX must be the serial number of the customer.

Deploying MSI Packages Using Microsoft Intune

On the Requirements page, specify the rules for the app to be installed on the device. In this case, a 64-bit operating system is required for the OS architecture. The minimum supported operating system version is Windows 10 (version 1607). Please specify the best choices based on your company’s needs.

Deploying MSI Packages Using Microsoft Intune

Next, the Detection rules allow us to check the device to see whether the application being deployed is already on that device or not. If the application version is already on that device, it will not install. However, if nothing is detected it will go ahead and deploy. There are two options: one is to Manually configure detection rules and the other is to use a custom detection script. We will use Manually configure detection rules > + Add:

Deploying MSI Packages Using Microsoft Intune

There are three Rule types to choose from: MSI, File, and Registry. Since we used an MSI package, it will automatically populate the MSI product code, so we will go ahead and click MSI.

See the rule here requires using the MSI Product code and I have the option to use the MSI Product version check. We will not need it in this case.

Deploying MSI Packages Using Microsoft Intune

Next, Dependencies enables us to add apps that might need to be paired together for this application to be installed. We are selecting no dependencies in this case.

Deploying MSI Packages Using Microsoft Intune

Next, Supersedence enables us to specify which apps will be either updated or replaced.

Note: If you want to update an app, disable the Uninstall previous version option. If you want to replace an app, however, you can enable that choice. In this case, there is nothing under Supersedence, but I may write another blog on this topic shortly if people are interested.

Deploying MSI Packages Using Microsoft Intune

The next page will appear for Intune MSI Application Deployment - Assignments Options.

Click on the Add Group button from the Assignment tab of the application created.
Select groups where you want to assign this app from Add Group.

There are three Assignment types - Select one assignment type.
You can deploy the MSI application to some group of devices or users as required.
The MSI application is per machine then it will get installed in the machine context.
Select Required or Available for Enrolled Devices.
Click on Included Groups from Add Group.
Select the groups you want to make this app required or available from Assign.
Click on Select Groups to select a Group for the required assignment from Assign.
Search the Device/user Group in the search option in Select Groups and select the DEVICE/USER group that you want to deploy.

Deploying MSI Packages Using Microsoft Intune

Review your MSI installation and click Create when you are ready.


Sync an app to the enrolled device

Once the application is deployed from Microsoft Intune, it can be synced to a device by following the steps below:

  1. Go to an enrolled device, in our case we used a Windows 11 machine.

  2. Right-click on the Windows icon and then go to Settings.

  3. Click on Accounts > Access work or school.

  4. Click on the Info button.

    Deploying MSI Packages Using Microsoft Intune
  5. Click on sync for syncing apps and policies.

Optional: Restart your machine if the app does not appear on your device.


Status/Monitoring – Intune MSI Application Deployment

You can check the state of the deployed application.

Navigate via Microsoft Intune - Apps > Monitor.
Click on App Install Status option and select the application you want to know the status of the application.

Deploying MSI Packages Using Microsoft Intune

From the application (this will be in the application name), click on Overview to get a graphical view of the MSI application deployment status.

Deploying MSI Packages Using Microsoft Intune

Update/Upgrade a Printer Driver

Intune will automatically reinstall, update, or remove a required app based on the following conditions:

  • If an end user uninstalls an app that you have required to be installed on the end user's device, Intune will automatically reinstall the app.
  • If a required app install fails or somehow the app is not present on the device, Intune evaluates compliance and reinstalls the app.
  • If the admin deploys uninstall intent and the app is present on the device and failed to uninstall, Intune evaluates compliance and uninstalls the app.

When you need to update or upgrade an already installed app, use the following steps:

  1. Navigate via Microsoft Intune – Apps > All apps.

  2. Find and select your app from the list of apps.

  3. Select Properties under Manage from the app pane.

  4. Select Edit next to App information.

  5. Click on the listed file next to Select file to update.

  6. The App package file pane is displayed.


Uninstall a Printer Driver

When you need to uninstall an app from a user's device, use the following steps:

  1. Navigate via Microsoft Intune – Apps > All apps > Black Ice ColorPlus X1 Printer Driver > Manage > Properties > Assignments > Edit.

  2. In the Add group pane, select Uninstall.

  3. Select Included Groups to select the groups of users that are affected by this app assignment.

  4. Select the groups that you want to apply the uninstall assignment.

  5. Click Select on the Select groups pane.

  6. Click OK on the Assign pane to set the assignment.

    Deploying MSI Packages Using Microsoft Intune

    Note: If you want to exclude any groups of users from being affected by this app assignment, select Exclude Groups.

    Deploying MSI Packages Using Microsoft Intune
  7. Select OK in the Add group pane.

  8. Select Review and Save in the app Assignments pane.