I remember that you could try looking for specific keys to determine service pack levels......
looking at my registry (note that i installed sp1, then didn't update my os until sometime after sp4 came out),
I have entries in \hkey_local_machine\software\microsoft\updates\windows 2000\
under this key i have
....\sp-1\q816093
....\sp4\q327194
....\sp5\kb*
so it seems like if the subkey for the service pack is a q number then that service pack was installed, and if it's a kb number those are hotfixes that have been applied.
I guess if you read for and check the registry keys, that you could use it to check for the service pack level. I believe that this is also how people scripted the checks for specific patches as well (by checking to see if the registry key exists).
hope that helps you out.
|