Flowntier v0.4.6 — kill_flowntier.cmd helper (NSIS hook fix didn't work)
Honest changelog
My v0.4.5 fix for the NSIS install conflict did not work. I added an installer.nsi with a customOnInit hook — it was included in the generated NSIS source (line 28: !include ...) but the contents were never inlined into the compiled binary. Tauri 2.x's NSIS preprocessor silently drops the include. I verified with grep -c 'FindProcess|customOnInit' target/release/nsis/x64/installer.nsi which returns 0.
v0.4.6 is the honest fix:
- Removed the dead
installer.nsifile and theinstallerHooksconfig key (which doesn't exist in Tauri 2.x — I made it up based on stale docs). - Added
scripts/kill_flowntier.cmd— a small Windows CMD script that usestasklist/taskkillto terminate any running Flowntier instance. Run this before re-installing. - Bumped version to 0.4.6 so the NSIS installer filename reads
Flowntier_0.4.6_x64-setup.exe.
Workaround for the install conflict
Before running the v0.4.6 installer (or any v0.4.x):
:: Right-click the script and 'Run as administrator' if needed
scripts\kill_flowntier.cmd
:: Then run Flowntier_0.4.6_x64-setup.exeThe script:
- Checks if
flowntier.exeis running viatasklist - If yes, calls
taskkill /F /IM flowntier.exe - Waits 1 second for the OS to release file handles
- Prints confirmation and pauses
Real fix deferred to v0.5
The proper long-term fix is either:
- Tauri's NSIS template to expose a real installer-hook API (file a Tauri issue if not already), OR
- Switch to a WiX bundle (WiX has richer pre-install hooks but requires the WiX toolchain)
Both are tracked for v0.5. Until then, the helper script is the honest workaround.