Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1 | daniel-mar | 1 | @echo off |
2 | |||
3 | rem Here we sign our applications |
||
4 | rem Also, we pack Extractor.exe (which includes DelZip190.dll as resource), |
||
5 | rem so the overhead becomes smaller |
||
6 | rem THIS IS IMPORTANT! If the ZIP-offset is too far away from file start |
||
7 | rem WinRAR will not notice that it is a SFX. Also, the ZIP must be |
||
8 | rem at the end of file, otherwise Linux' UnZip won't find the |
||
9 | rem End-Of-Central-Directory! |
||
10 | |||
11 | call Tools\StripReloc.exe Extractor.exe |
||
12 | call Tools\upx.exe -9 Extractor.exe |
||
13 | call Tools\VTSSign.bat Extractor.exe |
||
14 | |||
15 | call Tools\VTSSign.bat Tools\RemoveSignature.exe |
||
16 | |||
17 | call Tools\VTSSign.bat MakeSFX.exe |
||
18 | |||
19 | rem Remove backup files created by StripReloc |
||
20 | del *.exe.bak |
||
21 | |||
22 | pause. |