I want to write a program (create an exe file) to uninstall a program in WM 5.0. I was searching in Google but nothing really show a step by step how to do this. I had a step by step instruction on how to install a cab file programmatically, but I can't find something similar to unistall the program. I have seen some suggestions to use DMProcessConfigXML but I never used XML before and it will be nice if anyone could show me how to use it.
Try to read this article. If I understood correctly what you need is to pass configuration xml to ProcessConfiguration method.
I hope it helps.