aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-04-28 12:27:06 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-04-29 08:41:30 +0200
commite9682162ac908e9b9d81f3378faf8b38d1baa630 (patch)
tree1c3e6059569376c72336ba09f06e9a5ee5e1e833 /installer
parentgo.mod: use forked winio with no thirdparty deps (diff)
downloadwireguard-windows-e9682162ac908e9b9d81f3378faf8b38d1baa630.tar.xz
wireguard-windows-e9682162ac908e9b9d81f3378faf8b38d1baa630.zip
updater: add initial skeleton
Diffstat (limited to 'installer')
-rw-r--r--installer/build.bat3
-rw-r--r--installer/wireguard.wxs2
2 files changed, 1 insertions, 4 deletions
diff --git a/installer/build.bat b/installer/build.bat
index c7322857..918f932a 100644
--- a/installer/build.bat
+++ b/installer/build.bat
@@ -5,9 +5,6 @@ rem Copyright (C) 2019 WireGuard LLC. All Rights Reserved.
for /f "tokens=3" %%a in ('findstr /r "[0-9.]*" ..\version.h') do set WIREGUARD_VERSION=%%a
set WIREGUARD_VERSION=%WIREGUARD_VERSION:"=%
-rem While our version numbers remain whonky, just hardcode this to a version that makes msi always replace.
-set WIREGUARD_VERSION=0.0.0.1
-
set STARTDIR=%cd%
set OLDWIX=%WIX%
set WIX_CANDLE_FLAGS=-nologo -dWIREGUARD_VERSION="%WIREGUARD_VERSION%"
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs
index 49ba8f45..da31c3c6 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -38,7 +38,7 @@
Upgrading
-->
<MajorUpgrade
- AllowDowngrades="no" AllowSameVersionUpgrades="yes"
+ AllowDowngrades="no"
DowngradeErrorMessage="A newer version of [ProductName] is already installed."
Schedule="afterInstallExecute" />
<Property Id="INSTALLFOLDERPREV">