Added GetWinVer instruction

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7309 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2021-08-29 18:39:07 +00:00
parent cdffbfe870
commit 52d6782447
14 changed files with 257 additions and 31 deletions

View file

@ -51,6 +51,14 @@ The error flag is set if the shortcut cannot be created (i.e. either of the path
\c "some command line parameters" "$INSTDIR\My Program.exe" 2 SW_SHOWNORMAL \
\c ALT|CONTROL|SHIFT|F5 "a description"
\S2{getwinver} GetWinVer
\c user_var(output) Major|Minor|Build|ServicePack
Gets the Windows version as reported by GetVersionEx. WinVer.nsh is the preferred method for performing Windows version checks.
\c GetWinVer $1 Build
\S2{getdllversion} GetDLLVersion
\c filename user_var(high dword output) user_var(low dword output)

View file

@ -18,6 +18,8 @@ Released on ???? ??th, 20??
\b Added \cw{$USER..} and \cw{$COMMON..} alias constants
\b Added \R{getwinver}{GetWinVer} instruction
\b Disallow start maximized mode
\b Added /LAUNCH compiler switch