Windows-first static installer analysis for endpoint / CPE teams
Project description
<<<<<<< Updated upstream
installer-intel
=======
pkgprobe 🔍
Stashed changes
pkgprobe is a Windows-first CLI tool that statically analyzes EXE and MSI installers and produces a machine-readable install plan for endpoint management and packaging workflows.
Think: package intelligence for Intune, SCCM, Jamf, RMM, and Client Platform Engineering teams.
<<<<<<< Updated upstream Available on PyPI: https://pypi.org/project/installer-intel/
Available on PyPI.
Stashed changes
<<<<<<< Updated upstream
Why installer-intel exists
=======
✨ Why pkgprobe exists
Stashed changes
Packaging software on Windows is still more art than science:
- Silent install flags are undocumented or inconsistent
- Installer technologies vary widely (Inno, NSIS, InstallShield, Burn, etc.)
- Detection rules are often copied, guessed, or discovered via trial-and-error
- Testing installers directly is slow and risky on production machines
<<<<<<< Updated upstream installer-intel focuses on the analysis phase first.
pkgprobe focuses on the analysis phase first:
Stashed changes
Understand what an installer is likely to do — before you ever run it.
What it does (v0.1)
<<<<<<< Updated upstream
Given an .msi or .exe, installer-intel outputs a structured
install plan suitable for automation and review.
Given an .msi or .exe, pkgprobe outputs a structured
install plan containing:
Stashed changes
Installer intelligence
- Detects installer type (MSI, Inno Setup, NSIS, InstallShield, Burn, Squirrel, etc.)
- Confidence-scored classification with supporting evidence
Command inference
- Probable silent install commands, ranked by confidence
- Probable uninstall commands
- Evidence explaining why each command was suggested
Detection guidance
- MSI ProductCode–based detection (when available)
- Follow-up guidance for improving detection accuracy
- Designed to integrate cleanly into Intune / SCCM detection logic
Automation-friendly output
- JSON output suitable for pipelines and tooling
- Human-readable CLI summary for engineers
Safety-first by design
This version performs static analysis only.
No installers are executed.
Example
<<<<<<< Updated upstream
installer-intel analyze .\setup.exe --out installplan.json
=======
``` powershell
pkgprobe analyze .\setup.exe --out installplan.json
>>>>>>> Stashed changes
CLI summary:
Type: Inno Setup (confidence 0.92)
Install candidates:
setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- (0.88)
setup.exe /SILENT /SUPPRESSMSGBOXES /NORESTART /SP- (0.62)
Uninstall candidates:
unins000.exe /VERYSILENT (0.55)
Generated installplan.json (excerpt):
{
"installer_type": "Inno Setup",
"confidence": 0.92,
"install_candidates": [
{
"command": "setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-",
"confidence": 0.88
}
]
}
Installation
From PyPI (recommended)
<<<<<<< Updated upstream
pip install installer-intel
installer-intel --version
installer-intel analyze .\setup.exe --out installplan.json
=======
``` powershell
pip install pkgprobe
pkgprobe --version
pkgprobe analyze .\setup.exe --out installplan.json
>>>>>>> Stashed changes
From source (development)
This project uses uv for fast, reproducible Python environments.
pip install uv
git clone https://github.com/Zeph3r/pkgprobe.git
cd pkgprobe
uv venv
uv sync
uv run pkgprobe --help
Use --quiet / -q to suppress the banner when scripting (CI, pipelines, etc.).
Supported inputs
| File type | Status | Notes |
|---|---|---|
| MSI | ✅ | Metadata parsed via Windows Installer APIs |
| EXE | ✅ | Heuristic detection via string & signature analysis |
| MSIX / AppX | 🔍 | Detection hints only (wrapper detection) |
How detection works
pkgprobe combines:
- Static string extraction (ASCII + UTF-16LE)
- Known installer signature patterns
- Heuristic confidence scoring
- Evidence tracking (matched strings, metadata clues)
This keeps analysis fast, safe, and explainable.
Current limitations
- Windows-first (intentional — this targets Windows endpoints)
- EXE analysis is heuristic-based (not guaranteed)
- No execution or sandbox tracing in v0.1
- Detection accuracy improves significantly with runtime tracing (planned)
Roadmap
v0.2.0 (next)
<<<<<<< Updated upstream
-
MSI parsing via Windows Installer COM (ProductCode, UpgradeCode, Version)
-
install4j / Java-based installer detection
-
Partial-read scanning for very large EXEs
-
ProcMon-backed trace mode to summarize filesystem, registry, service, and persistence changes
-
--format yaml -
--summary-only -
Optional sandboxed execution mode (opt-in) ======= CLI UX
-
JSON to stdout – Support
pkgprobe analyze <file> --format json(or-o -) so scripts can consume JSON only from stdout without writing a file. -
--summary-only – Option to print only the human summary (no JSON file, no "Wrote: ..."); useful for quick terminal checks.
-
Exit codes – Document and standardize exit codes (e.g. 0 = success, 1 = usage, 2 = file/analysis error) for scripting.
-
Subcommand examples – Add a one-line example in
pkgprobe analyze --helpso first-time users see usage immediately.
Output & format
- --format yaml – Optional YAML output for install plan (alongside JSON).
Later (v0.3.0+)
- install4j / Java-based installer detection
- Partial-read scanning for very large EXEs
- ProcMon-backed trace mode
- Optional trace-install mode (opt-in, sandboxed)
Stashed changes
Who this is for
- Client Platform Engineers
- Endpoint / EUC Engineers
- Intune / SCCM / Jamf admins
- Security teams validating installer behavior
- Anyone tired of guessing silent install flags
Philosophy
installer-intel is intentionally conservative.
It prefers:
- Explainability over magic
- Confidence scoring over certainty
- Safety over speed
<<<<<<< Updated upstream If it can’t be confident, it tells you why.
pkgprobe is intentionally conservative.
Stashed changes
That’s how real platform tooling should behave.
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkgprobe-0.1.2.tar.gz.
File metadata
- Download URL: pkgprobe-0.1.2.tar.gz
- Upload date:
- Size: 6.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ecd93eb12652541333e062688ac9da91df889aef3408d6392fc0959449bc2eaf
|
|
| MD5 |
ec54a19b3aaa93c54f250b4711082ec4
|
|
| BLAKE2b-256 |
9f5630b18487d00c82749675fa1363de51d6d7581c4830e285c84cdb8aa50db7
|
Provenance
The following attestation bundles were made for pkgprobe-0.1.2.tar.gz:
Publisher:
publish.yml on Zeph3r/pkgprobe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkgprobe-0.1.2.tar.gz -
Subject digest:
ecd93eb12652541333e062688ac9da91df889aef3408d6392fc0959449bc2eaf - Sigstore transparency entry: 985768727
- Sigstore integration time:
-
Permalink:
Zeph3r/pkgprobe@20a3fdc3042b30300c3dd79fbafa4b9840192be9 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/Zeph3r
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@20a3fdc3042b30300c3dd79fbafa4b9840192be9 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pkgprobe-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pkgprobe-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac38d98f0d77cb27f178513cffa45f4eba9f1b1fccbb36e0945cbcbc6da00c78
|
|
| MD5 |
580eb0248d43bfd5845af5a439f51b82
|
|
| BLAKE2b-256 |
1fc19e1050f4b2d1286325e5d442e4bcb4bb15a89f4e43fe802e4a710e53aaa9
|
Provenance
The following attestation bundles were made for pkgprobe-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on Zeph3r/pkgprobe
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkgprobe-0.1.2-py3-none-any.whl -
Subject digest:
ac38d98f0d77cb27f178513cffa45f4eba9f1b1fccbb36e0945cbcbc6da00c78 - Sigstore transparency entry: 985768806
- Sigstore integration time:
-
Permalink:
Zeph3r/pkgprobe@20a3fdc3042b30300c3dd79fbafa4b9840192be9 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/Zeph3r
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@20a3fdc3042b30300c3dd79fbafa4b9840192be9 -
Trigger Event:
push
-
Statement type: