Releases: rookiemann/auto-portable-python-deployer
v1.0.1 — Fix generated install.bat on fresh installs
Bug Fix
Fixed generated install.bat files failing on fresh installs due to PowerShell multi-line command parsing.
Root cause: The ^ (caret) line continuation characters were placed inside double-quoted strings in both templates/install.bat.template and core/package_generator.py. CMD treats ^ inside quotes as a literal character rather than a line continuation, so it was passed directly to PowerShell which doesn't recognize ^ as a valid token.
This affected all generated packages — any package with tkinter, Git, or FFmpeg support would fail on first run. The deployer's own install.bat was not affected.
Fix: Close the double quotes before each ^ so CMD correctly treats them as line continuations. Packages previously generated with v1.0.0 need to be regenerated.
v1.0.0 — Initial Release
Auto Portable Python Deployer v1.0.0
Self-bootstrapping tool that generates fully portable, zero-install Python deployment packages for Windows.
Features
- Self-bootstrapping — Run
install.baton any Windows machine. Downloads Python, pip, and tkinter from scratch. Nothing pre-installed needed. - Python 3.10–3.14 — Choose any supported version with latest verified patch releases
- GUI + CLI — Full Tkinter GUI for interactive use, complete argparse CLI for scripting and CI pipelines
- Portable Git — Optionally bundles MinGit 2.47.1 for repos that need Git
- Portable FFmpeg — Optionally bundles FFmpeg for audio/video projects
- Tkinter support — Automatically extracts tkinter from the official
tcltk.msi(not included in embeddable distributions) - Template-based generation — Clean
{{VAR}}template system produces readable batch files and config modules - Zero dependencies at bootstrap — Uses only PowerShell and
get-pip.py - Generated packages are self-contained — End users just run
install.batorlauncher.bat, everything downloads and configures automatically
Generated Package Structure
MyProject/
├── install.bat # Downloads Python, pip, tkinter, Git, FFmpeg, then installs requirements
├── launcher.bat # Runs the app (auto-triggers install.bat if needed)
├── config.py # Path resolution: embedded Python > system Python
├── requirements.txt # Project dependencies
└── app.py # Entry point stub
Requirements
- Windows 10/11 (64-bit)
- Internet connection (first run only)
- No admin rights needed