For a few more details:

Multi-part CABs can get the total size of a set of files past 2GB, possibly to 
64K * 2GB, but no one file can exceed 2GB. 
Maximum size of all files in one folder (uncompressed) 2GB 
Maximum size of all files in one folder (compressed) 2GB 
Maximum size of a CAB file (compressed) 2GB 
Maximum number of files in a single CAB 64K

You can also add another WiX Media element with no Cabinet attribute to your 
installer e.g. <Media Id="2" /> and then set the DiskId of your component for 
the large file to match the Id of that Media element e.g. <Component 
Id="cmp_mybigfile" Guid="{PUT-GUID-HERE}" DiskId="2">. In that case, any 
component with DiskId="2" will not be stored in a CAB file but will be kept 
external to the MSI. However, it will still be installed. The drawback of 
course is that the file is now accessible outside the MSI and must be kept with 
the MSI for the MSI to work. That's not ideal, but is a potential solution to 
your dilemma.

Dan

-----Original Message-----
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: Monday, July 11, 2011 2:40 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Max. File Size

Thanks

-----Ursprüngliche Nachricht-----
Von: Neil Sleightholm [mailto:n...@x2systems.com] 
Gesendet: Montag, 11. Juli 2011 08:07
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Max. File Size

You should limit the number of files you put into a single CAB file to
64 K or less and no single file should be larger than 2 GB. This is a
limit for the CAB files not the MSI itself, so you can split your files
across multiple CABs within the MSI.

Neil

-----Original Message-----
From: Christoph Goetz [mailto:christoph.go...@giepa.de] 
Sent: 08 July 2011 14:07
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] Max. File Size

Hi,

is there an max. for a file size? I got an file which is 2,17 GB big.

I got WIX v3.6.1629.0.

Christoph

------------------------------------------------------------------------
------
All of the data generated in your IT infrastructure is seriously
valuable.
Why? It contains a definitive record of application performance,
security threats, fraudulent activity, and more. Splunk takes this data
and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

----------------------------------------------------------------------------
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to