codeburn/windows/src-tauri
iamtoruk 076dc1d960 fix(windows): reinstalling the same version replaces the files
Installing the .msi over an install of the same version left the old files
exactly where they were, which makes `codeburn menubar --force` mean nothing:
the one thing force is for is repairing an install that is already there.

It is a WiX rule, and Tauri does expose it, just not under the name it goes by.
Its main.wxs carries two MajorUpgrade elements and picks between them on
allowDowngrades, which defaults to true. That branch is
`AllowDowngrades="yes"` with no AllowSameVersionUpgrades; the other one is
`DowngradeErrorMessage=... AllowSameVersionUpgrades="yes"`. So asking for no
downgrades is what turns same-version upgrades on, and no custom template is
needed.

Refusing a downgrade at the installer is also the rule this codebase already
follows a layer up: both the CLI's bundled install and the desktop app leave a
newer menubar alone rather than replacing it. Now the .msi says the same thing
by itself.
2026-09-02 06:08:46 -07:00
..
capabilities feat(windows): a settings window, with General, About and provider panes 2026-09-01 19:49:37 -07:00
icons windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
src feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
build.rs windows: import the Tauri tray app as the Windows menubar 2026-08-18 04:00:59 -07:00
Cargo.lock fix(windows): let Quit actually exit and enforce a single tray instance 2026-09-01 12:42:30 -07:00
Cargo.toml feat(windows): the update checker stands down inside a Store package 2026-09-02 04:29:52 -07:00
tauri.conf.json fix(windows): reinstalling the same version replaces the files 2026-09-02 06:08:46 -07:00