According to Microsoft the CAB file format has an internal limit of
approximately 2 GB -> http://support.microsoft.com/kb/836160 There is a
manual workaround for splitting files > 2 GB across multiple cabs listed
there which you may be able to use in your WiX project if you use the
-cc & -reusecab options with light.exe for your manually generated cab
files but I would give it a try just using WiX itself first. Rob M, Bob
A, et al are pretty clever guys & have most likely built in some
handling for this situation to light.exe.

You can keep the files outside of a cab by specifying a Media Element
with no Cabinet or Compression elements defined (just give it an Id
element) & then assigning them to that Media using the DiskID Element on
them or their Components. They need to be in the same directory as the
MSI I believe. There's been a fair bit of discussion on this recently so
you may find some more information on this in the mail list archives at
various places if you have to go down this route.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Leif Ringstad [mailto:lei...@gmail.com] 
Sent: 14 June 2010 08:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Files larger than 2 gb

Hi

I'm wondering on which approach I should take for files larger than 2 GB
in wix.

I think these are the possibilities:
1) Splitting cab files, since cab files has a limit of 2 GB. Is it
possible?
Can WiX somehow do this automagically?
2) Use a custom action to merge in the file, (should be easy enough to
write a custom dll). Is it then possible to show the progress of a
custom action?
I've figured out to show the progress text, but can't figure out how to
show a custom-action progress bar.
3) Keep the large files outside of cabs, and just let the MSI copy the
files. (Not ideal, as this might be needed as a download, yes it will be
large, but that's life...)

Thanks,
Leif
------------------------------------------------------------------------
------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's
Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.  See the
prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to