Bug 141651. On windows, uninstalls will kill CASAManager too
This commit is contained in:
parent
f7b5adfb56
commit
8993768ee0
@ -1,3 +1,7 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 12:22:17 MST 2006 - jnorman@novell.com
|
||||
- Bug 141651. On windows, uninstalls will kill CASAManager too.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 21 12:05:17 MST 2006 - jnorman@novell.com
|
||||
|
||||
|
@ -151,6 +151,18 @@ namespace sscs.init
|
||||
|
||||
private static void uninstallService()
|
||||
{
|
||||
// kill all running versions of CASA manager
|
||||
Process[] proc = System.Diagnostics.Process.GetProcessesByName("CASAManager");
|
||||
for (int i = 0; i < proc.Length; i++)
|
||||
{
|
||||
try
|
||||
{
|
||||
proc[i].Kill();
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
|
||||
|
||||
TransactedInstaller ti = new TransactedInstaller ();
|
||||
ProjectInstaller mi = new ProjectInstaller ();
|
||||
ti.Installers.Add (mi);
|
||||
|
Loading…
Reference in New Issue
Block a user