I don't believe there is an automated way to do this. I think clever use of the 
DiskId attribute of the "directory" element is probably the easiest, assuming 
the files are split up into a few directories. On the other hand, if all (or 
most) of the files do go to the same directory, then I don't believe there is 
an automated way to do (unless you create your own program).

Thanks,
Mike Carlson

-----Original Message-----
From: Mahmoud Hamad [mailto:m.n.ha...@hotmail.com] 
Sent: Monday, May 11, 2009 3:41 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Make light.exe run faster.


Hi Mike,

 

I have about 10,000 files and it appears they are all but in the same cab.  

 

Is there way to specify in an automated fashion to split the file in an equal 
number of cabs?

 

Thanks,

Mahmoud
 
> From: mica...@microsoft.com
> To: wix-users@lists.sourceforge.net
> Date: Mon, 11 May 2009 15:07:14 -0700
> Subject: Re: [WiX-users] Make light.exe run faster.
> 
> Naturally it will take a long time to compress 5GB of data, so you will have 
> to expect that to take a while no matter what. If the files don't change 
> often, one way to cut down on the build time might be to use light's "-cc" 
> switch, to cache the CABs between builds.
> 
> Just in case, I have to ask - how many actual files do you have, and are they 
> all in the same CAB? If you have a lot of files (1000+), you might try 
> splitting up your files evenly into a few different cabs, until no CAB has 
> more than, say, 1/4 the number of files you have total. Do that by defining 
> several <Media> elements, and setting the DiskId differently on different 
> file or directory elements.
> 
> I suggest this because I've noticed a potential (theoretical) performance 
> issue while looking at the cabbing code. The issue occurs when writing a 
> large number of files to a single CAB - it gets worse (scales more than 
> linearly) the more files you have in a single CAB. I haven't yet run 
> performance numbers on it for an extreme case, but this *could* be an issue 
> that's worsening your build times, if you have a lot of files in one CAB. If 
> splitting your files close-to-evenly into multiple CABs noticeably quickens 
> your build time, you may be running into this issue.
> 
> Thanks,
> Mike Carlson
> 
> -----Original Message-----
> From: Mahmoud Hamad [mailto:m.n.ha...@hotmail.com] 
> Sent: Monday, May 11, 2009 2:31 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Make light.exe run faster.
> 
> 
> Hi All,
> 
> 
> 
> I have about 5GB worth of files that i am trying to stuff within an MSI. I 
> used heat.exe to auto-generate my *.wxs file and I then ran candle.exe to 
> generate the corresponding object file. These two processes executed fairly 
> fast.
> 
> 
> 
> However, the linking\creation of the MSI using light.exe is taking 
> considerably long. I know of I am dealing with lots of files, but is there 
> anything I can do to speed the light.exe process.
> 
> 
> 
> Any help is much appreciated.
> 
> 
> 
> Thanks,
> 
> Mahmoud 
> 
> _________________________________________________________________
> Hotmail(r) goes with you. 
> http://windowslive.com/Tutorial/Hotmail/Mobile?ocid=TXT_TAGLM_WL_HM_Tutorial_Mobile1_052009
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image 
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

_________________________________________________________________
Hotmail(r) has a new way to see what's up with your friends.
http://windowslive.com/Tutorial/Hotmail/WhatsNew?ocid=TXT_TAGLM_WL_HM_Tutorial_WhatsNew1_052009
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to