build(windows): modern NSIS installer, drop the MSI - #267
Merged
Conversation
Windows shipped both an MSI (WiX) and an NSIS installer, so users had to choose between two downloads, and the MSI's multi-step, admin-gated wizard felt dated. Ship a single per-user NSIS installer instead: - targets: explicit list without "msi" (NSIS only on Windows) - windows.nsis: installMode "currentUser" (no admin prompt), language selector off, single English flow - webviewInstallMode: downloadBootstrapper (explicit) - release.yml + docs: drop the MSI artifact/paths, note the no-admin install SmartScreen still warns until the installer is code-signed — that stays a separate, paid decision and is already documented in INSTALL.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On Windows we shipped two installers — an MSI (WiX) and an NSIS
-setup.exe— so users had to pick, and the MSI's multi-step, admin-gated wizard felt old. This makes the Windows install a single, modern, no-admin flow.What
tauri.conf.json:targetsis now an explicit list withoutmsi→ NSIS only on Windows (macOS/Linux artifacts unchanged: app/dmg, deb/appimage).windows.nsis:installMode: "currentUser"(no UAC prompt), language selector off, single English flow.webviewInstallMode: downloadBootstrappermade explicit.release.yml+README.md+INSTALL.md: drop MSI artifact/paths; document the per-user, no-admin install.Note
SmartScreen's "unknown publisher" warning is unaffected — it only clears with code signing, which is a separate (paid) decision already documented honestly in
INSTALL.md.Verification
Config is schema-valid for Tauri 2.9.5. The real Windows bundle is produced by the release workflow on a Windows runner (can't cross-build the NSIS/MSI bundle from macOS here) — first Windows release will show a single
-setup.exe.🤖 Generated with Claude Code