From db7eccaff0c41d9fc6a2840ffa36794444c0d9b3 Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 5 Aug 2019 17:05:42 +0200 Subject: installer: raise UI on MSI relaunch and add DO_NOT_LAUNCH override Clicking on the MSI of an already installed WireGuard launches/raises WireGuard UI now. WireGuard UI launching can now also be disabled by invoking: `msiexec /i wireguard...msi DO_NOT_LAUNCH=1` Signed-off-by: Simon Rozman --- installer/wireguard.wxs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/installer/wireguard.wxs b/installer/wireguard.wxs index c8a7d7c2..57ce388e 100644 --- a/installer/wireguard.wxs +++ b/installer/wireguard.wxs @@ -140,8 +140,15 @@ --> - - NOT Installed + NOT Installed AND NOT DO_NOT_LAUNCH + + + + + + Installed AND ProductState=5 AND NOT DO_NOT_LAUNCH -- cgit v1.2.3-59-g8ed1b