Skip to content

IntunePrepTool is a GUI designed for creating Intune packages using the MS Win32 Content Prep Tool. The tool aims to simplify the process of packaging applications for deployment through Intune by automatically generating installation and uninstallation scripts for various types of installers, like MSI, MSIX, EXE, PS1, Winget and Scheduled tasks

License

Notifications You must be signed in to change notification settings

rink-turksma/IntunePrepTool

Repository files navigation

Update: 19/10/2024

Created by Rink Turksma with Sapien Powershell Studio.

GitHub Downloads (all assets, all releases) GitHub Downloads (all assets, latest release)

For release notes and latest MSI installers see: https://github.com/rink-turksma/IntunePrepTool/releases

Please use Issues in Github or email for assistence: [email protected]

Simple example on Youtube

IntunePrepTool Youtube

image

  • Easily configure sources such as EXE, MSI, MSIX, Winget, PowerShell, Scheduled Tasks and weblinks to create installation and uninstallation files. Package them into Intunewin files and upload directly to Intune, with detection methods in place.
  • Use Azure OpenAI GPT-4 to look for install parameters when creating packages from EXE files.
  • Create winget update remediation policy.
  • Download option to download source files from Winget.
  • Automatically creates install.ps1 and uninstall.ps1, which you can test and edit in PowerShell ISE with one click.
  • All generated PowerShell scripts used in Intunewin files will write transcript logs to a specified location and also show an informational or error message in the Event Viewer under the IntunePrepTool (Application and Services) log.
  • The log file is also located at "C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntunePrepTool.evtx"; this allows you to use the 'Collect Diagnostics' option from the Intune Admin Portal for Windows clients and download the logs of the packages.
  • Button to create Intunewin file, and print detection method in the app. (Which also writes a config.csv file to the package directory.)
  • After you select create Intunewin. You will get the option to select a PNG file.
  • Then you can use the option for uploading directly to Intune (Uses PowerShell modules MSAL.PS from Jason Thompson and IntuneWin32App from Nickolaj Andersen) (Update 21/05/2023: Version 1.0.3.3 or later needed)

How to install:

Download latest MSI. (https://github.com/rink-turksma/IntunePrepTool/releases)

Unblock MSI file:

image

Run MSI file.

How to use

Launch IntunePrepTool:

Run IntunePrepTool as an Administrator.

Screenshots with instructions below.

Select Customer / Tenant:

  1. Add your customer / tenant here.
  2. Always select a customer before creating a package.
  3. This information is stored in: "C:\Users\$ENV:username\.IntunePrepTool\config_customerinfo.csv"

image

Add App registration EntraID for Upload function

image

image

image

image

image

image

image

Download sources from Winget.

  1. This option is used for downloading installers from the Winget repository. (MSI, MSIX or EXE sources)
  2. When using this download option. Files are stored in the specified location in Config panel. (or "C:\Program Files\IntunePrepTool\config_customerinfo.csv" as Downloadpath)

image

Create Intunewin package options

image

Tools options.

image

Create Intunewin file from an MSI file.

image

image

image

image

image

image

image

image

Upload function to upload Intunewin packages created by IntunePrepTool to Microsoft Intune

  1. After creating Intunewin package with IntunePrepTool a config.csv is written to the output folder of your package. Load the config.csv here to upload your package to MS Intune.
  2. Please check instructions in the release notes https://github.com/rink-turksma/IntunePrepTool/releases/tag/IntunePrepTool-1.3.0.0 image

How to find Uninstall strings using option in the tools menu.

  1. Search registry for installed application to find the Uninstall string.

image

Create Intunewin file from an EXE source.

image

image

image

image

image

image

How to use Tools menu to find WingetID's, Show more information for this ID, And show possible versions.

image

image

How to create a scheduled task Intunewin package

  1. Add Powershell code to run weekly or at startup as a scheduled task.

image

image

image

image

image

image

image

image

Create Winget Intunewin packages.

  1. Please note. Winget is needed on the target machine for this option. (Windows 10 and 11)
  2. Download the latest stable MSIX from this source: https://github.com/microsoft/winget-cli/releases
  3. Fix installation of the MSIX in a Win32 app when you want to use the 'Required' assignment option in Intune. This so you can use the Dependency option for your Winget apps.
  4. See this first for finding WingetID's. https://github.com/rink-turksma/IntunePrepTool/tree/main#how-to-use-tools-menu-to-find-wingetids-show-more-information-for-this-id-and-show-possible-versions

image

image

image

image

Location IntunePrepTool logs in Event viewer.

image

Adding Azure OpenAI gpt-4o model to IntunePrepTool

image

image

image

image

image

image

image

image

image

image

image

image

About

IntunePrepTool is a GUI designed for creating Intune packages using the MS Win32 Content Prep Tool. The tool aims to simplify the process of packaging applications for deployment through Intune by automatically generating installation and uninstallation scripts for various types of installers, like MSI, MSIX, EXE, PS1, Winget and Scheduled tasks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published