[sorry, accidentally hit ctrl+enter]

1.  There is only a portion of light.exe that does major file IO.  If you 
cannot get an exception for some of your build drives with your antivirus 
software then you are going to be suffering with performance issues there.  
Seriously, I have seen 300% improvement in build times when people told their 
anti-virus programs to ignore the TEMP drive and build drive (YMMV depending on 
the anti-virus software you use).

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Tuesday, May 29, 2007 8:52 AM
To: Igor Maslov; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to improve speed of installation?

2.  The files are installed in the order specified by the Sequence column.  The 
WiX toolset manages the Sequence column for you because the order should not 
matter.  The control you get is that you can control the order of groups of 
files because the Media element specify the order of each group.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Maslov
Sent: Friday, May 25, 2007 11:46 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to improve speed of installation?


> 2.  The cabinet is only opened once.  That's why the files have to be
sequenced perfectly because the
>  Windows Installer will only read through the File table sequentially and
> any files out of order will get
>  skipped.  Cabinet files are optimized for front to back reading not
> random access.


So does WiX sequence the files inside cabinets according to the Sequence
column of the File table?
Do I need to do anything special about that when I'm building install with
WiX?

I'm trying to layout cabinets and uncompressed files in the order they are
called, but
do I need to take special care of files inside cabinets, or WiX does it
automatically?

> 1.  Anti-virus software can cripple both the install time *and* the build
> time.
>  For build machines, you can usually tell the software to ignore the build
> directories and the temp
> directory.  For end user machines...

   Yes, I have anti virus, and can't switch it off - it policy.
   But when I look at CPU usage, it seems that anti-virus is only active for
part of the link process.





Rob Mensching-2 wrote:
>
> 1.  Anti-virus software can cripple both the install time *and* the build
> time.  For build machines, you can usually tell the software to ignore the
> build directories and the temp directory.  For end user machines...
> <sigh/>
>
> 2.  The cabinet is only opened once.  That's why the files have to be
> sequenced perfectly because the Windows Installer will only read through
> the File table sequentially and any files out of order will get skipped.
> Cabinet files are optimized for front to back reading not random access.
>
> 3.  There is a cost of extracting embedded cabinets out of the MSI.
>
> 4.  There is some sweet spot for the size of cabinet files.  I remember
> hearing the Visual Studio guys playing with their cabinet composition
> trying to find the ideal size of the cabinets for decompression.  I don't
> remember the results, but it seemed like the ideal size of a cabinet was
> no larger than 200 MB with no more than a certain number of files...
> sorry, I don't remember more details.
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Friday, May 25, 2007 5:12 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to improve speed of installation?
>
> It may be a stupid question, but do you have any anti-virus software
> running? If so, that can completely cripple performance of an
> installation, and since you indicate that it is the "File copying" phase
> I would be interested to see what the difference is versus installing on
> a non-protected system.
>
> Rob M, can you (or anyone else with Microsoft Installer knowledge, or a
> communication channel to the developers) confirm if the cab files
> embedded in the installation are extracted from the MSI then opened
> once, or if the cab file is "reopened" for each file that is extracted
> from it. If it is the latter, it seems to me that multiple smaller cab
> files could provide significantly better performance than one large one
> if "on access" anti-virus scanning is enabled.
>
> Regards,
> Richard
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Igor
> Maslov
> Sent: Thursday, May 24, 2007 4:47 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to improve speed of installation?
>
>
>
> My "slow speed" comes from the "File copying" phase.
>
> I.e. all steps are running quite fast, but when I see "Copying Files" on
> a
> progress dialog
> it's where it takes most of the time.
>
>
>
> * C O N F I D E N T I A L I T Y N O T I C E *
> -----------------------------------------------------------
> The content of this e-mail is intended solely for the use of the
> individual or entity to whom it is addressed. If you have received this
> communication in error, be aware that forwarding it, copying it, or in any
> way disclosing its content to any other person, is strictly prohibited.
> Peek Traffic Corporation is neither liable for the contents, nor for the
> proper, complete and timely transmission of (the information contained in)
> this communication. If you have received this communication in error,
> please notify the author by replying to this e-mail immediately and delete
> the material from any computer.
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
View this message in context: 
http://www.nabble.com/How-to-improve-speed-of-installation--tf3780060.html#a10808448
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to