- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: hide a feature depend on the Windows type at MSI project
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
hide a feature depend on the Windows type at MSI project
Hi,
I am using Install Shield Pro 2016 and MSI project.
I have a root feature with the level = 101
This feature have sub features with level = 1.
What I need to do is to hide a sub feature if the Windows is under 10.
I tried to add a condition to the feature like this:
Level=0, condition= VersionNT<=603 but as a result I do not see the feature at Window 10 so this is not working...
Any help will be very helpful to me.
Thanks
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @lshadmi ,
Can you see the condition is working if you put the version number in double quotes, you can get the example from the below article for Install condition:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@banna_kHi
didn't helped same result on Windows 10 64bit the feature is hidden:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I just run a small test with new msi project and label that show the value of the VersionNT and on Windows 10 I get 603
isn't 603 supposed to be for Windows 8.1?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @lshadmi ,
When you install an .msi installation package on Windows 10, Windows Server 2016 or Windows Server 2019, the VersionNT value is 603.
you can have your own custom action to see whether it is windows 10/windows 2019 by checking the build number of targeting operating system.