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, including MSI, EXE, Winget, and Scheduled tasks.

License

rink-turksma/IntunePrepTool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update: 03/03/2024

Created by Rink Turksma with Sapien Powershell Studio.

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

Please use Issues in Github or email for assistence: rinkob@gmail.com

image

  • Easy to configure from sources like EXE, MSI, Winget, Powershell as Scheduled Task and Weblinks for creating (un)installation files. Package to Intunewin. upload to Intune directly. With detection method in place.
  • Create winget update remediation policy.
  • Download option to download source files from Winget.
  • Automatically created install.ps1 and uninstall.ps1 witch you can test and edit in Powershell_ISE with one click.
  • All generated PowerShell scripts used in Intunewin files will write transcripts logs to specified location. And also show a Informational or Error in the event viewer IntunePrepTool (Application and services) log.
  • Log file also located: "C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\IntunePrepTool.evtx"; This so you can 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 update

When using existing: "C:\Program Files\IntunePrepTool\config_customerinfo.csv"

Please add "downloadpath" to your CSV file.

image

Please use Winget to install the latest version: (Run as Admin)

winget upgrade rink-turksma.IntunePrepTool

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

How to install:

Verify Local Winget Installation:

Before using the local Winget options in the GUI, ensure Winget is functional.

Open PowerShell as an Administrator and run a test command like

winget list vlc

Agree to the terms if prompted. (This step is unnecessary for packages.)

If this is not working for you please install winget from here: (Also needed on the target machine when using the package winget to Intunewin option)

https://github.com/microsoft/winget-cli/releases

Also available in the Windows Store:

https://apps.microsoft.com/detail/9NBLGGH4NNS1

Set your PowerShell execution policy to unrestricted using the command:

Set-ExecutionPolicy Unrestricted

Please use Winget to install the latest version: (Run as Admin)

winget install rink-turksma.IntunePrepTool

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

Unblock Files (Powershell as Admin):

unblock-file "C:\Program Files\IntunePrepTool\IntunePrepTool.exe"
unblock-file "C:\Program Files\IntunePrepTool\IntuneWinAppUtil.exe"

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:\Program Files\IntunePrepTool\config_customerinfo.csv"

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.

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

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, including MSI, EXE, Winget, and Scheduled tasks.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published