IntuneApps

How to Deploy Win32 Apps via Intune (Step-by-Step)

Published 17 March 2026

Win32 app deployment is how you push .exe and .msi installers to managed Windows devices via Intune. It requires wrapping your installer in a .intunewin file, but once set up it gives you full control over installation, detection, and dependency management.

Contents
  1. Prerequisites
  2. Wrap the installer with the Win32 Content Prep Tool
  3. Add the app in Intune
  4. Program settings (install and uninstall commands)
  5. Requirements
  6. Detection rules
  7. Assign and monitor
  8. Troubleshooting

Prerequisites

Before you start, make sure you have:

💡
Win32 vs LOB apps
If your app is a simple .msi with no dependencies or custom install arguments, you can use an LOB (line-of-business) app instead. Win32 is the better choice when you need custom install commands, detection rules, or dependency management.

Wrap the installer with the Win32 Content Prep Tool

Intune cannot deploy .exe or .msi files directly. You first need to wrap the installer in a .intunewin package using Microsoft's free Content Prep Tool.

  1. Create a source folder (e.g. C:\AppSource\7zip) and put your installer inside it
  2. Create an output folder (e.g. C:\IntunePackages)
  3. Open a command prompt and run:
IntuneWinAppUtil.exe -c "C:\AppSource\7zip" -s "7z2301-x64.msi" -o "C:\IntunePackages"

The tool generates a .intunewin file in your output folder. This is what you upload to Intune.

Add the app in Intune

Intune Admin Centre → Apps → Windows → + Add
  1. Go to Apps → Windows → + Add
  2. Under App type, select Windows app (Win32) and click Select
  3. Click Select app package file and upload your .intunewin file
  4. Fill in the app information:
    • Name - the name shown in the Company Portal
    • Description - what the app does
    • Publisher - the software vendor
  5. Click Next

Program settings

This is where you define the install and uninstall commands. Intune runs these commands as SYSTEM by default.

⚙️
Program settings
Install and uninstall commands run on the device
Install commandFor MSI files. /qn = silent install with no UI
msiexec /i "7z2301-x64.msi" /qn
Uninstall commandReplace {ProductCode} with the MSI product code from the vendor
msiexec /x {ProductCode} /qn
Install behaviourSystem runs as SYSTEM account. User runs in the context of the logged-in user.
System
Device restart behaviourChange to "No specific action" if the app does not require a restart
App install may force a restart
💡
Finding the install command for an EXE
For .exe installers, check the vendor documentation for the silent install switch. Common ones are /S, /silent, or /quiet. You can also run installer.exe /? in a command prompt to see available switches.

Requirements

Requirements define the minimum conditions a device must meet before Intune attempts to install the app. This prevents installation attempts on incompatible devices.

📋
Requirement rules
Minimum conditions for installation
Operating system architectureSelect both unless the app is architecture-specific
32-bit and 64-bit
Minimum operating systemMatch to the minimum OS your fleet runs
Windows 10 21H1

Detection rules

Detection rules tell Intune how to confirm the app is actually installed. If the detection rule does not match after installation, Intune reports the app as failed even if the installer ran successfully.

For MSI installers, use the MSI product code detection method - Intune handles this automatically. For EXE installers, use one of:

⚠️
Test your detection rule manually
Before deploying, manually install the app on a test device and verify the file path or registry key exists. A wrong detection rule is the most common cause of Win32 app failures in Intune.

Assign and monitor

On the Assignments tab, add your target group under Required (mandatory install) or Available for enrolled devices (user-initiated from Company Portal).

After deployment, monitor progress under Apps → Windows → [App name] → Device install status. Check the IME log on a device for detail:

Get-Content "C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntuneManagementExtension.log" -Tail 100

Troubleshooting

App shows as Failed in Intune

Check the IME log on the device. The log shows the exact exit code from the installer. Exit code 0 = success, anything else is an error. Common causes: the installer requires a reboot mid-install, a prerequisite is missing, or the detection rule does not match.

App stuck in Pending install

The device has not checked in recently. Force an Intune sync and check that the IME service is running: Get-Service -Name IntuneManagementExtension.

Detection rule not met after successful install

The app installed but Intune cannot confirm it. Check the file path or registry key in your detection rule against what is actually on the device. File paths are case-sensitive in the detection rule.

// need this done for your business?
Fixed-price Intune setup for UK businesses

I set up Intune for UK small businesses at a fixed price - compliance policies, app deployment, Conditional Access, and full documentation handed over at the end.

View Packages
#intune#app-deployment#win32#windows#endpoint-management