By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!Interesting! I have no guesses.TweetDeck only appears once in "Control Panel\All Control Panel Items\Programs and Features" - so trying to find out why the difference...
Where in the registry does INSTALLED get it's data?
I get a list of 105 products like this.
Code:wmiquery /a . "select Name from Win32_Product"
There are 101 in Software\Classes\Installer\Products.
INSTALLED (and ControlPanel) show 86. How do you decide which ones to show/not show?
I get no duplicates from WMIQUERY. And a little research told me that the only products that get into the Win32_Product class are those installed via an MSI file. That seems to be also true of what's in HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products. I don't know if the class has a different name in x64. Perhaps there's a different namespace for 32-bit info on x64 (???). If your system has WMIC.EXE you might play with it.Is there a similar Win64_Product for x64 systems? Also weird that the same wmiquery only lists Tweetdeck once..... And some others are duplicated....
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colClasses = objWMIService.SubclassesOf()
For Each objClass In colClasses
WScript.Echo objClass.Path_.Path
Next
cscript classes.vbs
Indeed! Great tool. Where do you think I got that VBS script?For those who may not be aware...
A Microsoft tool called WMI Code Creator comes with the .exe and the .cs source code.
A good tool to use to create the query string for the WMIQuery command, as mentioned in the Take Command Help File.
Joe