Files
mirror-processhacker/trunk/ProcessHacker/Build/release.cmd
T
wj32 67e1d813a9 updated release.cmd
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@673 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-02-20 10:00:36 +00:00

26 lines
752 B
Batchfile

@echo off
set outd=%~p1
copy "%outd%\..\..\..\*.txt" "%outd%\"
copy "%outd%\..\..\..\KProcessHacker\i386\kprocesshacker.sys" "%outd%\"
del "%outd%\ProcessHacker.exe.config"
del "%outd%\processhacker-*-setup.exe"
del "%outd%\ProcessHacker_in.exe"
@rem check if ILMerge is present
ilmerge
if %errorlevel%==9009 goto end
rename "%outd%\ProcessHacker.exe" ProcessHacker_in.exe
ilmerge /t:winexe /out:"%outd%\ProcessHacker.exe" "%outd%\ProcessHacker_in.exe" "%outd%\Aga.Controls.dll"
del "%outd%\ProcessHacker_in.exe"
del "%outd%\Aga.Controls.dll"
@rem check Inno Setup
iscc
if %errorlevel%==9009 goto end
iscc /q /o"%outd%\..\..\bin\Release" "%outd%\..\..\Build\Installer\Process_Hacker_installer.iss"
:end
del "%outd%\*.pdb"