Skip to content

Commit e9acea8

Browse files
fix(packaging/windows): Allow WiX installer downgrades (#191)
1 parent 5e646c6 commit e9acea8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

crates/server/wix/main.wxs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,12 @@
1616

1717
<MajorUpgrade
1818
Schedule="afterInstallInitialize"
19-
DowngradeErrorMessage="A newer version of [ProductName] is already installed. Setup will now exit." />
19+
AllowDowngrades="yes" />
2020

2121
<MediaTemplate EmbedCab="yes" />
2222
<SetProperty Id="ARPINSTALLLOCATION" Value="[INSTALLFOLDER]" After="CostFinalize" />
2323
<Property Id="DiskPrompt" Value="Koko Installation" />
24+
<Property Id="REINSTALLMODE" Value="amus" />
2425
<Property Id="ARPHELPLINK" Value="https://app.lizardbyte.dev/support" />
2526
<Property Id="ARPURLINFOABOUT" Value="https://app.lizardbyte.dev" />
2627
<Icon Id="ProductIcon" SourceFile="$(var.CargoTargetDir)\..\assets\icon.ico" />

0 commit comments

Comments
 (0)