mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
67e1d813a9
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@673 21ef857c-d57f-4fe0-8362-d861dc6d29cd
26 lines
752 B
Batchfile
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" |