Subversion Repositories delphiutils

Rev

Rev 62 | Go to most recent revision | 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. for %%i in (%1) do (
  10.  
  11. echo.
  12. echo Found %%i
  13. echo Extended: %%~fi
  14. echo.
  15.  
  16. cd "%~dp0"
  17.  
  18. REM Bereits signiert?
  19. signtool.exe verify /pa "%%~fi"
  20.  
  21. rem IF %ERRORLEVEL% == 0 GOTO end
  22.  
  23. IF ERRORLEVEL 1 (
  24.  
  25. signtool.exe sign -d "%NAME%" -du "%URL%" -a -t "%TSA%" "%%~fi"
  26.  
  27. )
  28.  
  29. cd ..
  30.  
  31. )
  32.