aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSimon Rozman <simon@rozman.si>2020-11-18 01:14:50 +0100
committerSimon Rozman <simon@rozman.si>2020-11-18 01:37:05 +0100
commit60caaba12d08eb4227b9af868fd428134bfe7dce (patch)
treef9a9122b9b25373b17fdc7386f96eda512dacdae
parentmod: bump for x/sys/svc/mgr fix for UpdateConfig(Config()) (diff)
downloadwireguard-windows-60caaba12d08eb4227b9af868fd428134bfe7dce.tar.xz
wireguard-windows-60caaba12d08eb4227b9af868fd428134bfe7dce.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>
-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