Discovery of SP2 in Windows 2003

Can I automatically detect if Windows Server 2003 with Service Pack 2 (SP2) is installed?

I'm running an InstallShield 9 install script, so I guess I need to check any registry key?

+2


a source to share


1 answer


I haven't used InstallShield since 2003 and so I'm not sure what will be available, but check:

http://kb.flexerasoftware.com/doc/Helpnet/installshield14langref/LangrefSYSINFO.htm

Departure



SYSINFO.nISOSL == ISOSL_WINSERVER2003 SYSINFO.WINNT.bWinServer2003 SYSINFO.WINNT.nServicePack

 if (SYSINFO.WINNT.bWinServer2003 && SYSINFO.WINNT.nServicePack > 1 ) then 

    MessageBox("Server 2003 SP2 or Greater Detected",INFORMATION); 

endif; 

      

+2


a source







All Articles