cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
lshadmi
Flexera beginner

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

0 Kudos
4 Replies
Flexera banna_k
Flexera

Re: hide a feature depend on the Windows type at MSI project

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:

https://www.flexerasoftware.com/blog/software-installation/2010/11/using-msi-launch-conditions-to-pr... 

0 Kudos
lshadmi
Flexera beginner

Re: hide a feature depend on the Windows type at MSI project

@banna_kHi

didn't helped same result on Windows 10 64bit the feature is hidden:

0 Kudos
lshadmi
Flexera beginner

Re: hide a feature depend on the Windows type at MSI project

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?

 

0 Kudos
Flexera banna_k
Flexera

Re: hide a feature depend on the Windows type at MSI project

Hi @lshadmi ,

When you install an .msi installation package on Windows 10, Windows Server 2016 or Windows Server 2019, the VersionNT value is 603.

https://support.microsoft.com/en-us/help/3202260/versionnt-value-for-windows-10-and-windows-server-2...

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.

0 Kudos