Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3e838c2

Browse files
committed
Added copying vcredist for Visual Studio 2019
1 parent b5ae4f0 commit 3e838c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/helpers/postgres_installer.cmd

+4
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ cp "%VCToolsRedistDir%vc_redist.x86.exe" "%BUILD_DIR%\vcredist\vcredist_x86_2017
3535
cp "%VCToolsRedistDir%vc_redist.x64.exe" "%BUILD_DIR%\vcredist\vcredist_x64_2017.exe"
3636
)
3737

38+
IF %REDIST_YEAR% == 2019 (
39+
cp "%VCToolsRedistDir%vc_redist.x86.exe" "%BUILD_DIR%\vcredist\vcredist_x86_2019.exe"
40+
cp "%VCToolsRedistDir%vc_redist.x64.exe" "%BUILD_DIR%\vcredist\vcredist_x64_2019.exe"
41+
)
3842

3943
REM Make directory for installers
4044
MKDIR "%BUILD_DIR%\installers"

0 commit comments

Comments
 (0)