Hmm,
  3000 files shouldn't be that bad... Are these data files which aren't 
versioned? I wonder if it's doing some hash calculations to see if it needs to 
repair the files (and as such is reading all the files from disk and computing 
the hash).  Also, do you have anti-virus software running on the machine where 
this is happening?  I've seen AV software block or slow Windows Installer 
access to a file while it's on-demand scanning it and potentially verifying 
certificates if the file in question is digitally signed.

-----Original Message-----
From: Cyan [mailto:mailc...@163.com] 
Sent: Wednesday, December 04, 2013 8:00 PM
To: General discussion about the WiX toolset. 
Subject: Re: [WiX-users] Some questions about CostFinalize. It spends too much 
time.

Hi,
    Thanks Blair.

    So, the discovery time can not be more quickly??? I think one minute is too 
long for waiting for installing. It is just "prepare" and the install is not 
start even. 
    If i do not use the build-in UI, i think, the discovery time is as long as 
using the build- in UI. Is it???
    Or, is there any other way to fix this problem?


     thanks.
     Cyan







Blair Murri <os...@live.com>编写:

>You can’t skip CostFinalize, but if you don’t use the “built-in” Windows 
>Installer UI, you can skip the “UI sequence” (by doing your UI outside of MSI, 
>say in a bootstrapper).
>
>
>Windows Installer is a declarative, transactional system, and it compares your 
>desired state against the system’s current state in order to generate a “plan” 
>of what needs to be reinstalled vs. what should be left alone as well as how 
>to rollback from any application failures. That discovery time is what you are 
>seeing, and is the “tax” from all the stability goodness that Windows 
>Installer gives you.
>
>
>
>
>
>
>-Blair
>
>
>
>
>
>From: mailc...@163.com
>Sent: ‎Wednesday‎, ‎December‎ ‎04‎, ‎2013 ‎3‎:‎21‎ ‎AM
>To: General discussion for Windows Installer XML toolset.
>
>
>
>
>
>
>Hi all,
>I have a problem with wix.
>There are about 3000 files in my msi and it is about 500M. When I run it at 
>first time, it is quickly. But if the program was already installed in the 
>computer, when I run another msi (the same msi, but build again) it will spend 
>too much time on the prepare dialog. It shows "Please wait while the setip 
>wizard prepares to guide you through the installation.      Computing space 
>requirements. " and the "next" button is disabled. It is about more than one 
>minute!!
>I get the setup log. It shows CostFinalize action spend about more than one 
>minute to scan the files in the disk .
>The msi sdk said:
>"The CostFinalize action must be executed before starting any user interface 
>sequence which allows the user to view or modify Feature table selections or 
>directories."
>
>So, can i skip this step or CostFinalize action do not spend so much time??????
>
>
>Thanks.
>Cyan
>
>
>
>mailc...@163.com
>-----------------------------------------------------------------------
>-------
>Sponsored by Intel(R) XDK
>Develop, test and display web and hybrid apps with a single code base.
>Download it for free now!
>http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.c
>lktrk _______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
>-----------------------------------------------------------------------
>-------
>Sponsored by Intel(R) XDK
>Develop, test and display web and hybrid apps with a single code base.
>Download it for free now!
>http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.c
>lktrk _______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&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