Unfortunately it wasn't that easy. Because the whole process is automated and the files and media entries are created at the same time, I couldn't just remove the media entry without light complaining about missing media references.
I did resolve my issue and found that the error was entirely related to cab size and not because of the number of files, as originally suggested by the error message. I created some scripts to filter and copy the files from their source to the destination media location and then determined that 1 single cab contained around 3gb of data, most of them binary, which would definitely not compress to < 2gb. Therefore the error was misleading and your suggestion was very helpful. The app I developed to create the wxs file has been updated to separate the files into more cabs and that's okay for this stage of development. Thanks for the helpful suggestions. I hope this post helps someone else. Where do I file a bug or feature request on this issue? mikey >Date: Thu, 31 Oct 2013 17:02:09 -0500 >From: ecyo...@grandecom.net >Subject: Re: [WiX-users] LGHT0306 Error - less than 30K files >To: wix-users@lists.sourceforge.net >Message-ID: <20131031170209.14443tqlj1u1y...@webmail.mygrande.net> >Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; > format="flowed" > >Put in Each Cab you took out then comment out all the Cabss in the >media list, one at at a time. If the first one suceeds, add the >second until you get down to the nth one where 1 < n < 31. The one >you uncomment last will be the one that can't be built, assuming you >start at the top. That means the offending cab will have something in >it that WiX doesn't like etc. This method will also rule out the Cab >Files that work. > >Quoting fiddler mikey <fiddlermi...@gmail.com>: > >> Thanks for the response. There is no AV software on that machine and it is >> very unlikely that any single cab would be over 2gb, but impossible to say >> without trying to manually create each of the 31 cabs. I have removed >> references to a couple of the largest files in what could be the largest >> cabs (~1.5gb expected) and still receive the same error. I was under the >> impression that there is a different error message when trying to build a >> cab file over 2gb. >> >> Any other suggestions? >> >> Date: Thu, 31 Oct 2013 18:14:19 +0000 >> >>> From: "Hoover, Jacob" <jacob.hoo...@greenheck.com> >>> Subject: Re: [WiX-users] LGHT0306 Error - less than 30K files >>> To: General discussion about the WiX toolset. >>> <wix-users@lists.sourceforge.net> >>> Message-ID: >>> <61d0a1ed0452f744bd7fe991abc2196f906bc...@exbox2.greenops.com> >>> Content-Type: text/plain; charset="us-ascii" >>> >>> I'm currently building a MSI with over 30k files in it (25 CABS) without >>> issue, though I've been using 3.7/3.8. >>> >>> By chance do you have any AV software running on your build machine? What >>> is the overall size of the files being put into the CAB's (would any single >>> CAB be over 2GB)? >>> >>> -----Original Message----- >>> From: fiddler mikey [mailto:fiddlermi...@gmail.com] >>> Sent: Wednesday, October 30, 2013 7:01 PM >>> To: wix-users >>> Subject: [WiX-users] LGHT0306 Error - less than 30K files >>> >>> I believe I am getting an erroneous failure message when building a rather >>> large Wix project. The project contains a total of 27,654 files in it, >>> divided among 31 different cabs. However, after candle/light on the >>> project, I get a failure after about 6 minutes and no output files are >>> built. (No .cab, msi, etc) >>> >>> The error is: >>> >>> "An error (E_FAIL) was returned while finalizing a CAB file. This most >>> commonly happens when creating a CAB file with more than 65535 files in it. >>> Either reduce the number of files in your installation package or split >>> your installation package's files into more than one CAB file using the >>> Media element." >>> >>> >>> I have tried WiX toolset 3.5 and 3.6, from VS2010 and command line builds, >>> with the same error message. >>> >>> Has anyone else run into this error before? >>> Any tips for troubleshooting? >>> Is this a bug? >>> Is there a workaround? >>> >>> Thanks, >>> >>> mikey > http://bit.ly/fiddlermikey On Thu, Oct 31, 2013 at 12:29 PM, fiddler mikey <fiddlermi...@gmail.com>wrote: > Thanks for the response. There is no AV software on that machine and it > is very unlikely that any single cab would be over 2gb, but impossible to > say without trying to manually create each of the 31 cabs. I have removed > references to a couple of the largest files in what could be the largest > cabs (~1.5gb expected) and still receive the same error. I was under the > impression that there is a different error message when trying to build a > cab file over 2gb. > > Any other suggestions? > > Date: Thu, 31 Oct 2013 18:14:19 +0000 > >> From: "Hoover, Jacob" <jacob.hoo...@greenheck.com> >> Subject: Re: [WiX-users] LGHT0306 Error - less than 30K files >> To: General discussion about the WiX toolset. >> <wix-users@lists.sourceforge.net> >> Message-ID: >> <61d0a1ed0452f744bd7fe991abc2196f906bc...@exbox2.greenops.com> >> Content-Type: text/plain; charset="us-ascii" >> >> I'm currently building a MSI with over 30k files in it (25 CABS) without >> issue, though I've been using 3.7/3.8. >> >> By chance do you have any AV software running on your build machine? What >> is the overall size of the files being put into the CAB's (would any single >> CAB be over 2GB)? >> >> >> -----Original Message----- >> From: fiddler mikey [mailto:fiddlermi...@gmail.com] >> Sent: Wednesday, October 30, 2013 7:01 PM >> To: wix-users >> Subject: [WiX-users] LGHT0306 Error - less than 30K files >> >> I believe I am getting an erroneous failure message when building a >> rather large Wix project. The project contains a total of 27,654 files in >> it, divided among 31 different cabs. However, after candle/light on the >> project, I get a failure after about 6 minutes and no output files are >> built. (No .cab, msi, etc) >> >> The error is: >> >> "An error (E_FAIL) was returned while finalizing a CAB file. This most >> commonly happens when creating a CAB file with more than 65535 files in it. >> Either reduce the number of files in your installation package or split >> your installation package's files into more than one CAB file using the >> Media element." >> >> >> I have tried WiX toolset 3.5 and 3.6, from VS2010 and command line >> builds, with the same error message. >> >> Has anyone else run into this error before? >> Any tips for troubleshooting? >> Is this a bug? >> Is there a workaround? >> >> Thanks, >> >> mikey >> > ------------------------------------------------------------------------------ DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users