Created
July 13, 2019 12:09
-
-
Save nathan130200/efb750324383bc3ccc2479a30f5505f5 to your computer and use it in GitHub Desktop.
Install all VSIX in current directory using windows batch file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set app="C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service\VSIXInstaller.exe" | |
for /r %%f in (*.vsix) do ( | |
call :setup "%%f" | |
) | |
goto end | |
:setup | |
echo. | |
call :print install package %1 | |
%app% %1 /q | |
if %errorlevel% neq 0 ( | |
call :print setup failed! | |
) else ( | |
call :print setup done! | |
) | |
goto:eof | |
:end | |
call :print setup finished! | |
pause | |
echo [%date% %time%]: %* | |
echo [%date% %time%]: %*>>output_log.txt | |
goto:eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment