silent install progress bar
I am trying to figure out a way to show a progress bar only during a silent install. The install would need to show the normal interface unless the /S switch is passed. Does anyone have any suggestions on how?
Archive: silent install progress bar
silent install progress bar
I am trying to figure out a way to show a progress bar only during a silent install. The install would need to show the normal interface unless the /S switch is passed. Does anyone have any suggestions on how?
You can check if the installer is silent using IfSilent or ${If} ${Silent} in .onInit, set it to non-silent and skip every page but the instfiles page.
That would work. Is there a way to use ChangeUI at execute time instead of compile time? I tried
ChangeUI all "${NSISDIR}\Contrib\UIs\LoadingBar_Icon.exe"
No. If you really want two separate UIs, you'll have to use two separate installers. One can be contained in the other.
Thanks. That will not work for us though. Our installs are quite large (several hundred MBs) and putting one inside the other would double the download size.
It would be easier just to show a banner with the Banner plug-in or one of the other banner plug-ins on the Wiki.
Stu