I have a Burn bundle with three MSI packages. The deps package has 100
files adding up to 70MB (uncompressed; the compressed size is 20MB).
The icons package has 6848 tiny files(!) adding up to 35MB. The
application package has merely 10 files adding up to 4MB. The bundle
is using the standard BA.

Burn reasonably thinks that the deps package will take twice as long
to install as the icons package, since its uncompressed/install size
is twice as big. However, the icons package is actually the slowest,
due to having to write lots of tiny files, the filesystem metadata,
and the Windows Installer component information (I have one file per
component, so that's 6800 components). Therefore, the progress bar
moves to 64% fairly quickly and then feels stuck for a few seconds.

The installation timestamps go like this:
[2014-07-05T00:26:41]: Applying execute package: deps.msi, action: Install
[2014-07-05T00:26:43]: Applied execute package: deps.msi, result: 0x0
[2014-07-05T00:26:43]: Applying execute package: icons.msi, action: Install
[2014-07-05T00:27:08]: Applied execute package: icons.msi, result: 0x0
[2014-07-05T00:27:08]: Applying execute package: app.msi, action: Install
[2014-07-05T00:27:09]: Applied execute package: app.msi, result: 0x0
[2014-07-05T00:27:09]: Apply complete, result: 0x0

Uninstallation is even worse, removing icons.msi takes almost a minute:
[2014-07-05T00:34:12]: Applying execute package: app.msi, action: Uninstall
[2014-07-05T00:34:12]: Applied execute package: app.msi, result: 0x0
[2014-07-05T00:34:12]: Applying execute package: icons.msi, action: Uninstall
[2014-07-05T00:35:04]: Applied execute package: icons.msi, result: 0x0
[2014-07-05T00:35:04]: Applying execute package: deps.msi, action: Uninstall
[2014-07-05T00:35:05]: Applied execute package: deps.msi, result: 0x0
[2014-07-05T00:35:05]: Apply complete, result: 0x0

Is it possible, without a custom BA (I don't want to go in that
direction *yet*), for me to set the "cost" of each package manually so
that the progress bar is more proportional to the time taken?

In addition, is there anything I can do to make the icons.msi
uninstallation faster?

-- 
Nicolás

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to