How to Use Microsoft Win32 Content Prep Tool

This article will show you how to create Windows Apps (.intunewin) for Intune. The Prep Tool is available to download here.

https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool

Use the Microsoft Win32 Content Prep Tool to pre-process Windows Classic apps. The packaging tool converts application installation files into the .intunewin format. The packaging tool also detects the parameters required by Intune to determine the application installation state. After you use this tool on your apps, you will be able to upload and assign the apps in the Microsoft Intune console.

Prerequisites

.NET Framework 4.7.2

Before you install and the use Microsoft Win32 Content Prep Tool you must:

Sample commands to use for the Microsoft Win32 Content Prep Tool:

  • IntuneWinAppUtil -v
    • This will show the tool version (Only available starting version 1.8.2).
  • IntuneWinAppUtil -h
    • This will show usage information for the tool.
  • IntuneWinAppUtil -c <setup_folder> -s <source_setup_file> -o <output_folder> <-q>
    • This will generate the .intunewin file from the specified source folder and setup file.
    • For MSI setup file, this tool will retrieve required information for Intune.
    • If -a is specified, all catalog files in that folder will be bundled into the .intunewin file.
    • If -q is specified, it will be in quiet mode. If the output file already exists, it will be overwritten.
    • Also if the output folder does not exist, it will be created automatically.
  • IntuneWinAppUtil
    • If no parameter is specified, this tool will guide you to input the required parameters step by step.

Command-line parameters available

  • -h Help
  • -v Tool version (Only available starting version 1.8.2).
  • -c <setup_folder> Setup folder for all setup files. All files in this folder will be compressed into .intunewin file.
    • Only the setup files for this app should be in this folder.
  • -s <setup_file> Setup file (e.g. setup.exe or setup.msi).
  • -o <output_file> Output folder for the generated .intunewin file.
  • -a <catalog_folder> Catalog folder for all catalog files. All files in this folder will be treated as catalog file for Win10 S mode.

Note: The generated .intunewin file contains all compressed and encrypted source setup files and the encryption information to decrypt it. Please keep it in the safe place as your source setup files.

Ref: https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool