R2R compressing exes now cos installers bloated up?

Discussion in 'Software' started by Deuterium, Aug 15, 2023.

  1. Deuterium

    Deuterium Kapellmeister

    Joined:
    Oct 15, 2021
    Messages:
    117
    Likes Received:
    44
    A lot of new releases have 7zip compressed windows installers, (with impressive space savings, i love 7zip), because at the same time im seeing plugin updates suddenly weighing 5x more for not apparent reason.
    what happened, and can some exes can be compressed while others cant?

    before, even if the installer was massive it would be uncompressed at the same point as the rest of the archive, not an extra layer
     
  2.  
  3. Deuterium

    Deuterium Kapellmeister

    Joined:
    Oct 15, 2021
    Messages:
    117
    Likes Received:
    44
    i think i figured out what they are doing is checking "Compress Shared Files" in 7zip dialog, but i dont know why they used LZMA instead of LZMA2.
    it doesnt always work, i dont know much about algos, cryptography & compression
     
  4. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,140
    Likes Received:
    3,951
    Location:
    Europe
    As far as I remember R2R has used the double compression layer always (no idea why, some tradition perhaps). And also the .rar format for the final compressed archive.
    They've switched to 7zip recently because it compresses way more in many cases.
     
    • Like Like x 1
    • Agree Agree x 1
    • Interesting Interesting x 1
    • List
  5. twoheart

    twoheart Audiosexual

    Joined:
    Nov 21, 2015
    Messages:
    2,046
    Likes Received:
    1,264
    Location:
    Share many
    If you pack an .exe into an installer that does nor mean the same as using a packer that compresses files (lossless or not). Making a setup is just collecting all files the program needs to be executed.
    The files a program uses may be of a multitude of types. While some are packed (like e.g. .jpg, .mp3) others may be uncompressed, like e.g. .wav, .tif etc.
    If the setup.exe only contains already compressed file types one will not be able to compress the file.
    In some cases, where the software vendors are really wasteful with the file size, R2R compresses the files - in our sense.
    In fact, I have the impression that some manufacturers like large setups, even if it does not bring any benefit. It's not just sloppy work, it's a kind of dorky sales psychology.

    And, the style how programs are release differs quit much, so I dont think R2R is only one perso or one small group but several people or groups with each their own styles how to release software packages.
     
    Last edited: Aug 16, 2023
    • Interesting Interesting x 1
    • List
  6. ElMoreno

    ElMoreno Kapellmeister

    Joined:
    Jan 13, 2012
    Messages:
    366
    Likes Received:
    56
    7zip is the best compressor (on Mac for me) and, by now, it's the only one I use.

    Unfortunately, however, when inside the folder to be compressed there are audio files with a bitrate higher than 1.441kbps the compression is much lower (I don't know why). :dunno:

    However - since I don't use files with bitrate higher than 1.441 - it's not a big problem for me because, before compress folders, I convert all the .wav/aiff files to 1.441. In some cases I have seen the content reduced by 70% (always with files at 1.441kbps). :winker:
     
    Last edited: Aug 17, 2023
    • Interesting Interesting x 1
    • List
  7. Zoketula

    Zoketula Guest

    Compressed runtimes can produce false positive virus alerts. That's why a lot of keygens are flagged as viruses. Same with demoscene releases. I guess software developers just want to avoid that and don't mind the bigger file size.
     
    • Interesting Interesting x 2
    • Useful Useful x 1
    • List
  8. twoheart

    twoheart Audiosexual

    Joined:
    Nov 21, 2015
    Messages:
    2,046
    Likes Received:
    1,264
    Location:
    Share many
    Yes, that may occur sometimes.
    There are really bad virusscanners out there. To be honest most of them are not as trustworthy as most people think.
    I don't think so. Taking compressed filetypes instead of compressed files (e.g. .jpg instead of .tif) won't give a false positive as long as not the .exe file itself is packed. Besides, no developer needs to distribute the whole payload in one single file.
    And even a really bad virus scanner can recognize that sound files, pictures, viedeos ..., e.g. in .cab files, are what they seem to be. Ofc as long as they are not encrypted.
     
    Last edited: Aug 16, 2023
  9. pratyahara

    pratyahara Guest

  10. Deuterium

    Deuterium Kapellmeister

    Joined:
    Oct 15, 2021
    Messages:
    117
    Likes Received:
    44
    That makes sense, cheers:bow:
    And about that shitbrained sales psychology, many KONTAKT library makers really love that one, some live by it

    Im still not sure why they used LMZA compression in 7zip (Reveal Sound Spire), maybe it is less buggy compared to LMZA2. It seems to be faster, with multithread support
    [​IMG]
     
    Last edited: Aug 15, 2023
    • Like Like x 1
    • Useful Useful x 1
    • List
  11. Deuterium

    Deuterium Kapellmeister

    Joined:
    Oct 15, 2021
    Messages:
    117
    Likes Received:
    44
    7Zip has a lot of settings, different algos, im not sure how this table translates to real world use
     
  12. Renatus Deca

    Renatus Deca Ultrasonic

    Joined:
    Oct 7, 2015
    Messages:
    33
    Likes Received:
    21
    I don't know about other virus scanners, but windows defender (or security, or whatever it's being called now), can't/doesn't scan any of my 7zip archives. As soon as I acquire an exe or keygen file, I 7zip it!
     
    • Like Like x 1
    • Interesting Interesting x 1
    • List
  13. Zoketula

    Zoketula Guest

    Yup, there are mostly like a placebo in my opinion and bad for performance. Windows Defender consumed 3-4 % CPU time and 200 MB on Windows 11.
    That's true, I was only talking about executable files. Viruses attach themselves to them, because they will be run with admin rights unlike jpgs and files like that. Some runtime packers use a similar method like viruses to hide themselves. That actually an outdated way to compromise a system. Certificates and hardware exploits are much better for that. Some governments know all about it. ;)
     
  14. Olymoon

    Olymoon Moderator

    Joined:
    Jan 31, 2012
    Messages:
    5,782
    Likes Received:
    4,448
    You should use a question mark at the end of the title...
     
  15. twoheart

    twoheart Audiosexual

    Joined:
    Nov 21, 2015
    Messages:
    2,046
    Likes Received:
    1,264
    Location:
    Share many
    Really? I don't use a virus scanner, like @Zoketula said "... there are mostly like a placebo" but if defender does not scan 7zip files (they have benn around a long time though [since 1999 according to wikipedia]), this means my computer can hold a bunch of viruses and defender won't know it.
    Not very impressing :snuffy:
     
  16. twoheart

    twoheart Audiosexual

    Joined:
    Nov 21, 2015
    Messages:
    2,046
    Likes Received:
    1,264
    Location:
    Share many
    I you think programmers are not as lazy as we are, you're wrong. :)

    LMZA was born 1996, 7zip around 1999. The 7zip creator took what he could freely distribute and what was nicely tested at that time.
    And then never lokked back.
    The motto is: never change a running system.

    And that's the problem with shareware/freeware, after some time devs don't change anything in the code when it's not really necessary.
    So LMZA runs fairly well. Why change it?

    AND: The devs are getting older. just like us. and with free programs there is no pressure to make money that makes me revise the program, even though I don't really like to.
    So... for example:: I don't earn anything from it and the program comes from a time when I was a student and had a lot of time. Today I am a father of three and an employee at an insurance company with hardly no spare time ...
     
  17. Zoketula

    Zoketula Guest

    It seems so for at least Windows 10, but it can be enabled according to this : https://windowsloop.com/force-windows-defender-to-scan-zip-rar-cab-archives/
    I believe it doesn't scan archives within archives, meaning if a file is packed multiple times it won't be scanned completely.
     
    • Interesting Interesting x 1
    • List
  18. Guitarmaniac64

    Guitarmaniac64 Rock Star

    Joined:
    Jun 5, 2011
    Messages:
    1,344
    Likes Received:
    316
    No they havent they always used rar that was splitted in whatever sized they choosed the 7zip started this year.
     
  19. No Avenger

    No Avenger Audiosexual

    Joined:
    Jul 19, 2017
    Messages:
    9,045
    Likes Received:
    6,292
    Location:
    Europe
    That's exactly what Xupito said.
     
  20. pratyahara

    pratyahara Guest

    The author said on GitHub that all packers were tested on their default settings.
     
  21. Xupito

    Xupito Audiosexual

    Joined:
    Jan 21, 2012
    Messages:
    7,140
    Likes Received:
    3,951
    Location:
    Europe
    Maybe he's only disagreeing with the double compression thing? Doesn't seem like it though.

    But I'm almost positive they've been using that for a long time, with the final .rar instead of .7z.
    I mean there are threads here of people new to this thing asking how it works.
     
Loading...
Similar Threads - compressing exes installers Forum Date
when compressing....should the threshold be in between the signal Working with Sound Jun 16, 2024
I love compressing but kinda meh about EQ? Mixing and Mastering May 17, 2024
Please help uncompressing in mac [SOLVED] Software Jan 20, 2023
Is compressing .rar files dead on macOS..... why? Lounge Jul 31, 2022
Drum buss compressing Mixing and Mastering Sep 3, 2018
Loading...