anchor.diff:  echo Build YaizuDbTool
   echo =========================================
   
  -set CURRENTPATH=%cd%
  -set DEVENV="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe"
  -set SEVENZIP="C:\Program Files\7-Zip\7z.exe"
  -set LCOUNTER="C:\Program Files (x86)\lcounter\lcounter.exe"
  +if defined APPVEYOR (
  +  set MSBUILD="msbuild.exe"
  +  set DEVENV="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe"
  +  set SEVENZIP="7z.exe"
  +  set LCOUNTER=""
  +)
   
  -echo;
  -echo This batch file requires softwares shown below.
  -echo (1) Microsoft Visual Studio 2017
  -echo (2) 7-Zip 9.20
  -echo (3) Line Counter
  +if not defined APPVEYOR (
  +  set MSBUILD="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe"
  +  set DEVENV="C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe"
  +  set SEVENZIP="C:\Program Files\7-Zip\7z.exe"
  +  set LCOUNTER="C:\Program Files (x86)\lcounter\lcounter.exe"
  +)
   
  -if not exist %DEVENV% exit
  -if not exist %SEVENZIP% exit
  -if not exist %LCOUNTER% exit
  +if not defined APPVEYOR (
  +  echo;
  +  echo This batch file requires softwares shown below.
  +  echo 1. Microsoft Visual Studio 2017
  +  echo 2. 7-Zip 9.20
  +  echo 3. Line Counter
  +
  +  if not exist %MSBUILD% (
  +    exit
  +  ) else if not exist %DEVENV% (
  +    exit
  +  ) else if not exist %SEVENZIP% (
  +    exit
  +  ) else if not exist %LCOUNTER% (
  +    exit
  +  )
  +)
   
   
   rem ########## Initializing ##########
  
positive.code: echo Making installer...
  %DEVENV% "setup\cmdfreak.sln" /rebuild Release
  mkdir deployment
  copy setup\Release\cmdfreak.msi deployment
  
  
  rem ########## ZIP packing ##########
  echo;
  echo ZIP packing stage...
  copy ..\doc\readme\ReadmeJPN.txt deployment
  copy ..\doc\readme\ReadmeENG.txt deployment
  cd deployment
  %SEVENZIP% a cfk120.zip cmdfreak.msi
  %SEVENZIP% a cfk120.zip ReadmeENG.txt
  
negative.code: if exist webapp rmdir /S /Q webapp
  if exist deployment rmdir /S /Q deployment
  
  
  rem ########## Building ##########
  echo;
  echo Building stkdatagui.sln...
  %MSBUILD% "..\..\YaizuComLib\src\stkdatagui\stkdatagui.sln" /t:clean;build /p:Configuration=Release
  IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
  echo Building sample.sln...
  %MSBUILD% "..\src\restapi\sample.sln" /t:clean;build /p:Configuration=Release
  IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
  echo Building stkwebappcmd.sln...
  %MSBUILD% "..\..\YaizuComLib\src\stkwebapp\stkwebappcmd.sln" /t:clean;build /p:Configuration=Release
  IF %ERRORLEVEL% NEQ 0 goto ERRORRAISED
  
  
  rem ########## Checking file existence ##########
  echo;
  echo Checking "stkdatagui.exe" existence...
  if not exist "..\..\YaizuComLib\src\stkdatagui\Release\stkdatagui.exe" goto ERRORRAISED
  echo Checking "nginx-1.12.2.zip" existence...
  if not exist "..\..\YaizuComLib\src\stkwebapp\nginx-1.12.2.zip" goto ERRORRAISED
  echo Checking "stkwebapp.exe" existence...
  if not exist "..\src\restapi\Release\stkwebapp.exe" goto ERRORRAISED
  echo Checking "stkwebappcmd.exe" existence...
  if not exist "..\..\YaizuComLib\src\stkwebapp\Release\stkwebappcmd.exe" goto ERRORRAISED
  
  
  rem ########## Deployment of files and folders ##########
  