anchor.diff:  ECHO.
   
   
  -ECHO --- SIGN SOLUTION
  +CERTUTIL -silent -verifystore -user My %SIGN_HASH% > NUL
  +IF %ERRORLEVEL%==0 (
  +    ECHO --- SIGN SOLUTION
  +    ECHO.
  +    
  +    IF [%SIGN_TIMESTAMPURL%]==[] (
  +        %SIGN_TOOL% sign /s "My" /sha1 %SIGN_HASH% /v %FILES_EXECUTABLE%
  +    ) ELSE (
  +        %SIGN_TOOL% sign /s "My" /sha1 %SIGN_HASH% /tr %SIGN_TIMESTAMPURL% /v %FILES_EXECUTABLE%
  +    )
  +    IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
  +) ELSE (
  +    ECHO --- DID NOT SIGN SOLUTION
  +    IF NOT [%SIGN_HASH%]==[] (
  +        ECHO.
  +        ECHO No certificate with hash %SIGN_HASH%.
  +    ) 
  +)
   ECHO.
  -
  -IF [%CERTIFICATE_TIMESTAMP%]==[] (
  -    "\Tools\SignTool\signtool.exe" sign /s "My" /n %CERTIFICATE_SUBJECT% /v %FILES_EXECUTABLE%
  -) ELSE (
  -    "\Tools\SignTool\signtool.exe" sign /s "My" /n %CERTIFICATE_SUBJECT% /tr %CERTIFICATE_TIMESTAMP% /v %FILES_EXECUTABLE%
  -)
  -IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
  -
   ECHO.
   
   
  
positive.code: @ECHO OFF
  
  SET            FILE_SETUP=".\VhdAttach.iss"
  SET         FILE_SOLUTION="..\Source\VhdAttach.sln"
  SET      FILES_EXECUTABLE="..\Binaries\VhdAttach.exe" "..\Binaries\VhdAttachService.exe"
  SET           FILES_OTHER="..\Binaries\ReadMe.txt"
  SET   CERTIFICATE_SUBJECT="Josip Medved"
  SET CERTIFICATE_TIMESTAMP=
  
  
  ECHO --- BUILD SOLUTION
  
negative.code: ECHO Setup is in file %_SETUPEXE%
  
  ECHO.
  ECHO.
  
  
  CERTUTIL -silent -verifystore -user My %SIGN_HASH% > NUL
  IF %ERRORLEVEL%==0 (
      ECHO --- SIGN SETUP
      ECHO.
      
      IF [%SIGN_TIMESTAMPURL%]==[] (
          %SIGN_TOOL% sign /s "My" /sha1 %SIGN_HASH% /v ".\Temp\%_SETUPEXE%"
      ) ELSE (
          %SIGN_TOOL% sign /s "My" /sha1 %SIGN_HASH% /tr %SIGN_TIMESTAMPURL% /v ".\Temp\%_SETUPEXE%"
      )
      IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
  ) ELSE (
      ECHO --- DID NOT SIGN SETUP
  )
  ECHO.
  ECHO.
  
  
  ECHO --- RELEASE
  ECHO.
  
  MKDIR "..\Releases" 2> NUL
  MOVE ".\Temp\*.*" "..\Releases\." > NUL
  IF ERRORLEVEL 1 PAUSE && EXIT /B %ERRORLEVEL%
  RMDIR /Q /S ".\Temp"
  
  ECHO.
  
  
  ECHO --- DONE
  ECHO.
  
  PAUSE
  