Add or Remove Programs / Show Updates

N

neilsolent

Does anyone know what "recipe" is used to determine the list of
installed software components in the "Add or Remove Programs" applet,
with "Show Updates" un-ticked ?

It is obviously looking at the keys under HKLM\SOFTWARE\Microsoft
\Windows\CurrentVersion\Uninstall, but I can't determine how it
decides which ones to list when "Show Updates" is un-ticked.

Thanks!
 
R

Ramesh, MS-MVP

It enumerates all subkeys under "Uninstall". If the "ParentKeyName" value is
set for an entry, it's shown under a separate category. See

a.. ParentKeyName. This value is mandatory. This is the name of the parent's
subkey declared in step 1. This associates the update with the program.
a.. ParentDisplayName. This value is mandatory. If no subkey matches that
named in ParentKeyName, this value is used as a placeholder parent program
to be displayed in Add or Remove Programs.

See http://msdn.microsoft.com/en-us/library/cc144162(VS.85).aspx


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com
 
N

neilsolent

Thanks for the post. Makes a lot of sense, but I don't think this is
the whole story ! For example, the following key does not have the
parent values, and still does not show up when "show updates" is
unchecked:

KB907658
SystemComponent REG_DWORD 0x00000001
 
R

Ramesh, MS-MVP

Correction: It should be..

"If the "SystemComponent" value is set to 1, the entry is *not* displayed in
ARP."

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


Ramesh said:
If the "SystemComponent" value is set to 1, the entry is now displayed in
ARP.

http://www.winhelponline.com/articl...n-entry-in-the-AddRemove-Programs-applet.html

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
The Winhelponline Blog: http://www.winhelponline.com/blog
Windows® Troubleshooting: http://www.winhelponline.com


neilsolent said:
Thanks for the post. Makes a lot of sense, but I don't think this is
the whole story ! For example, the following key does not have the
parent values, and still does not show up when "show updates" is
unchecked:

KB907658
SystemComponent REG_DWORD 0x00000001
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top