Skip to main content

Automates the entire workflow for packaging Windows applications and deploying them to Microsoft Intune

Project description

NAPT - Not a Pkg Tool

Automated Windows application packaging and deployment to Microsoft Intune using PSAppDeployToolkit

License Python 3.11+ Code style: black

Overview

NAPT is a Python-based CLI tool that automates the entire workflow for packaging Windows applications and deploying them to Microsoft Intune. It runs on Windows, Linux, and macOS, though packaging (.intunewin creation) requires Windows.

📚 Full Documentation | Quick Start | User Guide | Developer Reference

Why NAPT?

Packaging applications for Microsoft Intune with PSAppDeployToolkit (PSADT) typically involves a manual, time-consuming process:

  1. Manually check for new versions - Check vendor sites/APIs for updates. Easy to miss versions or waste time when nothing changed.

  2. Create PSADT deployment - Copy template, manually edit Invoke-AppDeployToolkit.ps1 with variables, configure install/uninstall logic. Error-prone and repetitive.

  3. Create detection and requirements scripts - Write PowerShell detection and requirements logic, test thoroughly, maintain version checks. Must update for each new version.

  4. Package as .intunewin - Run IntuneWinAppUtil.exe manually, manage paths, handle errors. Tedious and error-prone.

  5. Upload to Intune - Upload package via portal, fill metadata, configure app info and requirements manually.

  6. Configure deployment - Set up rollout assignments manually for each version.

This manual workflow is repetitive, difficult to automate in CI/CD pipelines, lacks version tracking, and requires re-doing most of the work for every update. NAPT automates this entire workflow with YAML-based recipes and automatic version tracking.

Key Features

  • Automatic version tracking - Automatic discovery from MSI, EXE, URLs, or APIs with caching to skip unnecessary downloads
  • YAML-based recipes - Define app packaging once with layered configuration (Organization → Vendor → Recipe)
  • Automated PSADT packaging - Generate Intune-ready packages with detection and requirements scripts, no manual template editing
  • Cross-platform workflow - Run on Windows, Linux, and macOS (packaging requires Windows)
  • Direct Intune upload - Upload to Microsoft Intune via the Graph API, no portal required

Cross-Platform Support

Feature Windows Linux/macOS
Discovery & Download
PSADT Package Building
Intune Packaging ⚫ Windows Only
Intune Upload

See the Cross-Platform Support section for platform-specific workflows.

Getting Started

See the Quick Start Guide for installation and setup.

Creating Recipes

Recipes are YAML configuration files that define how to discover, download, and package applications.

Example recipes:

  • chrome.yaml - url_download strategy with MSI version extraction
  • git.yaml - api_github strategy for GitHub Releases
  • 7zip-x64-msi.yaml - web_scrape strategy for vendor download pages

NAPT supports multiple discovery strategies (url_download, web_scrape, api_github, api_json) - see the Discovery Strategies guide for detailed configuration and more examples.

Contributing

Ideas and feedback are welcome! See Contributing for guidelines.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Author

Roger Cibrian

Acknowledgments

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

napt-0.4.0.tar.gz (102.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

napt-0.4.0-py3-none-any.whl (135.1 kB view details)

Uploaded Python 3

File details

Details for the file napt-0.4.0.tar.gz.

File metadata

  • Download URL: napt-0.4.0.tar.gz
  • Upload date:
  • Size: 102.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napt-0.4.0.tar.gz
Algorithm Hash digest
SHA256 add9f94fba27b4e29c55ba4a5c848466f70a39e070c17fbcbc44899988e43f2f
MD5 6d39b6425652ed6ae42c4555b0ce4973
BLAKE2b-256 d18a6127910f54856767ecb7852babc5727edb3789a5eeb5a86710e085ea5abb

See more details on using hashes here.

Provenance

The following attestation bundles were made for napt-0.4.0.tar.gz:

Publisher: publish.yml on RogerCibrian/notapkgtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file napt-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: napt-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 135.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for napt-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a95dc64fd574bc48edd3d26f462c2084b72878806306129a508aa342fe392aa
MD5 ad01190266b5f7558a261ccf1e8a8d20
BLAKE2b-256 c08c1d26c90e3ebfac47d953266861233118fa001d642aae955f0fc5e76c9187

See more details on using hashes here.

Provenance

The following attestation bundles were made for napt-0.4.0-py3-none-any.whl:

Publisher: publish.yml on RogerCibrian/notapkgtool

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page