unable to detect preloaded SP2 on windows XP machine

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?
 
B

Bill Sanderson

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.
 

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