Killing two tasks in uninstaller script
I am uninstalling a program with Kace by creating a script in Configuration policies. There is a spot to kill the process for the program to uninstall but it only has one spot to put information in. Is there a way to specify more than one process to kill in one box. Not sure of the Syntax i should use for this.
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
jfrank
9 years ago
I do not know if it is possible with the Uninstaller Config Policy (I wonder if it would be possible with some sort of boolean term)...
But to me, I would think it would be pretty straightforward to just create a script to uninstall the application you want and in the first task under the Verify step, have it kill both process and then proceed to the uninstall in the On Success step.
Posted by:
mikesharp1
9 years ago
From what I'm understanding you can only unstall one program per the software line however if you created a batch file and uploaded that file to the software inventory you can probably trick the scripted uninstaller to remove what you wanted.
Actually that's probably what I would do.
Hope that helps.
Comments:
-
I'm not trying to uninstall 2 programs. One program is being uninstalled. There is a spot to tell which process to kill but on the machine there is 2 processes running. When i uninstall the program it works but will not delete the program directory because there is another process that needs to be killed in order to do so. I was trying to use the kace scripts over using the uploaded scripts. More for trying to use and learn the Kace system better. - bblank05 9 years ago
-
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx - mikesharp1 9 years ago