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.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