Deploying a win32 application to Windows Devices through InTune


exe files and other executables need to be packaged first and cannot be directly deployed through InTune, Microsoft provides a Content Prep Tool for these types of applications.


Packaging the EXE file with the Win32 Content Prep Tool

Description

  1. Download the Win32 Content Prep Tool GitHub - microsoft/Microsoft-Win32-Content-Prep-Tool: A tool to wrap Win32 App and then it can be uploaded to Intune
  2. Open a command prompt as admin and cd to the location of the tool.
  3. Create a source folder and an output folder somewhere, and place the .exe into the source folder.
  4. Use the following command as an example of the usage of the tool, you need to specify the following
    1. Source folder path
    2. Exe file name
    3. Output folder path
  5. The process will package the exe and a new file should appear in the output folder with an .INTUNEWIN file extension  
Example command:
IntuneWinAppUtil.exe -c "C:\Users\gackluke\Downloads\Microsoft-Win32-Content-Prep-Tool-1.8.4\source" -s "remotehelpinstaller_cc07c209876aa0f6db2a5bf162440acd49f428dc.exe" -o "C:\Users\gackluke\Downloads\Microsoft-Win32-Content-Prep-Tool-1.8.4\output"



Deploying the packaged intunewin application

You can then deploy the .intunewin file to Intune as a win32 app, you will need to provide the install and uninstall commands which will be similar to below (dependant on the app)

  1. In InTune create a new Win32 app and upload the exported .intunewin file
  2. Set the instal and uninstall commands similar to below:
        Install command: remotehelpinstaller.exe /quiet acceptTerms=1
        Uninstall command: remotehelpinstaller.exe /uninstall /quiet acceptTerms=1
  3. You will then also need to configure a detection rule so the intune agent knows whether the app installed successfully, you can use a file detection rule to locate a file the app installs.

Was this helpful?

Yes No


Comments