QElectroTech.wxs — add ProductCode="$(var.ProductCode)" to <Package>

+ AllowSameVersionUpgrades="yes" to <MajorUpgrade>
windows-msi.yml — in the ‘Extract version’ step, calculate a unique GUID
based on the commit’s SHA, then pass -d ‘ProductCode=$productGuid’ to the WIX build
This ensures that each build will have a different ProductCode → MajorUpgrade will always be triggered
This commit is contained in:
Laurent Trinques
2026-05-21 14:10:17 +02:00
parent 24d075b64c
commit fc948ad963
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@
Name="QElectroTech"
Manufacturer="QElectroTech Team"
Version="$(var.Version)"
ProductCode="$(var.ProductCode)"
UpgradeCode="A1B2C3D4-E5F6-7890-ABCD-EF1234567890"
Language="1033"
Codepage="1252"