We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

disler
Posts: 1
Joined: Tue Sep 17, 2019 1:29 pm

Error during Building MSI File

I got the error message below, during Building a project:
Exception - Reason: Exception - CAB Format limit reached. The CAB file size is limited to 2GB, you can`t have more than 64K files in a CAB and you can`t compress files that are larger than 2GB.
Well, I can not find one file, which should be bigger than 2GB. Is there any log from the Advanced Installer itself, where i can find, during which file "packaging" he gots the problem? I just get the error message above and not more. At the moment, i am using a bit older version of advanced installer, because with the newest one, the programm just closes during the building and i do not know why.... :oops: :oops:
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Error during Building MSI File

Hello and welcome to Advanced Installer forums,

This happens because the Operating System does not support CAB files larger than 2GB and thus, no single MSI larger that 2GB can be created.

For instance, a solution to this would be to have your resources next to your MSI ("Builds" page --> "MSI with resources next to it") or an EXE package.

By doing so, you can then choose to use "One CAB archive per feature" option. The best way to do this would be to organize your installer into few big features (none of them exceeding the 2GB limit) and then use the above option.

Unfortunately, there is no other workaround for this issue since this is a limitation of Windows Installer.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”