1
0

simple_sign.cmd 445 B

123456789101112
  1. @echo off
  2. if not defined WAPROJECTS set WAPROJECTS=c:\projects
  3. if not defined CURSANDBOX set CURSANDBOX=%WAPROJECTS%
  4. set KEYFILE=%CURSANDBOX%\codesign\nullsoft_key_15_mar_2011_private.pfx
  5. %CURSANDBOX%\codesign\signtool.exe sign /p b05allisonZer0G /f "%KEYFILE%" /d %1 /du "http://www.winamp.com" /t http://timestamp.verisign.com/scripts/timstamp.dll /v %2
  6. SET errCode=%ERRORLEVEL%
  7. IF %errCode% NEQ 0 @echo SimpleSign Failed
  8. exit /B %errCode%