diff options
author | Ben Kaduk <kaduk@mit.edu> | 2012-08-16 16:03:48 -0400 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2012-08-29 16:34:38 -0400 |
commit | 79e5540860d077693e70b340db4d69d5e15107b7 (patch) | |
tree | 2fd2170b49c650b4f84397a6b8f9ee0880dcede9 /src/windows | |
parent | 356f0c238e02812d30d04b0cc6e22b0dab2b6c0a (diff) | |
download | krb5-79e5540860d077693e70b340db4d69d5e15107b7.tar.gz krb5-79e5540860d077693e70b340db4d69d5e15107b7.tar.xz krb5-79e5540860d077693e70b340db4d69d5e15107b7.zip |
Kill running processes on upgrades/uninstalls
The InstallValidate action of the windows installer will bring up
a dialog informing us that some currently running processes must
be terminated before installation may proceed, and offers to do so,
but does not actually kill the processes. We have our own code to
kill running processes which did not execute, for two reasons:
it was sequenced after InstallValidate, and we did not have a current
list of processes to look for.
Add the right processes to look for and kill, and use our own
process-killing code since it actually works.
ticket: 7343 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Diffstat (limited to 'src/windows')
-rwxr-xr-x | src/windows/installer/wix/kfw.wxs | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/windows/installer/wix/kfw.wxs b/src/windows/installer/wix/kfw.wxs index 20a70e5ed7..d00c6e88e8 100755 --- a/src/windows/installer/wix/kfw.wxs +++ b/src/windows/installer/wix/kfw.wxs @@ -168,8 +168,9 @@ <!-- Installation Sequences --> <AdminExecuteSequence /> <InstallExecuteSequence> - <Custom Action="KillRunningProcesses" After="InstallValidate"/> - <RemoveExistingProducts After="KillRunningProcesses">(Not Installed) And (UPGRADEPISMERE Or UPGRADEKFW Or UPGRADEKFW64)</RemoveExistingProducts> + <Custom Action="ListRunningProcesses" Before="KillRunningProcesses" /> + <Custom Action="KillRunningProcesses" Before="InstallValidate"/> + <RemoveExistingProducts After="InstallValidate">(Not Installed) And (UPGRADEPISMERE Or UPGRADEKFW Or UPGRADEKFW64)</RemoveExistingProducts> <Custom Action="RenameKrb5Ini_Cmd" Before="RenameKrb5Ini"/> <Custom Action="RenameKrb5Ini" Before="InstallFinalize">SYSTEMKRB5INI <> ""</Custom> <!-- When running with a UI, CCP_Success property is not passed down to the server. --> @@ -237,6 +238,11 @@ <Data Column="Desc">Kerberos Credential Cache</Data> </Row> <Row> + <Data Column="Id">kpKrbcc64</Data> + <Data Column="Image">krbcc64s.exe</Data> + <Data Column="Desc">Kerberos Credential Cache</Data> + </Row> + <Row> <Data Column="Id">kpK95</Data> <Data Column="Image">k95.exe</Data> <Data Column="Desc">Kermit 95</Data> @@ -261,6 +267,16 @@ <Data Column="Image">afscreds.exe</Data> <Data Column="Desc">AFS Credentials Manager</Data> </Row> + <Row> + <Data Column="Id">kccapiserver</Data> + <Data Column="Image">ccapiserver.exe</Data> + <Data Column="Desc">Credentials Cache API Server</Data> + </Row> + <Row> + <Data Column="Id">kMITKerberos</Data> + <Data Column="Image">MIT Kerberos.exe</Data> + <Data Column="Desc">MIT Kerberos Ticket Manager</Data> + </Row> </CustomTable> </Product> </Wix> |