PDA

View Full Version : Detecting if a OS Hotfix is installed



Jason S
08-27-2003, 01:45 PM
Is there a way to detect if a specific OS Hotfix is installed on a target system?

I know I can use SYSINFO to detect the OS and ServicePack, but a Hotfix is different than the ServicePack and there doesn't appear to be a way to detect it, without knowing the exact build of the OS kernel.

Anyone run into this before?

Bobtcny
08-28-2003, 06:54 AM
Some Hotfixes make an entry in the registry that you could check. Suggest you check the Microsoft site to see if they list how to tell if the Hotfix was installed.

nasagar
09-05-2003, 04:28 PM
If it is a microsoft hotfix, you could always check the FileVersion of the DLL or OCX or EXE updated by the hotfix.

Sagar

Jason S
09-05-2003, 05:09 PM
Thanks for the reply guys.

I'll look into both of your suggestions.

Paul D
09-09-2003, 11:49 AM
Some hotfixes (Atleast for 2k) make an uninstall entry like this one:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\KB823559

nasagar
09-09-2003, 12:22 PM
The best bet would be to go for the FileVersion of the files updated by the hotfix because a super set hotfix could have put the latest files in your system, but registry entry might not be there.

Sagar