Skip to content
⌘ NSIS Forum Archive

Progress Bar During Initial Decompression

2 posts

todd_mm#

Progress Bar During Initial Decompression

I have turned on maximum compression for my installer that is 1 GiB before compression.

SetCompress force
SetCompressor /SOLID LZMA
The down side of this is that when I launch the installer, it decompresses the entire thing before doing anything that I can control, and there's no visual feedback that the installer is running.

Is there a way to get a progress bar during the initial decompression?
JasonFriday13#
Normally there is a dialog with progress that pops up after a few seconds if the decompression doesn't finish fast enough. If you know how to compile the source code, you can reduce the timer delay to make it appear earlier.

Edit: Forgot to add that putting the .oninit function below all the sections, and extracting any file (a temp file works too), is enough to trigger the dialog to appear.