I notice the installer created by InstallBuilder installs really slowly for large software especially on Windows platform. (The data below are collected on Windows platform)
I have a main installer about 1.74GB in size, which also calls some sub-installers and unzips some big zip files. The total installation size (after installed) is 17.9GB, with 165529 files, 18763 folders. The total installation time is over 80 minutes. We had our existing installer, installs the same set of files in 28 minutes.
The installation is much slower than a 7z unzip. The installer created for 3.12GB, 54176 files, 11051 folders takes 19 minutes, while 7z only takes 6 min. I understand it can be slower than a zip tool, but shouldn't be that slow.
Also the "unzip" action provided in the InstallBuilder is much slower than an "unzip" tool. I have about 20 zip files in total 8.59GB, 13655 files, 47 folders. The installBuilder unzips them in 19 minutes, while a standalone unzip tool unzips them only in 6 minutes.
BTW, the installer is created unsing "zip" compression method. I'm not enabling the debugger. Also I'm using InstallBuilder for Qt 8.5.
Any suggestion I can use to improve the installation time?
asked 25 Sep '12, 21:44
One of the reasons for longer time to install may be the GUI updates that show each file name.
Could you check if disabling indicating the unpacking progress speed up the installer?
Also, can you compare the time by running the installer in unattended mode - for example:
and measuring the time it takes to run it without GUI? That should help understand where the difference in installation time is coming from.
If the installer size was to exceed 2GB, you can switch to CDROM mode documented in CDROM Installers section of our documentation and especially in Distributing big installers in other media formats section.
The How can I hide the unzip progress during install? question shows how to hide progress of unzipping the files as well - that may also speed up the unzip process.
answered 26 Sep '12, 10:00
We've noticed an occasional problem with performance on Mac OSX as well. It only seems to affect a smaller portion of our user base, and the particular system we've been able to reproduce it on is running OSX 10.8.3. We have tested it on other systems running 10.6, 10.7, and 10.8, and it works fine. This doesn't affect Windows or Linux, but our Mac installer is considerably larger due to extra dependencies we need to ship.
We're using InstallBuilder 8.5.0, and we already have "showFileUnpackingProgress" set to 0. Here is some basic info about the installer contents:
Mac OSX: 600 MB, 13,000 files. Windows: 140 MB, 3,200 files. Linux: 170 MB, 3,800 files.
When we run our installer on the problematic system, it gets to the point where we have a progress bar for copying files to the machine. At that point, the installer either slows to a near stall, taking over three hours to complete, or locks up outright (a client literally left it all weekend and the progress bar only made it to 50%).
We tested unattended mode as suggested here, but that had the same problem. We then tested the installer running in text mode, and if finished just fine. So that does seem to indicate that it's a UI issue, and the reason why it affects the unattended mode is because that mode still brings up a progress bar. What's strange though is that this doesn't affect every Mac, just a few of them.
Any ideas if there is a workaround to this problem, other than running it in text mode?
answered 21 Jun '13, 11:20