Permalink
Browse files

Slightly reduce the installer's file size

Sort files by extension before compressing them which in conjunction with
solid compression reduces the installer's file size by about 200 KiB. Also
sorting by file name does not result in any further improvement.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
  • Loading branch information...
1 parent 5c37ada commit 3bb3488dc71e37fabbcd802e16844ae0cb6cda69 @sschuberth sschuberth committed Jul 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/WinGit/install.iss
@@ -63,7 +63,7 @@ Name: consolefont; Description: {#COMP_CONSOLE_FONT}; Types: custom
Source: git-cheetah\git_shell_ext.dll; DestDir: {app}\git-cheetah; DestName: git_shell_ext.dll.new; Flags: replacesameversion; Components: ext\cheetah
Source: git-cheetah\git_shell_ext64.dll; DestDir: {app}\git-cheetah; DestName: git_shell_ext64.dll.new; Flags: replacesameversion; Components: ext\cheetah
-Source: *; DestDir: {app}; Excludes: \*.bmp, gpl-2.0.rtf, \*.iss, \tmp.*, \bin\*install*, \git-cheetah\git_shell_ext.dll, \git-cheetah\git_shell_ext64.dll; Flags: recursesubdirs replacesameversion
+Source: *; DestDir: {app}; Excludes: \*.bmp, gpl-2.0.rtf, \*.iss, \tmp.*, \bin\*install*, \git-cheetah\git_shell_ext.dll, \git-cheetah\git_shell_ext64.dll; Flags: recursesubdirs replacesameversion sortfilesbyextension
Source: ReleaseNotes.rtf; DestDir: {app}; Flags: isreadme replacesameversion
[Icons]

2 comments on commit 3bb3488

@XhmikosR

Have you tried to change the InternalCompressLevel? You know, compare decompression time apart from compression size too.

@sschuberth
Member

No, but feel free to do so, and if you see any notable improvement, submit a patch ;-)

Please sign in to comment.