Small and quick Detect Internet Explorer Version: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Wikipedia python library) |
m (Updated author and download links, and changed format of some pages.) |
||
Line 26: | Line 26: | ||
</highlight-nsis> | </highlight-nsis> | ||
Page author: Joelito | Page author: [[User:Joelito|Joelito]] |
Revision as of 12:26, 23 April 2005
The Function
;This is my small contrib for Nsis. ;Quick and small script for detect IE Version ;Made by me: Dark_Boy :p ;Note: didn�t steal code from intersol... ;this was based on GetDllversion... !define IEver "5" ;Put the minimum version of IE Function GetIEVer GetDllVersion "$SYSDIR\mshtml.dll" $R0 $R2 IntOp $R2 $R0 / 0x00010000 ;First digit, dude StrCpy $0 "$R2" IntCmp $0 ${IEver} SameVer BadVer GoodVer BadVer: MessageBox MB_YESNO|MB_ICONSTOP "You got $0.x of Internet Explorer. $\r$\We need ${IEver}.x or more. $\r$\n�Continue?" IDYES GoodVer Abort SameVer: GoodVer: FunctionEnd Function .onInit Call GetIEVer FunctionEnd
Page author: Joelito