IntuneWinContextPrep

Right-click an installer in Windows Explorer and package it as an .intunewin, with the detection rule, install and uninstall commands and OS architecture written to a file next to it, ready for the Intune portal.

Install instructions and full documentation on GitHub: https://github.com/imabdk/intunewin-contextprep

The problem

Most organizations run a third-party patch management solution for the apps that update regularly – browsers, readers, runtimes – and packaging those manually every release genuinely
isn’t worth it.

But that doesn’t cover everything. In-house apps aren’t in any patch management catalog and never will be. Smaller shops without the budget for one still have to package every app themselves. And even with a mature setup, there’s always the one-off: Testing a new version before it goes out broadly, troubleshooting a failed install, or packaging something quickly for a pilot group.

For all of that, opening a console and pointing IntuneWinAppUtil.exe at the source folder, the setup file and an output folder every time is the tedious part – typing out -c, -s and -o, or answering the same three prompts interactively. This turns that into a right-click.

What it does

  • Right-click an .exe, .msi, .msp, .ps1, .cmd, .bat file or a folder
  • Confirms what is about to be packaged before anything happens
  • Writes the finished package plus a .json file with the publisher, install and uninstall commands, detection rule and architecture
  • Identifies the installer technology behind an .exe and reports its silent switches

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.