Package and Deploy a Win32 App with Microsoft Intune
This walkthrough packages one approved Windows installer, adds it as an Intune Win32 app, and deploys it to a small device pilot. The installer must support a silent, unattended installation; interactive prompts are not supported by Intuneās Win32 app deployment.
Prepare and Test the Installer
PreflightObtain the approved installer and its vendor documentation. Put only the appās setup files and required dependencies in a dedicated source folder; keep the Microsoft Win32 Content Prep Tool and output folder elsewhere. On a test device, run and validate the vendorās silent installation, uninstall, and detection method before packaging. Record the expected product code or installed file and version.
Source folder: C:\Intune\Source\ContosoAppInstaller file: ContosoApp.msi (example name)Vendor silent install tested:Vendor uninstall tested:Detection method identified:Pilot Windows device enrolled and checking in:⯠Illustrative Output (Results Vary)
The installer completes without dialogs, and its installed state can be detected reliably.Create the .intunewin Package
PackagingDownload the latest Microsoft Win32 Content Prep Tool from Microsoftās linked GitHub repository and extract it outside the source folder. Run the tool with the source directory, setup file, and a separate output directory. The tool packages all files and subfolders in the source folder, so remove unrelated files before running it.
.\IntuneWinAppUtil.exe -c "C:\Intune\Source\ContosoApp" -s "ContosoApp.msi" -o "C:\Intune\Output"⯠Illustrative Output (Results Vary)
C:\Intune\Output\ContosoApp.intunewinCreate the Windows Win32 App in Intune
App SetupIn the Microsoft Intune admin center, open Apps > All Apps > Create. Choose the Windows platform and Windows app (Win32), then select the generated .intunewin file. Add the app name, publisher, description, and other required metadata so administrators can identify the package and its owner.
App type: Windows app (Win32)Package: C:\Intune\Output\ContosoApp.intunewinName and publisher: match the approved software recordOwner and support details: documented for the service desk⯠Illustrative Output (Results Vary)
The Intune app wizard accepts the package and opens the app configuration steps.Configure Program, Requirements, and Detection
Install RulesOn the Program page, enter the tested install and uninstall commands. For an MSI, common templates are msiexec.exe /i āContosoApp.msiā /qn /norestart and msiexec.exe /x PRODUCT-CODE-GUID /qn /norestart; replace the example product code with the actual MSI product code and follow the vendor instructions. Select the installation behavior that matches the installer. On Requirements, set the supported architecture and minimum OS. On Detection rules, use the MSI product code or a reliable file, registry, or script rule so Intune can distinguish installed from missing.
Install command: tested vendor silent commandUninstall command: tested vendor command and actual product identifierInstall behavior: System for machine-wide/admin install; User only when supportedRequirements: architecture and minimum OS verifiedDetection: reliably matches the installed app and version⯠Illustrative Output (Results Vary)
The app configuration describes a silent install, a working uninstall, and a testable detection state.Assign the App to a Small Device Pilot
Pilot AssignmentFinish the wizard, then assign the app as Required to an approved pilot device group. Review the included and excluded groups before saving. Avoid mixing Win32 and line-of-business MSI deployments during classic Windows Autopilot enrollment; Microsoft documents a possible Trusted Installer conflict in that scenario.
Assignment intent: Required for the approved pilotTarget: dedicated test-device groupExclusions: production groups and unrelated devicesAutopilot enrollment: review app-type conflicts before deployment⯠Illustrative Output (Results Vary)
Only the intended pilot devices receive the required app assignment.Monitor Installation and Resolve Failures
ValidationOpen Apps > All Apps, select the app, and review its device install status. Allow the device to check in; if needed, sync from Settings > Accounts > Access work or school > Info > Sync or Company Portal. For a failure, compare the Intune error with the installer result, detection rule, and logs under C:\ProgramData\Microsoft\IntuneManagementExtension\Logs, especially AppWorkload.log and IntuneManagementExtension.log.
Intune admin center > Apps > All Apps > select the appReview: Device install status and per-device resultClient logs: AppWorkload.log and IntuneManagementExtension.logCheck: assignment, silent command, requirements, detection, and return code⯠Illustrative Output (Results Vary)
Record install status and version on each pilot device before expanding the assignment.