remove some code duplication
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5796 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
ffdb62d0c6
commit
96327d2335
1 changed files with 6 additions and 12 deletions
|
@ -17,6 +17,8 @@
|
|||
#
|
||||
# Function PrintSysVersion
|
||||
#
|
||||
# System::Alloc $1
|
||||
# Pop $0
|
||||
# System::Call *$0(ir1)
|
||||
# System::Call kernel32::GetVersionEx(ir0)i.R0
|
||||
#
|
||||
|
@ -41,34 +43,26 @@
|
|||
#
|
||||
# DetailPrint $R3
|
||||
#
|
||||
# System::Free $0
|
||||
#
|
||||
# FunctionEnd
|
||||
#
|
||||
# Section
|
||||
#
|
||||
# System::Alloc 156
|
||||
# Pop $0
|
||||
#
|
||||
# DetailPrint "# OSVERSIONINFOEX"
|
||||
#
|
||||
# StrCpy $2 "$$OSVERSIONINFOEX"
|
||||
# StrCpy $1 156
|
||||
# StrCpy $2 "$$OSVERSIONINFOEX"
|
||||
# Call PrintSysVersion
|
||||
#
|
||||
# System::Free $0
|
||||
#
|
||||
# DetailPrint ""
|
||||
#
|
||||
# System::Alloc 156
|
||||
# Pop $0
|
||||
#
|
||||
# DetailPrint "# OSVERSIONINFO"
|
||||
#
|
||||
# StrCpy $2 "$$OSVERSIONINFO"
|
||||
# StrCpy $1 148
|
||||
# StrCpy $2 "$$OSVERSIONINFO"
|
||||
# Call PrintSysVersion
|
||||
#
|
||||
# System::Free $0
|
||||
#
|
||||
# SectionEnd
|
||||
#
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue