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
>>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>




------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to