Keep it Simple with Intune – #4 Deploying a Win32 app


In the fourth entry to the Keep it Simple with Intune series, I take you through the process of creating a Win32 app for deployment.

Let’s start off by listing the pre-reqs you need in place:

  • Win 10 version 1607 minimum – Ent, Pro or Education
  • Azure or hybrid AD joined
  • enrolled in Intune
  • Win32 app size a maximum of 8GB

With the pre-reqs sorted you will need to download the Microsoft Win32 Content Prep Tool. This tool is available from GitHub here and the tool is used to convert application installs into the .intunewin format.

The IntuneWinAppUtil.exe is a command line tool and you can query the full set of available command line parameters by running IntuneWinAppUtil.exe -h

2019-02-17 22_24_38-Select Administrator_ Command Prompt.jpg

For my example I am going to create an installer for Sonic Pi, the Live Coding Music Synth for Everyone. Go check it out at https://sonic-pi.net/.

The parameters I need to use to create my Intune installer are:

IntuneWinAppUtil.exe -c (location of my setup files) -s (the name of the installer file) -o (the output folder for my resultant Intune setup file).

So the command I issued for my app is:

IntuneWinAppUtil.exe -c “C:\Users\paul.winstanley\Downloads\Intune” -s Sonic-Pi-for-Win-v3.1.0.msi -o “C:\Users\paul.winstanley\Downloads\Intune\SonicPiIntune”

2019-02-17 22_31_14-Administrator_ Command Prompt - IntuneWinAppUtil.exe  -c _C__Users_paul.winstanl.jpg

2019-02-17 22_31_24-Administrator_ Command Prompt.jpg

Once complete I have my .intunewin file ready for consumption.

win32app-001.JPG

Open up the Azure Portal and navigate to Intune>Client Apps>Apps and click Add.

2019-02-17 22_38_46-.jpg

From the list of App types, select Windows app (Win32).

2019-02-17 22_41_38-.jpg

Next, click Select file from the App package file section.

2019-02-17 22_43_29-.jpg

Click the browse icon and upload the .intunewin file. Click OK to confirm.

2019-02-17 22_44_35-.jpg

Click Configure in the App package file section.

2019-02-17 22_46_26-.jpg

Enter the relevant app information.

2019-02-17 22_48_20-.jpg

You can even upload a snazzy logo for the app for display in the company portal.

2019-02-17 22_50_09-.jpg

Now click Configure in the Program section.

2019-02-17 22_51_05-.jpg

Make any necessary adjustments to the Install/Uninstall commands.

2019-02-17 22_51_58-.jpg

Next click Configure in the Requirements section.

2019-02-17 22_52_47-.jpg

Set any requirements that devices must meet to install the app. Operating system architecture and minimum O/S are required here.

2019-02-17 22_53_49-.jpg

Click Configure in the Detection rules section.

2019-02-17 22_55_00-.jpg

In my example, I am checking for the MSI product code, but you can also do registry and file checks on the target device.

2019-02-17 22_56_47-.jpg

You can also configure optional Return codes and Scope Tags but at this point you are able to click the Add button to create the Win32app.

2019-02-17 22_58_24-.jpg

The application will be uploaded to Intune. You will have to wait for the app to be ready in the meantime.

2019-02-17 23_01_22-.jpg

With the application uploaded and ready, create an assignment to deploy out to the intended target devices. You can decide whether to show toast notifications for the application install or not.

2019-02-17 23_11_33-.jpg

You can use cmtrace to check the IntuneManagementExtension.log in C:\ProgramData\Microsoft\IntuneManagementExtension\Logs to keep track of the app install progress.

2019-02-17 23_35_23-.jpg

and you will get the relevant toast notifications, if you have enabled them.

2019-02-17 23_37_43-.jpg

2019-02-17 23_39_14-.jpg

Hopefully, by the end of the install attempt, you will have your Win32app ready for use.

2019-02-17 23_39_36-.jpg

win32app-002.JPG

Look out for more in the Keep it Simple with Intune series soon.

 

19 comments

Leave a Reply

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

WordPress.com Logo

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

Facebook photo

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

Connecting to %s