unable to detect preloaded SP2 on windows XP machine

  • Thread starter Thread starter sridevi.m
  • Start date Start date
S

sridevi.m

While installing my application it will check whether the
machine is loaded with SP2 or not. For this my application
checks the Registry entry for SP2.This registry entry will
be there only if SP2 is installed manually.
When the system is coming with preloaded SP2 this registry
entry will not be there so my application when trying to
be installed on Preloaded SP2 machine it is not detecting
the presence of SP2 and the installation is getting
aborted.
My problem is how to detect wether a sytem is preloaded
with SP2?
Is there any common approach to know whether the SP2 is
preloaded or manually installed?
 
Do you really care whether SP2 came preloaded or was installed? Don't you
simply want to be sure the machine is on SP2 regardless of how it got there?

http://blogs.msdn.com/ejarvi/archive/2004/06/08/151162.aspx

shows a method to detect service pack level. I've looked at a machine which
I recall as being an upgrade from Windows 2000 using retail XP with SP2
included--and it says SP2 at the key noted in this blog entry.
 
Back
Top