Details |
Last modification |
View Log
| RSS feed
| Rev |
Author |
Line No. |
Line |
| 2551 |
dpurdie |
1 |
!macro GetDotNETVersion
|
|
|
2 |
Function GetDotNETVersion
|
|
|
3 |
Push $0
|
|
|
4 |
Push $1
|
|
|
5 |
|
|
|
6 |
System::Call "mscoree::GetCORVersion(w .r0, i ${NSIS_MAX_STRLEN}, *i) i .r1 ?u"
|
|
|
7 |
StrCmp $1 0 +2
|
|
|
8 |
StrCpy $0 "not found"
|
|
|
9 |
|
|
|
10 |
Pop $1
|
|
|
11 |
Exch $0
|
|
|
12 |
FunctionEnd
|
|
|
13 |
!macroend
|