Windows 10 not detecting on installshield
问题 Have requirement to detect windows 10 or greater version on install time. for that I have create following function. It gives me 603 (AS VersionNT value) in windows 10 and windows 8.1. That is wrong. Is there any other way to achieve this? function BOOL isWindows10OrGreater() STRING svWindowsValue; NUMBER nWindowsValue; NUMBER nBuffer; begin try nBuffer = 256; MsiGetProperty(ISMSI_HANDLE,"VersionNT",svWindowsValue,nBuffer); StrToNum(nWindowsValue,svWindowsValue); return (nWindowsValue >= 603)