aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-01 11:23:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-01 11:23:57 +0200
commit0c8cec5730847d76778df0e2a289e19a78cfb91c (patch)
tree18c5d0da3b54b219c08469ccd6ec2db8fc9767f8 /installer
parentversion: dynamically get file version (diff)
downloadwireguard-windows-0c8cec5730847d76778df0e2a289e19a78cfb91c.tar.xz
wireguard-windows-0c8cec5730847d76778df0e2a289e19a78cfb91c.zip
installer: allow same version upgrades
The alternative is that MSI installs two different versions, and that's not okay, and makes debugging harder.
Diffstat (limited to 'installer')
-rw-r--r--installer/wireguard.wxs1
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs
index c88e7af9..747d56fa 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -40,6 +40,7 @@
-->
<MajorUpgrade
AllowDowngrades="no"
+ AllowSameVersionUpgrades="yes"
DowngradeErrorMessage="A newer version of [ProductName] is already installed."
Schedule="afterInstallExecute" />
<Property Id="INSTALLFOLDERPREV">