w10install/scripts/install-vcredist.cmd

41 lines
577 B
Batchfile
Raw Permalink Normal View History

@echo off
set SCRIPTS=..\scripts
set SOFTWARE=..\software
echo ####### %0 #######
cd %SOFTWARE%
2023-04-21 14:09:14 +02:00
for %%A in (
vcredist2010-setup
vcredist2012-setup
vcredist2013-setup
vcredist-setup
2023-04-21 15:43:29 +02:00
vcredist2010x86-setup
vcredist2012x86-setup
vcredist2013x86-setup
vcredistx86-setup
2023-04-21 14:09:14 +02:00
) do (
if NOT EXIST %%A.exe (
echo WARNING: %%A.exe not found!
) else (
@echo on
echo installing %%A.exe ...
%%A.exe /install /passive /norestart
@echo off
)
)
rem go back ...
cd %SCRIPTS%
echo ####### %0 #######