scloud by Florian Salzmann
ende

Create Win32 App / .intunewin

Short answer: package your installer folder with Microsoft’s free Win32 Content Prep Tool to produce a .intunewin file, then upload that to Intune.

To create a Win32 app or “.intunewin” file for is very easy.
The hardest part of any package is the installation logic itself. You can handle this in a PowerShell script or CMD file, for example. I personally prefer the way via PowerShell and call the installation file “install.ps1”.
You can find an explanation of the structure here: my take on win32 apps - Intune

How do I create a Win32 app (.intunewin) for Intune?

Once you have created your routine, proceed as follows:

  1. Load the current one Microsoft Win32 Content Prep Tool down
  2. Open the downloaded “IntuneWinAppUtil.exe”
  3. Provide the path to your package
  4. Enter the installation file, for me in each case: install.ps1
  5. Enter the path to the storage of the .intunewin file
  6. If there is already a file with the corresponding name, you can delete / overwrite it
  7. For the Catalog Folder question, we choose No (N)
  8. Done, that was creating the Win32 App / “intunewin”.

Win32 Content Prep Tool

Once the package has been created, you can use it in Endpoint Manager / Intune under «Apps > Windows apps” Add.
The parameters within the apps are then different depending on the application.
As install and uninstall command you can use in most cases use the following:

install command%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -executionpolicy bypass -command .\install.ps1
uninstall command%SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -windowstyle hidden -executionpolicy bypass -command .\uninstall.ps1

FAQ

Do I need to answer “yes” to the Catalog Folder question?
No - choose “No (N)” unless you specifically need a catalog folder for your package.

Can I automate creating .intunewin files instead of doing it manually?
Yes - my Intune Win32 Deployer tool automates packaging and upload for winget and Chocolatey apps.

Related posts

Intune win32 app testing
Microsoft Intune

How I Create and Test Win32 Apps for Intune

How I create and test Win32 apps for Intune: templates, Sandbox and VM testing, checking detection rules locally, and running processes as System.

Robopack, app packaging and repository for Intune.
Microsoft Intune

Robopack: Third-Party App Packaging Hub for Intune

Robopack is your Intune packaging hub. Create custom apps, test them automatically, and manage pre-packaged apps with full patch automation.

MSI Intune
Microsoft Intune

MSI Deployment with Intune as Win32 App

Easily deploy MSI applications with Microsoft Intune in a simple Win32 app and add your custom parameters including a log path.