aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/installer/installer.wxs
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-09 23:21:07 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-09 23:22:14 +0100
commite8da3dca4e510c999ddc7144218f0c07ba989771 (patch)
tree07ae8426b4f1bf1428b7cc9e3d2c3570742fd915 /installer/installer.wxs
parenttunneltracker: account for windows 7 statemachine bug (diff)
downloadwireguard-windows-e8da3dca4e510c999ddc7144218f0c07ba989771.tar.xz
wireguard-windows-e8da3dca4e510c999ddc7144218f0c07ba989771.zip
installer: bring to foreground using shellexec process
The additional shell indirection causes the process calling SetForegroundWindow to have been a foreground window itself, so that it succeeds.
Diffstat (limited to '')
-rw-r--r--installer/installer.wxs2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/installer.wxs b/installer/installer.wxs
index 0b04a65a..5459fb61 100644
--- a/installer/installer.wxs
+++ b/installer/installer.wxs
@@ -57,7 +57,7 @@
<InstallExecuteSequence>
<Custom Action="LaunchApplication" After="PublishProduct">NOT Installed</Custom>
</InstallExecuteSequence>
- <CustomAction Id="LaunchApplication" HideTarget="yes" Impersonate="no" Execute="deferred" FileKey="wireguard.exe" ExeCommand="/installmanagerservice" Return="asyncNoWait" />
+ <CustomAction Id="LaunchApplication" HideTarget="yes" Impersonate="no" Execute="deferred" FileKey="wireguard.exe" ExeCommand="" Return="asyncNoWait" />
<!-- TODO: On uninstall: remove eventlog registration, remove system32\config\wireguard. -->
<!-- TODO: On install and uninstall, kill services. -->