aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/wireguard.wxs
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
commitcf914360ffcb9311e649d3680d263469a018c1c1 (patch)
tree18c5d0da3b54b219c08469ccd6ec2db8fc9767f8 /installer/wireguard.wxs
parentversion: dynamically get file version (diff)
downloadwireguard-windows-cf914360ffcb9311e649d3680d263469a018c1c1.tar.xz
wireguard-windows-cf914360ffcb9311e649d3680d263469a018c1c1.zip
installer: allow same version upgrades
The alternative is that MSI installs two different versions, and that's not okay, and makes debugging harder. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer/wireguard.wxs')
-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">