This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- How to distinguish between windows server 2012 R2 and Windows Server 2016/2019
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Jan 09, 2020
04:40 AM
How to distinguish between windows server 2012 R2 and Windows Server 2016/2019
Hi all,
I'm trying to create install condition with installshield 2019 so that it installs only on Windows Server 2016 and Windows Server 2019 and NOT on Windows Server 2012 R2.
I try with this one:
(Not Version9X) And (VersionNT = 603 And MsiNTProductType <> 1)
Because I have found that Version NT on Windows Server 2012 is 602 (https://docs.microsoft.com/it-it/windows/win32/msi/operating-system-property-values), but in InstallShield log file I saw that in reality this property is enhanced with 603 and not 602.
Which property (s) can I use to discriminate Windows Server 2012 R2 from other operating systems?
I have seen that VersionNT, VersionNT64 and WindowsBuild have the same value in all three operating systems.
(3) Replies
‎Jan 09, 2020
07:45 AM
Thank you, but I have already read this topic but in my case I have same values for each 3 properties (VersionNt, VersionNT64 and WindowsBuil) in each Operating System.
‎Jan 09, 2020
08:05 AM
I have also checked WindowsBuild property on Server 2016 and Server 2019 and both returned with incorrect 9600 value. The easiest way to use System Search to search ProductName or CurrentBuildNumber or any other Registry entries in |