Archive: detect different OS


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? :)


See GetWindowsVersion in Appendix B of the documentation. You can compare the result to Windows XP and do what's needed for each case.


thnks
I'll try that :D


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-