diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-09 23:21:07 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-09 23:22:14 +0100 |
commit | fc5ed557255b5b72d3fa90f16c776eea1c237c32 (patch) | |
tree | 07ae8426b4f1bf1428b7cc9e3d2c3570742fd915 /installer | |
parent | tunneltracker: account for windows 7 statemachine bug (diff) | |
download | wireguard-windows-fc5ed557255b5b72d3fa90f16c776eea1c237c32.tar.xz wireguard-windows-fc5ed557255b5b72d3fa90f16c776eea1c237c32.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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'installer')
-rw-r--r-- | installer/installer.wxs | 2 |
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. --> |