aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-11-18 01:14:50 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2020-11-18 14:30:02 +0100
commit723603ae54a960238ead547c5358c1db83a06850 (patch)
treeca880c0e4bdfedc788d148d0b70e6257c137165a /installer
parentmod: bump for x/sys/svc/mgr fix for UpdateConfig(Config()) (diff)
downloadwireguard-windows-723603ae54a960238ead547c5358c1db83a06850.tar.xz
wireguard-windows-723603ae54a960238ead547c5358c1db83a06850.zip
installer: ignore remove failures
On upgrades from <=0.1.1 there's a short window, where new tunnel service may delete the Wintun 0.8 driver from the store, while 0.1.1 removal is about to do the same, and fails with "File not found". The computer ended up with the old WireGuard installed. Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to 'installer')
-rw-r--r--installer/wireguard.wxs3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs
index 50a10118..31f57426 100644
--- a/installer/wireguard.wxs
+++ b/installer/wireguard.wxs
@@ -57,7 +57,8 @@
AllowDowngrades="no"
AllowSameVersionUpgrades="yes"
DowngradeErrorMessage="A newer version of [ProductName] is already installed."
- Schedule="afterInstallExecute" />
+ Schedule="afterInstallExecute"
+ IgnoreRemoveFailure="yes" />
<!--
Folders