Skip to content

Commit 8465a8d

Browse files
ids1024jackpot51
authored andcommitted
wix: Auto-generate produce Id GUID
This ID needs to be changed for every new version. I'm not aware there's any reason not to let WiX generate it. `AllowSameVersionUpgrade` makes it upgrade when installing another msi with the same version, instead of installing side by side.
1 parent 03339c7 commit 8465a8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wix/main.wxs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'
3333
xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
3434
<Product
35-
Id='61D03E35-CFC2-4E3C-A020-F632D76342C7'
35+
Id='*'
3636
Name='System76 Thelio Io'
3737
UpgradeCode='69D3AF2E-8CD5-4E0D-BA40-1FEA0A7C6546'
3838
Manufacturer='System76'
@@ -53,6 +53,7 @@
5353

5454
<MajorUpgrade
5555
Schedule='afterInstallInitialize'
56+
AllowSameVersionUpgrades='yes'
5657
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.'/>
5758

5859
<Media Id='1' Cabinet='media1.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1'/>

0 commit comments

Comments
 (0)