diff options
Diffstat (limited to '')
| -rw-r--r-- | src/ext/Util/ca/CloseApps.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ext/Util/ca/CloseApps.cpp b/src/ext/Util/ca/CloseApps.cpp index f2648476..cfe8b639 100644 --- a/src/ext/Util/ca/CloseApps.cpp +++ b/src/ext/Util/ca/CloseApps.cpp | |||
| @@ -136,7 +136,7 @@ LExit: | |||
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | /****************************************************************** | 138 | /****************************************************************** |
| 139 | SendProcessMessage - helper function to enumerate the top-level | 139 | SendProcessMessage - helper function to enumerate the top-level |
| 140 | windows and send to all matching a process ID. | 140 | windows and send to all matching a process ID. |
| 141 | 141 | ||
| 142 | ******************************************************************/ | 142 | ******************************************************************/ |
| @@ -164,7 +164,7 @@ void SendProcessMessage( | |||
| 164 | } | 164 | } |
| 165 | 165 | ||
| 166 | /****************************************************************** | 166 | /****************************************************************** |
| 167 | SendApplicationMessage - helper function to iterate through the | 167 | SendApplicationMessage - helper function to iterate through the |
| 168 | processes for the specified application and send all | 168 | processes for the specified application and send all |
| 169 | applicable process Ids a message and give them time to process | 169 | applicable process Ids a message and give them time to process |
| 170 | the message. | 170 | the message. |
| @@ -250,7 +250,7 @@ void TerminateProcesses( | |||
| 250 | /****************************************************************** | 250 | /****************************************************************** |
| 251 | WixCloseApplications - entry point for WixCloseApplications Custom Action | 251 | WixCloseApplications - entry point for WixCloseApplications Custom Action |
| 252 | 252 | ||
| 253 | called as Type 1 CustomAction (binary DLL) from Windows Installer | 253 | called as Type 1 CustomAction (binary DLL) from Windows Installer |
| 254 | in InstallExecuteSequence before InstallFiles | 254 | in InstallExecuteSequence before InstallFiles |
| 255 | ******************************************************************/ | 255 | ******************************************************************/ |
| 256 | extern "C" UINT __stdcall WixCloseApplications( | 256 | extern "C" UINT __stdcall WixCloseApplications( |
| @@ -462,9 +462,9 @@ LExit: | |||
| 462 | 462 | ||
| 463 | 463 | ||
| 464 | /****************************************************************** | 464 | /****************************************************************** |
| 465 | WixCloseApplicationsDeferred - entry point for | 465 | WixCloseApplicationsDeferred - entry point for |
| 466 | WixCloseApplicationsDeferred Custom Action | 466 | WixCloseApplicationsDeferred Custom Action |
| 467 | called as Type 1025 CustomAction | 467 | called as Type 1025 CustomAction |
| 468 | (deferred binary DLL) | 468 | (deferred binary DLL) |
| 469 | 469 | ||
| 470 | NOTE: deferred CustomAction since it modifies the machine | 470 | NOTE: deferred CustomAction since it modifies the machine |
| @@ -533,7 +533,7 @@ extern "C" UINT __stdcall WixCloseApplicationsDeferred( | |||
| 533 | SendApplicationMessage(pwzTarget, WM_QUERYENDSESSION, dwTimeout); | 533 | SendApplicationMessage(pwzTarget, WM_QUERYENDSESSION, dwTimeout); |
| 534 | } | 534 | } |
| 535 | 535 | ||
| 536 | // If we find that an app that we need closed is still runing, require a | 536 | // If we find that an app that we need closed is still running, require a |
| 537 | // restart or kill the process as directed. | 537 | // restart or kill the process as directed. |
| 538 | ProcFindAllIdsFromExeName(pwzTarget, &prgProcessIds, &cProcessIds); | 538 | ProcFindAllIdsFromExeName(pwzTarget, &prgProcessIds, &cProcessIds); |
| 539 | if (0 < cProcessIds) | 539 | if (0 < cProcessIds) |
