Archive: Use a progress bar for silent installations


Use a progress bar for silent installations
Hi!

I want to install several packages in silent mode. So I want to use
one main installer script to start the other installer scripts in
silent mode. But there is no possibilty see the progress of each
silent package while installation.
Is there any possibility to show a progress bar while installing in silent mode?

Regards,
Superrock:rolleyes:


But if you showed a progress bar it would no longer be silent.


Installing components
:rolleyes:
What I really want is to make a batch. The user selects one or several packages(like a main installation menu) and the defines one installation directory. Afterwards all single packages are executed (=anyone is an separated Nsis-Installer). They should be installed with progress bars and the normal installation layout, but without entering anything.

So I want don't want a "silent mode", but from my understanding I have to use the silent mode to use it in batch mode!

Regards,


I've done something like this before.

First, make your installer not silent, and make it auto close on finish.

Next, use a utility such as Resource Hacker to resize the main dialog, so that only the progress bar, text, and icon show.

If you really want CRC checking, there's a way of doing both but it's a bit more complicated.

Take a look at the attached screenshot. All I have done is resized the main form to 34 pixels high.


disable all dialogues
Thanks petersa!

Another question: How to disable the dialogue for selecting the the installation component and the target directory?

Regards,
Superrock:p


To completely disable the Directory page (and install without prompting, even if a valid installation path is not available), specify DirText with no parameter.
To completely disable the Components page, specify ComponentText with no parameter.

Regards,
~ Florian