text2audiobook-setup-v0.1.0.exe is built from text2audiobook.iss via Inno Setup.
-
Inno Setup 6.x on the build machine: https://jrsoftware.org/isdl.php Free, MIT-licensed, ~3 MB. Provides
iscc.exe(the compiler). -
The repo at a clean state —
installer/output/is gitignored but rebuild from a fresh clone if shipping a release.
cd installer
iscc text2audiobook.issOr with the full path to iscc:
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" text2audiobook.issOutput: installer\output\text2audiobook-setup-v0.1.0.exe (~2-5 MB; the repo is the only payload).
On a clean Windows user profile (or VM) with Miniconda already installed:
- Run the
.exe. Wizard completes without UAC prompt (per-user install). - Conda env prompt: if
text2audiobookenv isn't present, accept the dialog. 5-10 min to create. - Add/Remove Programs: lists "Text2AudioBook 0.1.0".
- Start menu:
Text2AudioBookshortcut → GUI window opens (no console flash). - CLI: open a NEW PowerShell or cmd, run
text2audiobook list-providers→ 3 lines (OpenAI, Ollama, Kokoro). - No-args help:
text2audiobookandtext2audiobook ?both print help and exit 0. - Uninstall via Add/Remove Programs → install dir gone, USER PATH stripped of the install dir, env preserved.
| Path | Source |
|---|---|
{app}\repo\ |
repo root (excluding .git, .conda, output, __pycache__, etc.) |
{app}\text2audiobook.cmd |
generated at install time from text2audiobook.cmd.template |
{app}\launch-gui.cmd |
generated at install time from launch-gui.cmd.template |
{app}\post-install.ps1 |
conda env check + wrapper templating + USER PATH write |
{app}\pre-uninstall.ps1 |
USER PATH cleanup |
First-run users see "Windows protected your PC" (unsigned binary). They click More info → Run anyway. Document this in release notes. v0.2 acquires a code-signing certificate.
Bump #define MyAppVersion "0.1.0" at the top of text2audiobook.iss for each release. The AppId UUID stays the same forever so Add/Remove Programs replaces (not duplicates) prior versions.