/trunk/_Batch/processDir.bat |
---|
2,11 → 2,11 |
echo === Process %~1 === |
call "%~dp0\cleanDir.bat" "%~1" |
call "%~dp0\signExe.bat" "%~1\*.exe" |
call "%~dp0\signExe.bat" "%~1\*.dll" |
call "%~dp0\signExe.bat" "%~1\*.ocx" |
call "%~dp0\signExe.bat" "%~1\*.msi" |
call "%~dp0\signExe.bat" "%~1\*.cab" |
call "%~dp0\signExe.bat" "%~1\*.xpi" |
call "%~dp0\signExe.bat" "%~1\*.xap" |
call "%~dp0cleanDir.bat" "%~1\" |
call "%~dp0signExe.bat" "%~1\*.exe" |
call "%~dp0signExe.bat" "%~1\*.dll" |
call "%~dp0signExe.bat" "%~1\*.ocx" |
call "%~dp0signExe.bat" "%~1\*.msi" |
call "%~dp0signExe.bat" "%~1\*.cab" |
call "%~dp0signExe.bat" "%~1\*.xpi" |
call "%~dp0signExe.bat" "%~1\*.xap" |
/trunk/_Batch/cleanDir.bat |
---|
1,7 → 1,7 |
@echo off |
if exist %~1\__history rd /s /q %~1\__history |
if exist %~1\*.identcache del %~1\*.identcache |
if exist %~1\*.dcu del %~1\*.dcu |
if exist %~1\*.~* del %~1\*.~* |
if exist %~1\*.local del %~1\*.local |
if exist %~1\*.tmp del %~1\*.tmp |
if exist "%~1\__history" rd /s /q "%~1\__history" |
if exist "%~1\*.identcache" del "%~1\*.identcache" |
if exist "%~1\*.dcu" del "%~1\*.dcu" |
if exist "%~1\*.~*" del "%~1\*.~*" |
if exist "%~1\*.local" del "%~1\*.local" |
if exist "%~1\*.tmp" del "%~1\*.tmp" |
/trunk/_Batch/signExe.bat |
---|
1,13 → 1,14 |
@echo off |
rem SET TSA=http://timestamp.verisign.com/scripts/timstamp.dll |
REM SET TSA=http://timestamp.verisign.com/scripts/timstamp.dll |
SET TSA=http://time.certum.pl/ |
SET NAME=ViaThinkSoft OpenSource Application |
SET URL=http://www.viathinksoft.de/ |
echo Signing %1 |
for %%i in (%1) do ( |
echo. |
echo Found %%i |
echo Extended: %%~fi |
18,14 → 19,9 |
REM Bereits signiert? |
signtool.exe verify /pa "%%~fi" |
rem IF %ERRORLEVEL% == 0 GOTO end |
IF ERRORLEVEL 1 ( |
signtool.exe sign -d "%NAME%" -du "%URL%" -a -t "%TSA%" "%%~fi" |
) |
cd .. |
) |