2019-06-16 16:29:50 -07:00
|
|
|
@echo off
|
|
|
|
cd "Virtual comport driver"
|
2019-06-16 16:32:52 -07:00
|
|
|
cd Win8
|
2019-06-16 16:29:50 -07:00
|
|
|
|
|
|
|
echo Let's install VCP driver silently
|
|
|
|
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto VCP_X64
|
|
|
|
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto VCP_X64
|
|
|
|
start "" dpinst_x86.exe /s
|
|
|
|
goto VCP_END
|
|
|
|
:VCP_X64
|
|
|
|
start "" dpinst_amd64.exe /s
|
|
|
|
:VCP_END
|
|
|
|
|
|
|
|
cd ../..
|
|
|
|
echo Done installing VCP silently
|
|
|
|
pwd
|
|
|
|
|
|
|
|
echo Let's install ST-Link driver silently
|
|
|
|
cd ST-LINK_USB_V2_1_Driver
|
|
|
|
|
|
|
|
@echo off
|
2021-10-15 18:00:17 -07:00
|
|
|
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" goto ST_X64
|
|
|
|
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" goto ST_X64
|
2019-06-16 16:29:50 -07:00
|
|
|
start "" dpinst_x86.exe /sw
|
2021-10-15 18:00:17 -07:00
|
|
|
goto ST_END
|
|
|
|
:ST_X64
|
2019-06-16 16:29:50 -07:00
|
|
|
start "" dpinst_amd64.exe /sw
|
2021-10-15 18:00:17 -07:00
|
|
|
:ST_END
|
|
|
|
|
|
|
|
|
2019-06-30 22:10:38 -07:00
|
|
|
exit
|