anchor.diff:  )
   
   IF EXIST %SIGN_TOOL_1% (
  -    ECHO Windows SignTool 8.1
  +    ECHO Windows SignTool 10 ^(ClickOnce^)
       SET SIGN_TOOL=%SIGN_TOOL_1%
   ) ELSE (
       IF EXIST %SIGN_TOOL_2% (
  -        ECHO Windows SignTool 8.0
  +        ECHO Windows SignTool 10 ^(App Certification Kit^)
           SET SIGN_TOOL=%SIGN_TOOL_2%
       ) ELSE (
  -        ECHO Cannot find Windows SignTool^^!
  -        PAUSE && EXIT /B 255
  +        IF EXIST %SIGN_TOOL_3% (
  +            ECHO Windows SignTool 10 ^(SDK^)
  +            SET SIGN_TOOL=%SIGN_TOOL_3%
  +        ) ELSE (
  +            ECHO Cannot find Windows SignTool^^!
  +            PAUSE && EXIT /B 255
  +        )
       )
   )
   
  
positive.code:     ECHO --- BUILD ZIP
      ECHO.
  
      ECHO Zipping into %_SETUPEXE:.exe=.zip%
      "%PROGRAMFILES%\WinRAR\WinRAR.exe" a -afzip -ep -m5 ".\Temp\%_SETUPEXE:.exe=.zip%" %FILE_EXECUTABLE% %FILES_OTHER%
      IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
  
      ECHO.
      ECHO.
  
negative.code: SET  FILES_EXECUTABLE="..\Binaries\HamCheck.exe" "..\Binaries\HamCheckExam.dll"
  SET       FILES_OTHER="..\Binaries\ReadMe.txt" "..\Binaries\License.txt"
  
  SET   COMPILE_TOOL_15="%PROGRAMFILES(X86)%\Microsoft Visual Studio\2017\Community\Common7\IDE\devenv.exe"
  SET   COMPILE_TOOL_14="%PROGRAMFILES(X86)%\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe"
  SET  COMPILE_TOOL_14E="%PROGRAMFILES(X86)%\Microsoft Visual Studio 14.0\Common7\IDE\WDExpress.exe"
  
  SET        SETUP_TOOL="%PROGRAMFILES(x86)%\Inno Setup 5\iscc.exe"
  SET        MERGE_TOOL="%PROGRAMFILES(x86)%\Microsoft\ILMerge\ILMerge.exe"
  
  SET       SIGN_TOOL_1="%PROGRAMFILES(X86)%\Microsoft SDKs\ClickOnce\SignTool\signtool.exe"
  SET       SIGN_TOOL_2="%PROGRAMFILES(X86)%\Windows Kits\10\App Certification Kit\signtool.exe"
  SET       SIGN_TOOL_3="%PROGRAMFILES(X86)%\Windows Kits\10\bin\x86\signtool.exe"
  SET   SIGN_THUMBPRINT="df26e797ffaee47a40c1fab756e995d3763da968"
  SET SIGN_TIMESTAMPURL="http://timestamp.comodoca.com/rfc3161"
  
  SET        GIT_TOOL_1="%PROGRAMFILES%\Git\mingw64\bin\git.exe"
  
  SET          RAR_TOOL="%PROGRAMFILES%\WinRAR\WinRAR.exe"
  
  
  ECHO --- DISCOVER TOOLS
  ECHO.
  
  IF EXIST %COMPILE_TOOL_15% (
      ECHO Visual Studio 2017
      SET COMPILE_TOOL=%COMPILE_TOOL_15%
  ) ELSE (
      IF EXIST %COMPILE_TOOL_14% (
          ECHO Visual Studio 2015
          SET COMPILE_TOOL=%COMPILE_TOOL_14%
      ) ELSE (
          IF EXIST %COMPILE_TOOL_14E% (
              ECHO Visual Studio Express 2015
              SET COMPILE_TOOL=%COMPILE_TOOL_14E%
          ) ELSE (
              ECHO Cannot find Visual Studio^^!
              PAUSE && EXIT /B 255
          )
      )
  )
  