![]() |
#1 |
Member
Join Date: Feb 2009
Posts: 69
|
Windows 11 detection
Hi
is there a way to detect windows 11? WinVer.nsh and https://nsis.sourceforge.io/Get_Windows_version not updated for it thanks |
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,504
|
Why do you care? It is better to test for features rather than the version.
If there is no other way; ${If} ${AtLeastBuild} 22000 IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#3 |
Member
Join Date: Feb 2009
Posts: 69
|
I have a software that has a specific behavior in w11 and I have to create a 'patch' for it
I'll test soon this code also: PHP Code:
|
![]() |
![]() |
![]() |
#4 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,504
|
While you wait for the next release:
PHP Code:
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#5 |
Member
Join Date: Feb 2009
Posts: 69
|
good,thanks
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|