Subversion Repositories delphiutils

Compare Revisions

Regard whitespace Rev 64 → Rev 65

/trunk/_Batch/processDir.bat
2,6 → 2,11
 
echo === Process %~1 ===
 
call "%%~dp0%%\cleanDir.bat" "%~1"
call "%%~dp0%%\signExe.bat" "%~1\*.exe"
call "%%~dp0%%\signExe.bat" "%~1\*.dll"
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"
/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,24 → 1,31
@echo on
@echo off
 
SET XXX=%~f1
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/
 
for %%i in (%1) do (
 
echo.
echo Found %%i
echo Extended: %%~fi
echo.
 
cd "%~dp0"
 
if not exist "%XXX%" goto end
 
REM Bereits signiert?
signtool.exe verify /pa "%XXX%"
signtool.exe verify /pa "%%~fi"
 
IF %ERRORLEVEL% == 0 GOTO end
rem IF %ERRORLEVEL% == 0 GOTO end
 
rem SET TSA=http://timestamp.verisign.com/scripts/timstamp.dll
SET TSA=http://time.certum.pl/
IF ERRORLEVEL 1 (
 
SET NAME=ViaThinkSoft OpenSource Application
SET URL=http://www.viathinksoft.de/
signtool.exe sign -d "%NAME%" -du "%URL%" -a -t "%TSA%" "%%~fi"
 
signtool.exe sign -d "%NAME%" -du "%URL%" -a -t "%TSA%" "%XXX%"
)
 
:end
cd ..
 
cd ..
)
/trunk/_PostBuild.bat
1,29 → 1,29
@echo off
call _Batch\processDir.bat "Delphi Code\QuerySystemMenu"
call _Batch\processDir.bat "Delphi Code\DragNDropDlgs"
call _Batch\processDir.bat "Delphi Code\ParamUtils"
call _Batch\processDir.bat "_Common"
call _Batch\processDir.bat "Base-Converter"
call _Batch\processDir.bat "Batch-Working-Directory"
call _Batch\processDir.bat "CmdHere"
call _Batch\processDir.bat "Create Shortcut"
call _Batch\processDir.bat "DNDFC (Drag'n'Drop FileCompare)"
call _Batch\processDir.bat "DosLineConv"
call _Batch\processDir.bat "FileExtCh"
call _Batch\processDir.bat "FileMD5"
call _Batch\processDir.bat "Kalenderersatz"
call _Batch\processDir.bat "Recycle Bin Unit"
call _Batch\processDir.bat "Recycle Bin Unit\Windows 95 Bit Bucket Reader"
call _Batch\processDir.bat "Uhrersatz (Atomuhr)"
call _Batch\processDir.bat "Units"
call _Batch\processDir.bat "umlaut-Ersetzer"
call _Batch\processDir.bat "Dreisatz"
call _Batch\processDir.bat "SignExample"
call _Batch\processDir.bat "."
call "%~dp0_Batch\processDir.bat" "%~dp0Delphi Code\QuerySystemMenu"
call "%~dp0_Batch\processDir.bat" "%~dp0Delphi Code\DragNDropDlgs"
call "%~dp0_Batch\processDir.bat" "%~dp0Delphi Code\ParamUtils"
call "%~dp0_Batch\processDir.bat" "%~dp0_Common"
call "%~dp0_Batch\processDir.bat" "%~dp0Base-Converter"
call "%~dp0_Batch\processDir.bat" "%~dp0Batch-Working-Directory"
call "%~dp0_Batch\processDir.bat" "%~dp0CmdHere"
call "%~dp0_Batch\processDir.bat" "%~dp0Create Shortcut"
call "%~dp0_Batch\processDir.bat" "%~dp0DNDFC (Drag'n'Drop FileCompare)"
call "%~dp0_Batch\processDir.bat" "%~dp0DosLineConv"
call "%~dp0_Batch\processDir.bat" "%~dp0FileExtCh"
call "%~dp0_Batch\processDir.bat" "%~dp0FileMD5"
call "%~dp0_Batch\processDir.bat" "%~dp0Kalenderersatz"
call "%~dp0_Batch\processDir.bat" "%~dp0Recycle Bin Unit"
call "%~dp0_Batch\processDir.bat" "%~dp0Recycle Bin Unit\Windows 95 Bit Bucket Reader"
call "%~dp0_Batch\processDir.bat" "%~dp0Uhrersatz (Atomuhr)"
call "%~dp0_Batch\processDir.bat" "%~dp0Units"
call "%~dp0_Batch\processDir.bat" "%~dp0umlaut-Ersetzer"
call "%~dp0_Batch\processDir.bat" "%~dp0Dreisatz"
call "%~dp0_Batch\processDir.bat" "%~dp0SignExample"
call "%~dp0_Batch\processDir.bat" "%~dp0"
 
call _Batch\processDir.bat "StatusMon 3.0\Dll-Test"
call _Batch\processDir.bat "StatusMon 3.0"
cd "StatusMon 3.0"
"C:\Programme\Inno Setup 5\iscc.exe" "StatusMon.iss"
cd ..
call _Batch\processDir.bat "StatusMon 3.0\Output"
call "%~dp0_Batch\processDir.bat" "%~dp0StatusMon 3.0\Dll-Test"
call "%~dp0_Batch\processDir.bat" "%~dp0StatusMon 3.0"
 
"C:\Programme\Inno Setup 5\iscc.exe" "%~dp0StatusMon 3.0\StatusMon.iss"
 
call "%~dp0_Batch\processDir.bat" "%~dp0StatusMon 3.0\Output"