What's Changed
Stabilizes the Windows installer after the currentUser → both install mode transition, fixing upgrade failures, duplicate entries, and registry path mismatches.
🛠 Improvements
- Publisher metadata — Added
bundle.publisher("AnInsomniacy") andbundle.copyrightfor proper attribution in Windows "Apps & Features" and macOS Info.plist - Installer mode upgraded to
both— Supports both per-user and per-machine installs with user choice during setup - NSIS hooks hardened — Added
DetailPrintlogging for install-time observability, dynamic$PROGRAMFILES64path detection, and named-label branching for maintainability - AGENTS.md updated — Documented Windows installer hooks architecture and added
CAUTIONrule preventing futurebundle.publisher/productNamechanges
🐛 Bug Fixes
- Fixed "NSIS Error: Error launching installer" during upgrade (#159) — Changing
bundle.publishershifted the internalMANUPRODUCTKEYregistry path; added aMUI_CUSTOMFUNCTION_GUIINITbridge to copy legacy data before installer pages load - Fixed duplicate "Apps & Features" entries — Migration hook now deletes the stale HKCU uninstall registry entry from the old
currentUserinstall mode - Fixed file split between AppData and Program Files — Re-syncs
$OUTDIRafter$INSTDIRoverride to ensure all files extract to the correct location - Cleaned up orphaned registry keys — Removes old
Software\motrix\MotrixNextentries and Program Files residuals from prior installs
📦 Downloads
| Platform | Architecture | File |
|---|---|---|
| macOS | Apple Silicon · Intel | .dmg
|
| Windows | x64 · ARM64 | -setup.exe
|
| Linux | x64 · ARM64 | .AppImage .deb
|