@echo off
if "%1" == "install" (
  if "%OCOS_ENABLE_AZURE%"=="1" (
    pip install cmake
    if not exist "%ProgramFiles%\Miniconda3\python3.exe" (
      mklink "%ProgramFiles%\Miniconda3\python3.exe" "%ProgramFiles%\Miniconda3\python.exe"
    )
  )
) else (
  if "%OCOS_ENABLE_AZURE%"=="1" (
    pip uninstall cmake
    if exist "%ProgramFiles%\Miniconda3\python3.exe" (
      del "%ProgramFiles%\Miniconda3\python3.exe"
    )
  )
)