One of the most frequently asked questions from customers is whether it is possible to publish Win32 applications with Microsoft Intune. The answer is Yes. It is possible to deploy Windows 10 Store Apps, MSI files and even .EXE files. Although .EXE files cannot be published directly. You need to “wrap” the .EXE file (and other required source files if applicable) to an .INTUNEWIN file.
In this blog I will show you step-by-step how to do this. In the following example I will publish the FileZilla FTP client with Microsoft Intune.
There are some requirements for publishing Win32 applications to a client. Be aware that you must meet the following criteria;
Custom installation script
When adding a Win32 application within Microsoft Intune you need to fill in the install command. For example, this can be the .EXE with the “/S” parameter for the silent installation.
However, if customizations are needed during or after the installation (for example config files needs to be copied or registry settings needs to be applied) you can do this by using a PowerShell (or other) script. Make sure that in that case you need to put the script within the source folder before running the Intune Content Prep tool (described it step 2 of this blog).
In this blog
In this blog I will cover the following topics;
Before we can create and publish a Win32 application (.EXE file) with Microsoft Intune we need to do some preparations as described in the following steps;
On a Windows 10 device I have created 3 folders;
This is just the way I do this, you can create your own folder structure with your own names, just what best works for you.
Secondly we need to download the Microsoft Win32 Content Prep tool, go to this GitHub page to do so.
Extract the downloaded zip file and copy the IntuneWinAppUtil.exe file into the c:\IntuneWinAppUtil folder (or your own named folder).
In a later step, when we publish the application within Microsoft Intune. We need the have the following information present;
As sad before, with Microsoft Intune you cannot publish .exe files directly. We first need to “wrap” all the source files that are needed for the installation into a .Intunewin file. To do this, follow the next steps;
Open a CMD or a PowerShell prompt and navigate to the folder you copied the Intune Win32 Content prep tool in. In my case this is c:\IntuneWinAppUtil.
Run the IntuneWinAppUtil.exe command and fill in the following information;
Source folder : c:\FileZilla
Setup file : The FileZilla setup file (even if using a installation script)
Output folder : In my case this will be the c:\IntuneApps folder
In a few second the .intunewin file is created.
Now it’s time to publish the Win32 application within Microsoft Intune. For the following steps login to the Microsoft Azure Portal.
Navigate to: Microsoft Intune > Client apps > Apps and click the + Add button
Select Windows app (Win32) as App type
Open the App package file blade and browse for the just created .intunewin file.
Open the App information page and fill in the application information like Name, Description, Publisher and Category.
Scroll down and click Logo. Browse for the logo file and click Ok twice.
Open the Program blade and fill in the Install and Uninstall command. Click Ok.
Open the Requirements blade and apply fill in the requirements of the application. Click Ok.
Open the Detection rules blade and select Manually configure detection rules.
You can select MSI, File, or Registry to check if the application is successfully installed. In this case I will do it via a File check.
Fill in the path and the correct .exe file name. In this case the correct path to filezilla.exe. Click OK
Open the Return codes blade. Here you can customize the return codes for the logging. Click OK for now.
The application will now be uploaded to Microsoft Intune. Depending on the size of the application this can take a few minutes.
After the application is uploaded click Assignment and publish the application on the group you want. In this case I have published this application as an Available application.
On a Windows 10 devices that is joined with Azure AD and is managed with Microsoft Intune I will test the results.
Open the Company Portal app.
Search for the just published Win32 application. In my case the FileZilla application. Click Install.
After a few seconds the application package will start downloading.
And a few moments later the application is installed successfully.
The application is visible in the users start menu.
Also, the application can start successfully.
The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.