Require .NET Framework >= 4.7.2 on Windows.
This commit is contained in:
@@ -176,15 +176,12 @@ SectionEnd
|
|||||||
;***************************
|
;***************************
|
||||||
Section "-DotNet" DotNet
|
Section "-DotNet" DotNet
|
||||||
ClearErrors
|
ClearErrors
|
||||||
ReadRegDWORD $0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Client" "Install"
|
; https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed
|
||||||
|
ReadRegDWORD $0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Release"
|
||||||
IfErrors error 0
|
IfErrors error 0
|
||||||
IntCmp $0 1 0 error 0
|
IntCmp $0 461808 done error done
|
||||||
ClearErrors
|
|
||||||
ReadRegDWORD $0 HKLM "SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" "Install"
|
|
||||||
IfErrors error 0
|
|
||||||
IntCmp $0 1 done error done
|
|
||||||
error:
|
error:
|
||||||
MessageBox MB_OK ".NET Framework v4.5 or later is required to run OpenRA."
|
MessageBox MB_OK ".NET Framework v4.7.2 or later is required to run OpenRA."
|
||||||
Abort
|
Abort
|
||||||
done:
|
done:
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|||||||
Reference in New Issue
Block a user