Support for Windows XP

Added "OSVersionInfoClass.cs" for operating system detection.
Updated error messages.
Added support for Windows XP by detecting the correct registry key.