krb5 commit [krb5-1.10]: Kill running processes on upgrades/uninstalls

Tom Yu tlyu at MIT.EDU
Wed Aug 29 19:17:40 EDT 2012


https://github.com/krb5/krb5/commit/b0c17dba06e71c39af830f5ae79be80e0754491f
commit b0c17dba06e71c39af830f5ae79be80e0754491f
Author: Ben Kaduk <kaduk at mit.edu>
Date:   Thu Aug 16 16:03:48 2012 -0400

    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.
    
    (cherry picked from commit 79e5540860d077693e70b340db4d69d5e15107b7)
    
    ticket: 7343
    status: resolved

 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 20a70e5..d00c6e8 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 &lt;&gt; ""</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>


More information about the cvs-krb5 mailing list