The programmer in me can't help but wonder if Light is using an int for the 
file size, instead of an 
unsigned int.  The former's top end is just over 2GB, and would explain what 
you're seeing.  Whether 
or not that's the problem, I don't know.  It's just what immediately jumped out 
at me.

Rob

Alex Lian wrote:
> Ahh...that makes sense (with also additionally experimenting by me
> confirming some of that).
> So, I'm still experimenting - splitting up the files across cabs/media -
> but light.exe
> seems to choke on the large MSI it outputs in the temp directory.
> 
> I see this error:
> light.exe : error LGHT0001 : Failed to open database: C:\<path
> removed>\Temp\jjua6pkf\<filename removed>.msi
> 
> Exception Type: System.Runtime.InteropServices.ExternalException
> 
> Stack Trace:
>    at Microsoft.Tools.WindowsInstallerXml.Msi.Database.Open(String path,
>    OpenDat
> abase type)
>    at Microsoft.Tools.WindowsInstallerXml.Binder.GenerateDatabase(Output
>    output)
> 
>    at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
>    at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)
> 
> If I pare off some of the larger files (> 1GB each) it seems to be able
> to create a ~2GB installer,
> but it chokes when I add the next file. Any thoughts before I start code
> diving in light.exe?
> Is light.exe hindered at some file size?
> 
> -Alex
> 
> 
> On Sun, 28 Jan 2007 20:07:45 -0800, "Rob Mensching"
> <[EMAIL PROTECTED]> said:
>> Cabinet files (the compression technology used by the Windows Installer)
>> can currently only handle up to 2GB.  Unfortunately, with Merge Modules
>> you only get one cabinet.  However, for MSI files you can split your
>> product into multiple cabinets (separate Media elements) to get around
>> the problem.
>>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Alex Lian
>> Sent: Sunday, January 28, 2007 7:30 PM
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Any documentation on WiX/Windows Installer limits?
>>
>> I've been googling for the spec somewhere (as well as about the tools)
>>
>> What's the file size limitations of wix? I seem to be able to create the
>> .msm with 4 files
>> totalling 3.4GB though it seems unnaturally compressed down to 805MB.
>>
>> However, in trying to create a final .msi using this .msm, yields an
>> E_ABORT error trying
>> to access the msm file. Orca can seem to open it fine, but I'm having
>> trouble trying to
>> re-extract the files at the moment.
>>
>> So...
>>
>> any pointers to docs/info on limits?
>>
>> I'm sure I'm still doing something amiss, and I'll keep struggling on
>> it.
>>
>> -Alex
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to