diff options
author | Rob Mensching <rob@firegiant.com> | 2021-04-12 21:00:07 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-04-14 12:15:52 -0700 |
commit | 74c40b3fddc937d1884c82355f9fed8a5481ea4a (patch) | |
tree | 223d496aba1983495a002ce2534173556e66ad8e /src/engine/pipe.cpp | |
parent | 648133ee7f1206d1208630d5935a4846508fd5b9 (diff) | |
download | wix-74c40b3fddc937d1884c82355f9fed8a5481ea4a.tar.gz wix-74c40b3fddc937d1884c82355f9fed8a5481ea4a.tar.bz2 wix-74c40b3fddc937d1884c82355f9fed8a5481ea4a.zip |
Avoid activating the engine's windows
Diffstat (limited to 'src/engine/pipe.cpp')
-rw-r--r-- | src/engine/pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/pipe.cpp b/src/engine/pipe.cpp index 67eeae87..47963e9d 100644 --- a/src/engine/pipe.cpp +++ b/src/engine/pipe.cpp | |||
@@ -401,7 +401,7 @@ extern "C" HRESULT PipeLaunchChildProcess( | |||
401 | 401 | ||
402 | // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine. | 402 | // Since ShellExecuteEx doesn't support passing inherited handles, don't bother with CoreAppendFileHandleSelfToCommandLine. |
403 | // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary. | 403 | // We could fallback to using ::DuplicateHandle to inject the file handle later if necessary. |
404 | hr = ShelExec(wzExecutablePath, sczParameters, wzVerb, NULL, SW_HIDE, hwndParent, &hProcess); | 404 | hr = ShelExec(wzExecutablePath, sczParameters, wzVerb, NULL, SW_SHOWNA, hwndParent, &hProcess); |
405 | ExitOnFailure(hr, "Failed to launch elevated child process: %ls", wzExecutablePath); | 405 | ExitOnFailure(hr, "Failed to launch elevated child process: %ls", wzExecutablePath); |
406 | 406 | ||
407 | pConnection->dwProcessId = ::GetProcessId(hProcess); | 407 | pConnection->dwProcessId = ::GetProcessId(hProcess); |