mirror of
https://github.com/itsmattkc/dotnet9x.git
synced 2025-01-22 09:11:55 -05:00
check for msie501
Later I'd like to automatically install it, which we should be able to do with "ie5setup /q", but I'll need to learn a little more about NSIS first to pull that off nicely
This commit is contained in:
parent
9dd081add8
commit
ee7ea814de
1 changed files with 9 additions and 0 deletions
|
@ -30,6 +30,15 @@ OutFile "dotnet95.exe"
|
|||
|
||||
Section
|
||||
|
||||
### Check for MSIE501 ###
|
||||
|
||||
# Require version 5.00.2919.6306, or 0x00050000 (327680) 0x0B6718A2 (191305890) converted to words
|
||||
GetDLLVersion "$SYSDIR\shdocvw.dll" $R0 $R1
|
||||
IntCmp $R0 327680 +4 +2 +4
|
||||
IntCmp $R1 191305890 +3 0 +3
|
||||
MessageBox MB_OK ".NET Framework 2.0 requires Internet Explorer 5.01"
|
||||
Abort
|
||||
|
||||
SetOutPath $PROGRAMFILES
|
||||
File /r "..\bin\dotnetfx20\Program Files\*"
|
||||
|
||||
|
|
Loading…
Reference in a new issue