Skip to content
This repository
Browse code

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...
commit 3bb3488dc71e37fabbcd802e16844ae0cb6cda69 1 parent 5c37ada
Sebastian Schuberth authored July 29, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  share/WinGit/install.iss
2  share/WinGit/install.iss
@@ -63,7 +63,7 @@ Name: consolefont; Description: {#COMP_CONSOLE_FONT}; Types: custom
63 63
 Source: git-cheetah\git_shell_ext.dll; DestDir: {app}\git-cheetah; DestName: git_shell_ext.dll.new; Flags: replacesameversion; Components: ext\cheetah
64 64
 Source: git-cheetah\git_shell_ext64.dll; DestDir: {app}\git-cheetah; DestName: git_shell_ext64.dll.new; Flags: replacesameversion; Components: ext\cheetah
65 65
 
66  
-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
  66
+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
67 67
 Source: ReleaseNotes.rtf; DestDir: {app}; Flags: isreadme replacesameversion
68 68
 
69 69
 [Icons]

2 notes on commit 3bb3488

XhmikosR

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

Sebastian Schuberth
Owner

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

Please sign in to comment.
Something went wrong with that request. Please try again.