updated GetWindowsVersion

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2450 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
joostverburg 2003-04-07 17:55:59 +00:00
parent c1cc4d93b8
commit a1ecd322a7
2 changed files with 3 additions and 1 deletions

View file

@ -161,7 +161,8 @@
\c
\c ReadRegStr $R0 HKLM \
\c "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
\c StrCmp $R0 "" 0 lbl_winnt
\c
\c IfErrors 0 lbl_winnt
\c
\c ; we are not NT
\c ReadRegStr $R0 HKLM \