CAB is a compressed archive file category format that is native to Microsoft Windows. Accordingly, the developer of this format (the full name of the Windows Cabinet File) is the IT giant - Microsoft. CAB files are system files and are used for Windows installation packages and device drivers. Data from CAB files is used by some Microsoft installers (for example, such as the Setup API, Device Installer, or AdvPack). CAB files contain program components and instructions for the OS to place them. In fact, this is the installer of the program.
7z is a free, open archive and compressed file format. The development of the format began back in 1999. A compressed archive of the 7z format is created using the special 7-Zip file compression utility, which was created by the programmer Igor Pavlov. This free file archiver has a significant ability to compress data, which makes 7z format files quite popular. Moreover, the size of the archive is practically not limited by anything. Archives in this format can be multi-volume and self-extracting. You can use the encryption option.