make ${WinVerGetServicePackLevel} accept an output variable again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5807 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7524b7c256
commit
f1cd865190
2 changed files with 11 additions and 9 deletions
|
@ -239,11 +239,11 @@ Var OSVERSIONINFOEX_INIT
|
|||
${OrIf} ${IsServicePack} $0
|
||||
${OrIf} ${IsServicePack} $1
|
||||
|
||||
!insertmacro _WinVer_GetServicePackLevel
|
||||
${WinVerGetServicePackLevel} $2
|
||||
|
||||
DetailPrint "Service pack detection failed for ${NAME}"
|
||||
DetailPrint " Expected: ${SP}"
|
||||
DetailPrint " Got: $_LOGICLIB_TEMP"
|
||||
DetailPrint " Got: $2"
|
||||
|
||||
StrCpy $R0 "FAILURE"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue