How to detect if it is Windows 8 using Installshield?
-
29-10-2019 - |
Question
I am creating a new installer for Windows using InstallShield. I am new to InstallShield. In the installer I am to install one component only on windows 8.
So what should I put in the install condition for that component? Can I use VersionNT
or MsiNTProductType
.
However I could not find the value of these variables for Windows 8. Is there any other way of doing this?
Thanks in Advance.
Solution
Have you tried this condition: VersionNT > 601 ?
OTHER TIPS
FWIW, I usually avoid using OS Version Properties like this in conditions. What I usually try to do is ask myself what is it about that platform that is really important to me. Do I need a certain version of IIS? Do I need a certain service that's new in that version? Do I need a higher version of the .NET framework and so on.
Then I write a search and condition based on that relationship.