The Windows Installer always adds a backslash to paths. I'd be really
surprised if it is the adding of the backslash that takes a lot of time.
When upgrading lots of existing files the Windows Installer is also
preparing for how to rollback all those files that would be replaced. This
is why repair/upgrade/patching can take so much longer than initial install.

Remember, initial install is the trivial case. It's the other once that are
harder. <smile/>

On Fri, Jul 29, 2011 at 10:58 AM, gapearce <mr_gapea...@yahoo.com> wrote:

> I've got an installer that has to install several hundred files, and it
> seems
> to take a long time to compute the space requirements, especially on an
> upgrade.
>
> During this phase, I see in a verbose log that there is a lot of work going
> on to just add a backslash to the end of all of the folder names being
> updated.
>
> There's a message like this in the log for each folder:
>
> MSI (c) (FC:1C) [13:25:08:257]: PROPERTY CHANGE: Adding
> dir892D072CCFBC52F1571AE901E4A5BC6F property. Its value is 'C:\Program
> Files
> (x86)\Our highest-level folder\some-lower-folder'.
>
> Then, almost immediately, there is this message following that:
>
> MSI (c) (FC:1C) [13:25:08:286]: PROPERTY CHANGE: Modifying
> dir892D072CCFBC52F1571AE901E4A5BC6F property. Its current value is
> 'C:\Program Files (x86)\Our highest-level folder\some-lower-folder'. Its
> new
> value: 'C:\Program Files (x86)\Our highest-level
> folder\some-lower-folder\'.
>
> The difference is that MSI added a backslash to this folder name.
>
> Is there some way to eliminate this extra work, and (even slightly) reduce
> the amount of time this takes?
>
> One cannot add a backslash to the "name=" attribute of the directory ID
> specification - tried that.
>
> Anyone have any suggestions?  Or any suggestions in general to improve this
> performance?
>
> Thanks
>
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/computing-space-requirements-takes-a-long-time-tp6634392p6634392.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Got Input?   Slashdot Needs You.
> Take our quick survey online.  Come on, we don't ask for help often.
> Plus, you'll get a chance to win $100 to spend on ThinkGeek.
> http://p.sf.net/sfu/slashdot-survey
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to