I have to constantly switch back and forth between two installations of a web app with two different versions of an ActiveX control. Therefore I'd like to script the ability to uninstall this control. Its does not show up in Win32_Product because it was not installed via windows installer, and contrary to this answer, the Win32_ClassicCOMClass does not contain this ActiveX control.
AXHelper shows the control in HKEY_CLASSES_ROOT\CLSID. So my two questions are:
- How do I enumerate the control with WMI
- How do I uninstall the control with WMI