From 2fb76dc4cf7a920355aced52fd995a0bd33472ce Mon Sep 17 00:00:00 2001 From: iamtoruk Date: Wed, 2 Sep 2026 04:30:20 -0700 Subject: [PATCH] feat(windows): pin the WiX upgrade code the msi has always carried The upgrade code is what tells Windows Installer that two .msi files are the same product, and it is about to matter: the desktop app will ship this build and install it over whatever a manual `codeburn menubar` already put there. With one upgrade code that is an in-place upgrade; with two it is a second copy of the tray app beside the first. Tauri derives the code from a v5 UUID over ".exe.app.x64" when the config does not name one, so the value written here is the one every released .msi already carries (`tauri inspect wix-upgrade-code` reports the override and the derived default as the same GUID). Nothing about existing installs changes. What changes is that renaming the product can no longer move it by accident. --- windows/src-tauri/tauri.conf.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/windows/src-tauri/tauri.conf.json b/windows/src-tauri/tauri.conf.json index 0ab2bc1b..408c5b3d 100644 --- a/windows/src-tauri/tauri.conf.json +++ b/windows/src-tauri/tauri.conf.json @@ -51,6 +51,11 @@ "icons/icon.png", "icons/icon.ico" ], + "windows": { + "wix": { + "upgradeCode": "cfe9191d-31ea-5040-83c8-cefd2a10b703" + } + }, "linux": { "deb": { "depends": ["libwebkit2gtk-4.1-0", "libayatana-appindicator3-1"]