Deploy a Win32 App via Intune

In this blog I will be touching on how to use Intune to deploy a Win32 application out to your machines.

Intune is an amazing tool for MDM and the ability to push out Win32 applications is brilliant. I will be showing how to package the Win32 app, import into Intune and deploy out to the end user device!

Ready. . . Let’s go!

Creating App Package

First, we need to download the Intune App Packaging Tool from the following GitHub repository

This tool will allow users to create an Intune compatible Application Package that can be imported into the portal for assignment.

Once the tool is installed, we then need to find a suitable application to test. In my case I have downloaded the 7-Zip Installer and will package this.

I have installed the tool into C:\IntuneTool\ and created a subdirectory called 7Zip which contains the main install file.

I then need to run the IntuneWinAppUtil.exe file and specify the relevant settings

You will be asked to specify the Source Folder, Setup File and Output folder.

Do this as per your installer files.

Don’t worry about the catalog folder for now.

You should then see something similar to the below:

And if you navigate to the Output directory you should see the App Package file in .intunewin format

Creating Win32 Application in Intune

Now we move across to the Intune Portal. As Intune will be moving to the new portal in August 2020 I will be using the Endpoint Management Console to manage the settings.

After logging in to the portal click on Apps

Then click Windows under the By platform section.

We now need to click + Add to start the creation process.

Select the App type as Other > Line-of-business app then click Select

We then need to click Select app package file

Select the relevant App package file we created earlier.

Then click OK

On the App information tab enter the required information such as Publisher and Logo.

In my case this is 7-Zip as publisher, and I downloaded the 7-Zip logo from their website.

Click Select Image under Logo. Select the relevant logo file and then OK.

Once you have entered all the required information click Next.

On the Program tab we need to enter the relevant Install command, Uninstall command.

The Install command should be the relevant installer file with any required switches.

In my case 7z1900-x64.exe /S (which will install silently.

The Uninstall command needs to point to the relevant uninstall path required by Windows. This can be found in the Registry of a machine with the application installed under the following Key


Once you have confirmed these settings. Click Next

On the Requirements tab. Select the relevant requirements for the application. Such as Operating System Architecture, Disk space required etc.

When we happy with our selections, click Next

We now need to configure the detection rules. This is so Intune can decide whether or not the application is applicable for install.

Change the Rules format option to Manually configure detection rules

Then click +Add

For my testing I will simply add a Detection rule to check for the presence of the program files. To do this select the Rule type as File.

Fill in the Path and File or Folder as is required for your application. Then click OK

You can also add rules based on MSI Product Code and Registry entries if needed. For testing this single rule is sufficient.

Once all required rules have been added click Next.

On the Dependencies tab you are able to add any application dependencies if required for your app. In this case I will skip this and click Next

Finally, we need to add the Assignments for this application.

I will be adding the Application as Required for my organization.

Therefore, I will add the relevant groups to the Required section and then click Next

On the Review + Create tab check the settings, and if okay click Create


Now the application is configured, we need to test that it installs correctly.

As I have set the Assignment type to Required. This application should install in the background.

Let’s hop onto the device and see what happens.

After a few minutes I received the standard Intune Software Distribution toast notifications telling me an app was required!

This was followed by an Downloading and installing software notification.

And finally a 7×1900-x64.exe was installed successfully notification.

Sure enough a quick check in the Start menu shows the application ready and waiting.

Hopefully this blog will be useful to anyone looking at packaging up a Win32 app in Intune.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s