# Package Software for Intune

> Packages any Windows software as an Intune Win32 app: analyzes the installer, checks known CVEs, generates install/uninstall/detection scripts, tests them in Windows Sandbox, then builds the .intunewin and a ready-to-copy Intune configuration sheet.

Package Software for Intune is a paid AI agent skill on Agensi by Dylan Fehlmann, in Business & Operations. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Dylan Fehlmann](https://www.agensi.io/creators/dylan-fehlmann)
- Category: [Business & Operations](https://www.agensi.io/skills/business-operations)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/package-software-for-intune
- Tags: project-management, security, automation, intune, windows, powershell, software-deployment

## What it does

- Analyzes the installer without running it
- Checks the version against known CVEs and suggests a fixed one
- Verifies file hashes and digital signatures before packaging
- Generates install, uninstall and detection scripts
- Tests install and uninstall in Windows Sandbox
- Builds the .intunewin and an Intune configuration sheet

## Who it's for

- **IT managers and system administrators:** Create reliable Windows app packages for Intune without testing them on your own computer. Try: "Package Google Chrome for Intune deployment."
- **Managed Service Providers (MSPs):** Speed up software packaging for clients with automated security checks and sandbox testing. Try: "I need to package a custom EXE for my client's Intune tenant."

## About this skill

### The problem

Packaging software for Microsoft Intune is repetitive and easy to get wrong: the right silent switch, the
right detection rule, the right return codes, a missing runtime, an installer that hangs on a real device.
Mistakes usually show up only after a failed deployment, when you are reading Intune logs.

### How it works

Run the skill with the name of the software. It then:

1. **Gets the installer** (winget download or your file) without installing it on your machine.
2. **Analyzes it** read-only: type (MSI, EXE, MSIX), version, publisher, signature, MSI product code, installer framework and suggested silent options.
3. **Checks known vulnerabilities** for that exact version, shows them, and proposes a newer version only if NVD lists one that fixes them. You decide.
4. **Asks the remaining questions** once, grouped, with a recommended answer for each (detection rule, prerequisites, uninstall, reboot codes, timeout).
5. **Generates the package** from a generic engine. You describe the software in one `package.json`; the engine does the rest.
6. **Tests it in Windows Sandbox** as SYSTEM, the way the Intune agent runs it: detect (absent), install, detect (present), uninstall, detect (absent).
7. **Builds the .intunewin** only if the test passed, then writes an Intune sheet.

### Frameworks & tools

PowerShell 5.1 scripts, the Microsoft Win32 Content Prep Tool (signature-checked), Windows Sandbox, winget,
NVD API 2.0, CISA Known Exploited Vulnerabilities catalog, FIRST EPSS.

### Why this beats prompting it yourself

- The install engine is generic and already tested: it relaunches in 64-bit, logs to C:\ProgramData\Intune\Logs, stops a hung installer by its own process tree only, takes diagnostic snapshots on slow installs, and returns distinct exit codes for each failure.
- A package is tested exactly as it will ship, and the build refuses to run without a passing, up-to-date test.
- Integrity is recorded and enforced: SHA-256 per source file, vendor-hash comparison, signature checks, no unsigned file without explicit confirmation.

### Use cases

- Package a new application for the first time.
- Re-package a new version and compare its CVE status with the previous one.
- Document the supply-chain facts of every package for audits.

### Known limitations

- Windows only. The test needs Windows 10/11 Pro, Enterprise or Education with Windows Sandbox enabled.
- The Sandbox has no domain, no Intune and no corporate antivirus/EDR. A passing test does not guarantee deployment on every device: deploy to a pilot device first.
- Some installers fail in the Sandbox for reasons specific to them; the skill reports the logs but cannot guarantee success.
- "No known CVE" is not a guarantee: the NVD can lag, and matching depends on the software's CPE identifier.
- It does not upload to Intune: you copy the generated sheet and upload the .intunewin yourself.
- Developed and tested with Claude Code. Files for Codex, Gemini CLI and opencode are provided but not yet tested with those tools.

This product uses data from the NVD API but is not endorsed or certified by the NVD.
Not affiliated with, endorsed by, or sponsored by Microsoft. Microsoft Intune is a trademark of Microsoft Corporation.

## Requires

- Windows 10/11 Pro or Enterprise
- Windows Sandbox enabled
- PowerShell 5.1 or later
- Microsoft Intune tenant
- Optional: winget
- Optional: NVD API key

Windows only. Enable "Windows Sandbox" in Windows features and reboot before the first test. Run Setup-Workspace.ps1 once to check prerequisites.

## Technical details

Built as a PowerShell-based packaging pipeline. It uses Analyze-Installer.ps1 for static analysis, Check-Vulnerabilities.ps1 for NIST NVD/CPE lookups, and Test-InSandbox.ps1 for dynamic validation. It requires IntuneWinAppUtil.exe and Windows Sandbox. It maintains state in a package.json file within a structured workspace and outputs .intunewin files alongside Markdown-based documentation.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Package Software for Intune skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### Does it install the software on my PC?

No. The installer is only analyzed read-only; the install test runs inside a disposable Windows Sandbox.

### Does it upload the package to Intune?

No. It produces the .intunewin and a configuration sheet; you upload them yourself.

### Does it send my data anywhere?

Only the product name and version are sent to the public NVD and EPSS APIs, plus winget downloads if you use them. There is no telemetry. An optional NVD API key stays in your local .env file.

### Will a passing test guarantee it works on all my devices?

No. The Sandbox has no domain, no Intune and no corporate antivirus. Always deploy to a pilot device first.

### Which AI assistants does it work with?

Developed and tested with Claude Code. Files for Codex, Gemini CLI and opencode are included but not tested yet.

### Is it affiliated with Microsoft?

No. Microsoft Intune is a trademark of Microsoft Corporation.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
