You can easily deploy MSI and Store apps using the built-in methods in the Intune admin center. However, for .exe installers and more complex or custom deployments, you’ll need to use the Windows app (Win32 app) method.
For this method, you’ll need to repackage the application into the .Intunewin file format. In this blog post, we’ll guide you through the process of creating this format and deploying it using Intune.
STEP 1 – Create 3 folders on your device
Example App: Notepad++
- C:\Notepad Setup – Copy all source files into this location.
- C:\Output – This folder is used for the Output file (.intunewin) which will be generated.
- C:\IntuneContentPrepTool – This folder will contain the tool which will generate .Intunewin file. The tool is called “Microsoft Win32 Content Prep tool”
STEP 2 – Copy files into the folders
- Download your Application binary files (.exe) or Setup files and Copy them into the folder C:\Notepad Setup. [You can choose any folder name you like. In my example, I’m deploying Notepad++, so I used a relevant folder name.]
- Download the Microsoft Win32 Content Prep tool and extract it into C:\IntuneContentPrepTool folder.
STEP 3 – Create IntuneWin File
- Launch Powershell as an administrator and navigate to C:\IntuneContentPrepTool.
- Run IntunewinAppUtil.exe and provide Source Folder, Setup File, Output Folder, and Catalog Folder Information.
- Source Folder: Enter the location of the folder where .exe files / setup files are stored.
- Setup File: Enter the name of the .exe file.
- Output folder: Enter the location where .Intunewin file will be generated.
- Catalog folder: Type N and press Enter.
- Intunewin file has been successfully generated in the “Output” folder located at C:\Output.
Now that you know how to create an Intunewin file using the above steps, you can also use the following command as an alternative method to create a .Intunewin file.
\IntuneWinAppUtil.exe -c <setup_folder> -s <setup_file> -o <output_folder>
.\IntuneWinAppUtil.exe -c "C:\Notepad Setup\" -s npp.8.4.9.Installer.x64.exe -o C:\output
What’s Next after creating .IntuneWin file
After you’ve created the .IntuneWin file, you can log in to the Microsoft Intune admin center and create an app deployment using the Windows app (Win32) method to deploy the .IntuneWin file.
If you need more detailed steps on Intune Win32 app deployment, you can check the following posts for additional information: