sign.cmd 803 B

12345678910111213141516171819202122
  1. @echo off
  2. REM set SIGNNAME=Winamp %WINAMP_VERSION_MAJOR%.%WINAMP_VERSION_MINOR%%WINAMP_VERSION_MINOR_SECOND% %%~j
  3. signtool.exe sign /f Winamp_SA.pfx /p WaWa!_59_!WaWa /t http://timestamp.digicert.com /du "http://www.winamp.com" /d "Winamp 5.9" /v Winamp59_9999_final_full_en-us.exe
  4. REM ___________________________________________________________________
  5. REM if not defined WAPROJECTS set WAPROJECTS=c:\projects
  6. REM if not defined CURSANDBOX set CURSANDBOX=%WAPROJECTS%
  7. REM set KEYFILE=%CURSANDBOX%\codesign\WinampSA.pfx
  8. REM %CURSANDBOX%\codesign\signtool.exe sign /f %KEYFILE% /p !Wa!Wa!5_6_7_8!Wa!Wa! /d %1 /du "http://www.winamp.com" /t http://timestamp.comodoca.com/authenticode /v %2
  9. SET errCode=%ERRORLEVEL%
  10. IF %errCode% NEQ 0 @echo SimpleSign Failed
  11. pause /B %errCode%
  12. exit