mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-16 11:39:57 +00:00
The MSI (netbird.wxs) and NSIS (installer.nsis) installers each wrote a machine-wide HKLM\...\Run entry for netbird-ui.exe, enabled by default. The UI's "Launch NetBird UI at Login" setting only manages the per-user HKCU\...\Run entry (via Wails), so it could never clear the installer's HKLM entry -- the tray app kept launching at login even with the toggle off. Drop the installer-managed autostart so the UI toggle (HKCU) is the single source of truth: - netbird.wxs: remove the AUTOSTART property and the NetbirdAutoStart component/ref. - installer.nsis: remove the "Startup Options" page, its checkbox state, and the HKLM write. Install now only clears the legacy HKLM entry (leaving HKCU intact so the user's toggle survives upgrades); uninstall clears both, including the Wails-written "netbird" value.