Menu

Why file size of the Dev-Cpp 'Setup' version is so much bigger than the 'Portable'?

DV
2014-08-06
2014-08-08
  • DV

    DV - 2014-08-06

    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
  • DV

    DV - 2014-08-08

    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.

     
  • DV

    DV - 2014-08-08

    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.

     
  • orwelldevcpp

    orwelldevcpp - 2014-08-08

    That's correct, and there's not much I can do about it.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.