insolit
2nd December 2003 13:00 UTC
detect different OS
Hi to all!
I'd like to know how could i set my script to detect the version of OS, if it is Windows XP or different then windows XP, so that i could have a different installation program for each case.
Could someone help me out? :)
kichik
2nd December 2003 13:06 UTC
See GetWindowsVersion in Appendix B of the documentation. You can compare the result to Windows XP and do what's needed for each case.
insolit
2nd December 2003 14:17 UTC
thnks
I'll try that :D
icebrrrg
2nd December 2003 17:05 UTC
there are also examples of how to do exactly what you're looking for, in the archives ... browse through, looking for "how do i detect if ... is installed?"
-m-