Subversion Repositories DevTools

Rev

Blame | Last modification | View Log | RSS feed

!macro GetDotNETVersion
    Function GetDotNETVersion
        Push $0
        Push $1
        
        System::Call "mscoree::GetCORVersion(w .r0, i ${NSIS_MAX_STRLEN}, *i) i .r1 ?u"
        StrCmp $1 0 +2
        StrCpy $0 "not found"
        
        Pop $1
        Exch $0
    FunctionEnd
!macroend