Questions tagged [windowsversion]

33 questions
1
vote
2 answers

Translating GetVersionEx numbers into OS name

I have this list : 2.5.1.2600 2.5.2.3790 2.6.0.6000 2.6.0.6001 2.6.0.6002 2.6.1.7600 2.6.1.7601 That's a list of window versions, info comes from GetVersionEx, the numbers are: dwPlatformId.dwMajorVersion.dwMinorVersion.dwBuildNumber And I want to…
user979390
  • 309
  • 2
  • 4
  • 16
1
vote
2 answers

How to read windows build version via a Win API call or (better) reading a Registry value

Our installed is occasionally detecting the wrong version of Windows. (It detects version via built in Wise installer function to detect System Info and doesn't say HOW it does this). So, I'm looking for another way to detect the Windows version.…
Clay Nichols
  • 11,848
  • 30
  • 109
  • 170
1
vote
2 answers

What values can OperatingSystem.Version have?

The Environment.OSVersion property can be used to get the version of the current OS. What value can its Version property have for the various OSes out there? I'm interested only in the Major and Minor values and primarily about desktops OSes.
svick
  • 236,525
  • 50
  • 385
  • 514
1
vote
1 answer

Windows Server 2008 or Vista?

What is an easy (to implement) way to check whether I am on Windows Vista or Windows Server 2008 from a Python script? platform.uname() gives the same result for both versions.
Deestan
  • 16,738
  • 4
  • 32
  • 48
1
vote
1 answer

Find what windows version is on a specified drive

I want to find what OS version (e.g.: Window 7 Pro) is on drive D: without digging through D:\Windows\System32\license.rtf Is there a class within System.Management namespace that will let me find OS Versions on a specified local drive letter?
Simon
  • 11
  • 1
1
vote
1 answer

Can I use the C# preprocessor to skip Kinect v2.0 code?

Quick question, I'm developing a small program which I'd like to work with Kinect versions 1 and 2. Is there a preprocessor command I can use so that the c# compiler skips my Kinect v2.0 code if I don't have the Kinect 2.0 sdk installed? (When I'm…
Wiredchop
  • 145
  • 1
  • 11
1
vote
1 answer

windows 8 minor version returning 0 instead of 2

I have code in C++ that has the purpose of finding the Windows version: OSVERSIONINFOEX osvi; BOOL bOsVersionInfoEx; int iRet = OS_UNKNOWN; ZeroMemory ( & osvi, sizeof ( OSVERSIONINFOEX ) ); osvi.dwOSVersionInfoSize = sizeof ( OSVERSIONINFOEX…
Alex
  • 583
  • 5
  • 18
0
votes
0 answers

Windows Version (Unable to confirm if installed Windows version is 10 or greater) in stable channel in Flutter

I am having this problem when running flutter doctor Windows Version (Unable to confirm if installed Windows version is 10 or greater) I know it can easily be solved by changing the channel from stable to master, but doing so installs me a flutter…
0
votes
2 answers

Invalid Windows version when using Inno Setup

A user is having problems installing my software. This is his OS: This is his system: He gets this error when installing: In my [Code] section I have the following: function MakeVersion(Major, Minor, Build: Cardinal): Cardinal; begin Result…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
0
votes
1 answer

Targeting windows versions in uwp apps

I have a desktop app which is converted to UWP app using MSIX packaging tool. I need to support all version of windows so I have manually updated the TargetDeviceFamily MinVersion and MaxVersionTested in manifest file. But when I am uploading the…
0
votes
0 answers

Why does Windows 10 report its version as 6.3?

Im working on a Wix installer and need to know the windows version, however, on Windows 10 when I check the registry 'CurrentVersion' located at: SOFTWARE\Microsoft\Windows NT\CurrentVersion It reports 6.3 which is Windows 8.1 and not 10 Why is…
tinmac
  • 2,357
  • 3
  • 25
  • 41
0
votes
1 answer

WiX Changing UI items based on OS version

I have created an installer for my application, now my requirement is to customise UI items like some check boxes based on OS version(need to have slightly different UI for Windows 8 and Windows 10). How can I achieve this?
Badrul
  • 1,582
  • 4
  • 16
  • 27
0
votes
1 answer

Which Windows versions (including service pack number) support the .NET Framework?

On which versions of Windows (including minimum service pack level, if necessary) is the .NET Framework 3.5 SP1 supported? Also, is this information yet available for .NET 4.0? Edit: BarsMonster's link gives the operating system requirements of .NET…
user200783
  • 13,722
  • 12
  • 69
  • 135
0
votes
2 answers

Run-Time Check Failure #2 - stack around the variable 'osvi' was corrupted on mfc application

I've been searching around the internet and I have no idea why this happens, it's not really an obvious array issue. Here's the function: BOOL IsOsCompatible() { BOOL retVal = 0; OSVERSIONINFO osvi; ZeroMemory(&osvi,…
Nutterz
  • 42
  • 7
0
votes
2 answers

Convert Windows version number to double

I'm having a problem with this: Private Function Get_NT_Version() Dim NT As Decimal = CDec(System.Environment.OSVersion.Version.ToString.Substring(0, 3)) MsgBox(NT) Return NT End Function I'm running on Win7 so I want to obtain this…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417