New upstream version 26.1.0+dfsg1

This commit is contained in:
Sebastian Ramacher 2020-12-22 18:32:50 +01:00
parent 040dcc3fc2
commit 013818c4af
594 changed files with 19576 additions and 4478 deletions

View file

@ -104,35 +104,34 @@ Function PreReqCheck
${EndIf}
!ifdef INSTALL64
; 64 bit Visual Studio 2017 runtime check
; 64 bit Visual Studio 2019 runtime check
ClearErrors
SetOutPath "$TEMP\OBS"
File check_for_64bit_visual_studio_2017_runtimes.exe
ExecWait "$TEMP\OBS\check_for_64bit_visual_studio_2017_runtimes.exe" $R0
Delete "$TEMP\OBS\check_for_64bit_visual_studio_2017_runtimes.exe"
RMDir "$TEMP\OBS"
IntCmp $R0 126 vs2017Missing_64 vs2017OK_64
vs2017Missing_64:
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Your system is missing runtime components that ${APPNAME} requires. Would you like to download them?" IDYES vs2017true_64 IDNO vs2017false_64
vs2017true_64:
ExecShell "open" "https://obsproject.com/visual-studio-2017-runtimes-64-bit"
vs2017false_64:
SetOutPath "$PLUGINSDIR"
File check_for_64bit_visual_studio_2019_runtimes.exe
ExecWait "$PLUGINSDIR\check_for_64bit_visual_studio_2019_runtimes.exe" $R0
Delete "$PLUGINSDIR\check_for_64bit_visual_studio_2019_runtimes.exe"
IntCmp $R0 126 vs2019Missing_64 vs2019OK_64
vs2019Missing_64:
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Your system is missing runtime components that ${APPNAME} requires. Would you like to download them?" IDYES vs2019true_64 IDNO vs2019false_64
vs2019true_64:
ExecShell "open" "https://obsproject.com/visual-studio-2019-runtimes-64-bit"
vs2019false_64:
Quit
vs2017OK_64:
vs2019OK_64:
ClearErrors
!else
; 32 bit Visual Studio 2017 runtime check
; 32 bit Visual Studio 2019 runtime check
ClearErrors
GetDLLVersion "vcruntime140.DLL" $R0 $R1
GetDLLVersion "msvcp140.DLL" $R0 $R1
IfErrors vs2017Missing_32 vs2017OK_32
vs2017Missing_32:
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Your system is missing runtime components that ${APPNAME} requires. Would you like to download them?" IDYES vs2017true_32 IDNO vs2017false_32
vs2017true_32:
ExecShell "open" "https://obsproject.com/visual-studio-2017-runtimes-32-bit"
vs2017false_32:
IfErrors vs2019Missing_32 vs2019OK_32
vs2019Missing_32:
MessageBox MB_YESNO|MB_ICONEXCLAMATION "Your system is missing runtime components that ${APPNAME} requires. Would you like to download them?" IDYES vs2019true_32 IDNO vs2019false_32
vs2019true_32:
ExecShell "open" "https://obsproject.com/visual-studio-2019-runtimes-32-bit"
vs2019false_32:
Quit
vs2017OK_32:
vs2019OK_32:
ClearErrors
!endif