Windows Installer and First Release
(No details in this section)
Scope
This guide covers how to produce the first public Windows installer for LUPA Desktop (lupa-desktop-tauri), test it locally, and validate basic release readiness.
Prerequisites
- Windows 10/11
- Rust stable toolchain (
rustup default stable) - MSVC build tools (Visual Studio Build Tools / C++ workload)
- WebView2 Runtime available on target machines
Build Installer
From repo root:
cargo tauri build -p lupa-desktop-tauri
Expected output:
- NSIS installer (
.exe):target_local/release/bundle/nsis/ - MSI installer (
.msi):target_local/release/bundle/msi/
Installer Configuration
Current config is defined in:
crates/desktop-tauri/tauri.conf.json
Key points:
- Bundle is enabled (
"bundle.active": true) - Targets: NSIS + MSI
- App icon:
crates/desktop-tauri/icons/main-icon.ico
Local Validation Checklist
- Install from NSIS
.exe. - Launch app from Start Menu/Desktop shortcut.
- Verify first-run onboarding:
- language selection works
- MIT terms must be accepted
- optional local AI setup button responds
- Verify icon appears correctly in:
- installer
- Start Menu
- taskbar
- Run smoke flow:
- select index path
- run
Build Index - run a search
- open file / open folder actions
- Uninstall and confirm clean uninstall behavior.
Publishing Notes
- Keep
LICENSE(MIT) in repo root. - Tag release with version aligned to
crates/desktop-tauri/tauri.conf.json. - Attach both installer artifacts to GitHub Release if you want users to choose (
.exeor.msi).