diff --git a/installer/install.bat b/installer/install.bat index e2c8260114..a63b8c2ead 100644 --- a/installer/install.bat +++ b/installer/install.bat @@ -20,10 +20,10 @@ set MICROMAMBA_BINARY_FILE=%cd%\installer_files\micromamba_win_x64.exe @rem figure out whether git and conda needs to be installed set PACKAGES_TO_INSTALL= -call conda --version "" >tmp/stdout.txt 2>tmp/stderr.txt +call conda --version >tmp/stdout.txt 2>tmp/stderr.txt if "%ERRORLEVEL%" NEQ "0" set PACKAGES_TO_INSTALL=%PACKAGES_TO_INSTALL% conda -call git --version "" >tmp/stdout.txt 2>tmp/stderr.txt +call git --version >tmp/stdout.txt 2>tmp/stderr.txt if "%ERRORLEVEL%" NEQ "0" set PACKAGES_TO_INSTALL=%PACKAGES_TO_INSTALL% git @rem (if necessary) install git and conda into a contained environment