INSTALLED returnes same program multiple times

Apr 2, 2011
1,460
10
54
North Carolina, USA
[C:\Program Files\JPSoft\TCMD21]installed /A /D /U /V
.
returns in part:
.
TweetDeck 2.1.0 Twitter, Inc. 2013-01-11
TweetDeck 2.1.0 Twitter, Inc. 2013-01-11
.
Just wonder why that is please?
 
May 20, 2008
11,519
102
Syracuse, NY, USA
It's only doing what Windows tells it. I can't say how it happens, but some products (only TCCLE v14 here) get multiple "Product" entries in the registry (see below). It also appears twice in the Control Panel's Add/Remove Programs.
upload_2017-6-25_15-36-54.png


upload_2017-6-25_15-39-6.png
 
May 20, 2008
11,519
102
Syracuse, NY, USA
P.S., It was much worse during the alpha/beta testing. For a while nearly every product appeared twice. That was fixed nicely.

When I have time, I'll investigate those two GUIDs and try to determine which corresponds to my actual installation. Does anyone have any idea how I might tell?
 
Apr 2, 2011
1,460
10
54
North Carolina, USA
TweetDeck only appears once in "Control Panel\All Control Panel Items\Programs and Features" - so trying to find out why the difference...
 

rconn

Administrator
Staff member
May 14, 2008
12,404
152
Where in the registry does INSTALLED get it's data?

Software\Classes\Installer\Products
Software\Microsoft\\Windows\\CurrentVersion\Uninstall
Software\Microsoft\\Installer\Products
Software\Microsoft\\Windows\CurrentVersion\Installer\UserData

And subkeys for all the above. X2 for the X86 & X64 registry hives. And some additional Windows APIs. And some WMI calls.

Most often, if you see two entries it's because you have both an x86 and an x64 registry setting.
 
Apr 2, 2011
1,460
10
54
North Carolina, USA
@rconn - are those HKLM or what?

so using [REGDIR [/D /F /P /Sn /V] keyname] what would I need - to get just the product name and see where 2 of TweetDeck is coming from?
 
May 20, 2008
11,519
102
Syracuse, NY, USA
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?
 
Apr 2, 2011
1,460
10
54
North Carolina, USA
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?

Is there a similar Win64_Product for x64 systems? Also weird that the same wmiquery only lists Tweetdeck once..... And some others are duplicated....
 
May 20, 2008
11,519
102
Syracuse, NY, USA
Is there a similar Win64_Product for x64 systems? Also weird that the same wmiquery only lists Tweetdeck once..... And some others are duplicated....
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.

You might be able to list the WMI classes available with a script like this: CLASSES.VBS
Code:
strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colClasses = objWMIService.SubclassesOf()

For Each objClass In colClasses
    WScript.Echo objClass.Path_.Path
Next
and the command
Code:
cscript classes.vbs
 
Similar threads
Thread starter Title Forum Replies Date
A Installers delete EVerything service if already installed Support 0
dcantor How to? Can 32-bit TCC be run on a system with 64-bit TCMD and TCC installed? Support 6
G Version 20.11 installed on Windows 10 problems Support 9
R TCC-RT with TCMD installed Support 6
Alpengreis Small things to change in installer and after installed Everything Support 0
K_Meinhard V 18.00.17 installed Support 5
Alpengreis How to? Installed v18 Beta - how buy/register? Support 2
M Installed but can't run Take Command 16.0 Support 5
F How to install 64-bit after having installed 32-bit on Win7 Support 2
C HKCU keys needed fror installed TCMD versions Support 9
B Installed/Running in Windows 7? Support 3
p.f.moore Copying Take Command installed folder Support 19
N Unable to bind multiple keys to the same key mapping directive Support 9
R How to? Use both TCC-RT and TCC on same PC Support 24
vefatica Two @FUNCTIONs/aliases with the same name Support 4
Robert Kantor How to? RT execution stuck on same file Support 16
R How to? Display text same as in CMD Support 14
C Is 17.00.55 same as release version? Support 3
David Wilbanks How to make new tab open in same directory as previous tab? Support 4
Joe Caverly How to? Run DOS .exe's the same way Wine does... Support 3
Dan Glynhampton Are these two functions the same? Support 2
S How to? Install from same installer copy after cancelling previously Support 6
ehab aboudaya How to? activate tab with same directory in command line Support 6
G TCMD does not get same result as cmd.exe Support 22

Similar threads