Why file size of the Dev-Cpp 'Setup' version is so much bigger than the 'Portable' version?
For example:
Dev-Cpp 5.7.1 TDM-GCC x64 4.8.1 Portable.7z - 36.8 MB
Dev-Cpp 5.7.1 MinGW 4.8.1 Portable.7z - 38.5 MB
Dev-Cpp 5.7.1 TDM-GCC x64 4.8.1 Setup.exe - 47.0 MB (?)
Dev-Cpp 5.7.1 MinGW 4.8.1 Setup.exe - 63.1 MB (??)
Does it mean that the 'Setup' version contains some additional components? If so, which ones?
Or does it mean that the 'Setup' version just uses a weaker file compression?
Last edit: DV 2014-08-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, let me answer my own question...
I've compared the contents of Dev-Cpp 5.7.1 MinGW 4.8.1 Portable.7z (37 MB) and Dev-Cpp 5.7.1 MinGW 4.8.1 Setup.exe (60 MB). Despite the difference of 23 MB, the unpacked contents is the same! So there's definitely something wrong with the packing (compressing) of the installer. I think it's up to the compression level in the NSIS script.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking closer at the .7z version, I think I discovered the cause of the difference in the sizes... The .7z version is compressed using LZMA2 compression algorithm introduced in 7-zip 9.xx. Whereas the NSIS installer uses LZMA compression algorithm of 7-zip 4.xx. And there's nothing to do with it - until one explicitly use 7-zip 9.xx as the external packer for NSIS.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Why file size of the Dev-Cpp 'Setup' version is so much bigger than the 'Portable' version?
For example:
Dev-Cpp 5.7.1 TDM-GCC x64 4.8.1 Portable.7z - 36.8 MB
Dev-Cpp 5.7.1 MinGW 4.8.1 Portable.7z - 38.5 MB
Dev-Cpp 5.7.1 TDM-GCC x64 4.8.1 Setup.exe - 47.0 MB (?)
Dev-Cpp 5.7.1 MinGW 4.8.1 Setup.exe - 63.1 MB (??)
Does it mean that the 'Setup' version contains some additional components? If so, which ones?
Or does it mean that the 'Setup' version just uses a weaker file compression?
Last edit: DV 2014-08-06
OK, let me answer my own question...
I've compared the contents of Dev-Cpp 5.7.1 MinGW 4.8.1 Portable.7z (37 MB) and Dev-Cpp 5.7.1 MinGW 4.8.1 Setup.exe (60 MB). Despite the difference of 23 MB, the unpacked contents is the same! So there's definitely something wrong with the packing (compressing) of the installer. I think it's up to the compression level in the NSIS script.
Looking closer at the .7z version, I think I discovered the cause of the difference in the sizes... The .7z version is compressed using LZMA2 compression algorithm introduced in 7-zip 9.xx. Whereas the NSIS installer uses LZMA compression algorithm of 7-zip 4.xx. And there's nothing to do with it - until one explicitly use 7-zip 9.xx as the external packer for NSIS.
That's correct, and there's not much I can do about it.