Subversion Repositories delphiutils

Rev

Rev 65 | View as "text/x-msdos-batch" | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. @echo off
  2.  
  3. REM SET TSA=http://timestamp.verisign.com/scripts/timstamp.dll
  4. SET TSA=http://time.certum.pl/
  5.  
  6. SET NAME=ViaThinkSoft OpenSource Application
  7. SET URL=http://www.viathinksoft.de/
  8.  
  9. echo Signing %1
  10.  
  11. for %%i in (%1) do (
  12.         echo.
  13.         echo Found %%i
  14.         echo Extended: %%~fi
  15.         echo.
  16.  
  17.         cd "%~dp0"
  18.  
  19.         REM Bereits signiert?
  20.         signtool.exe verify /pa "%%~fi"
  21.  
  22.         IF ERRORLEVEL 1 (
  23.                 signtool.exe sign -d "%NAME%" -du "%URL%" -a -t "%TSA%" "%%~fi"
  24.         )
  25.  
  26.         cd ..
  27. )
  28.