Note: it requires "import zlib" in your source file to allow unzipping operations. Repacking the "library.zip" with 7-ZIP saving 357KB (577KB original to 220KB 7ZIP compressed). Just useġ print > ofi, r " Compression=lzma/max " Innosetup 4.2 has 7z "LZMA" compression included. When using 7-zip, there is a short decompression when starting the installer, but the installation process afterwards it fast as lightning, because of "Compression=none". Since bzip is computationally quite intensive, the progress bar fills not extremely fast. When using bzip, the files are decompressed in the last step of the installation process, right then when the files are written to the program folder. An additional benefit of using 7-zip is the fast installation. The previous comparison shows, that 7-zip results by far in the smallest installer size. Clicking at the 'Options' button and selecting '7-zip' in the compression combo box does the trick. To use 7-zip one has to specify "Compression=none" in the generated installer script (*.iss) and then manually load the script into ISTool, which is a front end to Inno Setup. I ( MGr) get for my application (which uses wxWindows) even smaller files when using 7-zip instead of bzip. and I use ZODB and Elementtree and pythoncom and and and.
0 Comments
Leave a Reply. |