

You can use this helper class using System operatingSystem += " " + getOSArchitecture().ToString() + "-bit" See if there's a service pack installed. OperatingSystem = "Windows " + operatingSystem Let's prepend "Windows" and get more info. That information is useless without the OS version. We don't want to just return " Service Pack 2" or " 32-bit" Make sure we actually got something in our OS check If (os.Platform = PlatformID.Win32Windows)Įlse if (os.Platform = PlatformID.Win32NT) OperatingSystem os = Environment.OSVersion

I used this when I had to determine various Microsoft Operating System versions: string getOSInfo() For more information, see Environment.OSVersion returns the correct operating system version. NET 5.0 and later, always returns the actual OS version. Important note: if your executable assembly manifest doesn't explicitly state that your exe assembly is compatible with Windows 8.1 and Windows 10.0, will return Windows 8 version, which is 6.2, instead of 6.3 and 10.0! Source: here. +-+įor a library that allows you to get a more complete view of the exact release of Windows that the current execution environment is running in, check out this library. | | PlatformID | Major version | Minor version | It consists of three components which map to the following Windows versions: +-+ NET Framework 4 Client ProfileĪny insight you can provide on the issue would be has the information you need for distinguishing most Windows OS major releases, but not all. Name=Microsoft Visual C++ 2008 Redistributable - x86 2 Name=Microsoft Visual C++ 2005 Redistributable Name=SolarWinds Log Forwarder for Windows Name=Microsoft ASP.NET 2.0 AJAX Extensions 1.0 Time Zone: (UTC-08:00) Pacific Time (US & Canada) Input Locale: en-us English (United States) System Locale: en-us English (United States) : Intel64 Family 6 Model 44 Stepping 2 GenuineIntīIOS Version: American Megatrends Inc. System Manufacturer: Microsoft Corporation OS Name: Microsoft Windows Server 2008 R2 Standard NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\pageobjectmodel.dll failed to register. Modeule C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for. However, while trying to deploy the MSI packages to the server we are encountering the following error.Įrror 1904. In addition we upgraded our application to CR for VS2010 after finding that it supported Windows Server 2008. In this effort we have chosen to use Windows 2008 Core Server with all of the web server installation features. We are attempting to re-build our web servers and reduce their footprint.
