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:
itsmattkc 2023-10-30 19:23:04 -07:00
parent 9dd081add8
commit ee7ea814de

View file

@ -30,6 +30,15 @@ OutFile "dotnet95.exe"
Section 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 SetOutPath $PROGRAMFILES
File /r "..\bin\dotnetfx20\Program Files\*" File /r "..\bin\dotnetfx20\Program Files\*"