09chja
Posts: 4
Joined: Tue Jul 12, 2011 10:07 pm

Create setup with files larger than 2 GB?

Good morning,
my problem is this ... I have several files that I want to pack it into a setup ... but a file is 2.9 GB in size ...
When you create the setup is the following error message:
"Exception - Curent build contains files that are larger than 2 GB and it can not be created that use LZMA Only builds or." Unpacked files "support big files.
Build finished because an error was encountered. "

I have two questions:
1st How can I split this 2.9 GB file that it fits into a CAB file?
2nd How can I split the setups with the variant LZMA file? ... For me it's always a huge file (ca. 15 GB into 2 GB files and a normal Setup file, look like the CABs variant).

I'm sorry for my bad English.

MfG 09chja:)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Create setup with files larger than 2 GB?

Hello and welcome to the Advanced Installer Forums,

Advanced Installer supports packing files larger than 2GB only if the "Place files unpacked next to the MSI database" option or LZMA compression is used.

In case of LZMA compression, all installation files and the MSI file will be packed into one archive that will be included in an EXE package. The main advantage of LZMA compression is that it generates a smaller package size than CAB archiving; the disadvantage is that, during installation, the package requires more time and disk space (for extracting the LZMA archive).

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
09chja
Posts: 4
Joined: Tue Jul 12, 2011 10:07 pm

Re: Create setup with files larger than 2 GB?

Hello,
Thanks for the quick reply, but I still have a question.

Is there a way to split this 2.9 GB file and composed it after or during the setup back together ... they fit into a CAB file?

MfG 09chja:)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Create setup with files larger than 2 GB?

Hello,

This is the exact behavior when using LZMA compression . You can use that or if you want, you can implement it using your own custom method.

To learn more about related settings, please follow this article:
http://www.advancedinstaller.com/user-g ... a-tab.html

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
09chja
Posts: 4
Joined: Tue Jul 12, 2011 10:07 pm

Re: Create setup with files larger than 2 GB?

Hello,
I'm sorry, but I do not understand ... : (.
I must take the LZMA as compression format.
But how can I split the LZMA format, it is useless when I have after packing a 15 GB EXE file.
Is there a possibility way the 15 GB LZMA Exe split to 3x 4.7 parts or lower files?
And how much RAM memory do I need to use the best packing method be LZMA?

MfG 09chja:)
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Create setup with files larger than 2 GB?

Hello,
Is there a possibility way the 15 GB LZMA Exe split to 3x 4.7 parts or lower files?
Unfortunately this is not supported by Advanced Installer. The only solution would be to create a custom action like I mentioned in my previous post. If you are interested in this approach, please contact us via e-mail to support at advancedinstaller dot com for more details.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Create setup with files larger than 2 GB?

Hi,

Windows Installer has its limitations when it comes to managing large file installation. We’ll explore the available options for building installers with very large resources.

Before diving into, let’s summarize the current MSI limitations. The MSI utilizes CAB (Cabinet) files as storage containers for the files it includes.
  • Cab Maximum File Size: The maximum size of a CAB file is 2 GB. This limitation is imposed by the CAB file format itself.
  • Installer size: The MSI with resources inside cannot exceed 2 GB and EXE with resources inside cannot exceed 4GB. This is a Windows limitation.
Here's the Authoring Installer for Large Resources Overcoming MSI Size Limits (from a developer perspective) article that debates this subject.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”