Announcement
Collapse
No announcement yet.
Windows 10 Detection
Collapse
X
-
Oh didn't realise that mate thanks it actually compiles now! I was going mad thinking there was an issue with my code.
-
-
Originally Posted by jweinraub View Post3.0b1
If you for some reason want to stick with b1 you can manually set ManifestSupportedOS with the Win10 GUID and update WinVer.nsh from the NSIS source code, or use a plugin to detect the version. There is some more information in the other Win10 threads here on the forum...
Leave a comment:
-
-
Windows 10 Detection
I am getting an error here and I am not too sure why as my other OS logics are identical and it seems to work.
PHP Code:${If} ${IsWin10}
MessageBox MB_OK|MB_ICONEXCLAMATION "You are using an elite version of Windows 10 bro" IDOK
${EndIf}
As this works:code:
!insertmacro: macro "_If" requires 4 parameter(s), passed 2!
PHP Code:${If} ${IsWin8}
${OrIf} ${IsWin8.1}
MessageBox MB_YESNO|MB_ICONEXCLAMATION|MB_TOPMOST|MB_DEFBUTTON2 \
"This Foobar, Inc software package is being tested on, but is not fully supported on Windows 8.$\r$\n$\r$\nFoobar Inc. cannot \
provide technical support for this installation.$\r$\n$\r$\nDo you still want to continue with the installation?" \
IDYES further IDNO done
${EndIf}
Leave a comment: