Performance issues for InstallBuilder of Windows

Comments

6 comments

  • Avatar
    michiel

    Hi,

    Regarding the GUI hanging, can you give more details regarding this issue? Does the program not respond?

    Regarding packing and unpacking speed, lzma-ultra and lzham-ultra use most memory and will take most time at building. In terms of building ZIP is the fastest to build. You can find more information about compression algorithms in the following section of our docs:

    http://installbuilder.bitrock.com/docs/installbuilder-userguide.html#_compression_algorithms

    Best regards,

    Michiel

     

     

  • Avatar
    FANG,MING (K-China,ex1)

    Hi Michiel,

    For hanging problem, it's easy to produce, just package large files, click the "Build",  then click the GUI or move the GUI

    1.  It will show "Not Responding" at first time.

    2. Sometimes click the "Cancel" after building a while, it also shows "not responding".

    But after about one minute, it will recover again. So that's not a big problem. 

    For the packing problems, it's obvious, here are some measured data in my case:

    Windows 10, InstallBuilder Professional 18.5.2

    Files:1.2GB in All,

    Algorithm: Zip

    After compressing: 600 MB

    Build time (compress): 9min 20sec

    Installation time (decompression) : 7 min

  • Avatar
    FANG,MING (K-China,ex1)

    Here are some additional information, I found that when using the Zip, the decompression speed was similar with the LZHAM Ultra, I did a similar test by using InstallShield 2018,  the Building time is about 5 min, which 2X faster,  and the decompression time is only about 3 min, which using MSZIP as the compressing algorithm. That's more than 2X faster.

    Though the speed of InstallBuilder is acceptable , It would be better to be faster, is there any way to speed up?

     

  • Avatar
    michiel

    Hi,

    For unzipping large zip files we recommend either uncompressing the zipfile before building - and use built in compression - or packing a program like 7zip to unzip the file. Could you check if that would speed up the installation?

     <unpackFile>
    <component>default</component>
    <folder>7zip</folder>
    <origin>7zip.exe</origin>
    <destination>${installdir}</destination>
    </unpackFile>

    <runProgram>
    <workingDirectory>${installdir}</workingDirectory>
    <program>7zip.exe</program>
    <programArguments>x bigFile.zip -o${installdir}</programArguments>
    </runProgram>

    Regards,

    Michiel

     

     

  • Avatar
    FANG,MING (K-China,ex1)

    Hi, 

    Thanks for your suggestion, today I get some time to test it. 

    Actually all my tests used the built-in compression, Zip or LZHAM, they are still not very fast. 

    So I just tried the 7zip.exe to deploy the MINGW (600MB), first I compress it to mingw.zip (180MB).

    If I used 7zip to decompress it without InstallBuilder, it spent 1 min 40 seconds, but if I used the 7zip by the IntallBuilder, it spent 2 min 40 seconds.  1 min slower!

    So I think there is some code affect the decompressing performance in the InstallBuilder. 

     <runProgram>
        <program>7z.exe</program>
        <programArguments>x mingw64.zip</programArguments>
        <runAs>${system_username}</runAs>
         <workingDirectory>${installdir}</workingDirectory>
    </runProgram>

    what do you think?

     

  • Avatar
    FANG,MING (K-China,ex1)

    using 7z.exe did improve the performance of the installation. 

Please sign in to leave a comment.