Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to uninstall programs wait until current program finished?
how to get child process of child process?
ceate process a,a run b and exit,b run c and exit,c run d and exit,how to know d is the child process of child process of a?
Posted
Comments
Kornfeld Eliyahu Peter 28-Dec-15 9:07am    
Search for mutex (mutual exclusion)...

1 solution

You can use WMI to uninstall a product. There's even an article on how to do it here[^] on CP.

As for the parent process of a process, see the 2nd solution here[^], by Simon Mourier.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900