Skip to content

Commit dfe2e44

Browse files
create_installer.bat: deploying all MSCVC DLLs
1 parent 5d4de67 commit dfe2e44

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

installer/windows/create_installer.bat

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,9 @@ SET PATH=%QTDIR64%\bin\
4545
FOR %%p IN (binaries\64\plugin_*.dll) DO %QTDIR64%\bin\windeployqt.exe --dir binaries\64\Qt --release --force --no-system-d3d-compiler --no-compiler-runtime --no-translations %%p
4646
ENDLOCAL
4747

48-
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\msvcp140.dll binaries\64\msvcr\"
48+
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\msvcp140*.dll binaries\64\msvcr\"
4949
if not %errorlevel% == 0 goto dll_not_found
50-
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\msvcp140_1.dll binaries\64\msvcr\"
51-
if not %errorlevel% == 0 goto dll_not_found
52-
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\vcruntime140.dll binaries\64\msvcr\"
53-
if not %errorlevel% == 0 goto dll_not_found
54-
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\vcruntime140_1.dll binaries\64\msvcr\"
50+
%SYS64%\cmd.exe /c "xcopy /R /Y %SystemRoot%\System32\vcruntime140*.dll binaries\64\msvcr\"
5551
if not %errorlevel% == 0 goto dll_not_found
5652

5753
if not defined WIN_SDK (
@@ -88,4 +84,4 @@ exit /b 1
8884
ENDLOCAL
8985
echo Windows SDK not found (required for CRT DLLs)
9086
pause
91-
exit /b 1
87+
exit /b 1

0 commit comments

Comments
 (0)