Archive: Silent unInstall and progress bar


Silent unInstall and progress bar
Hello,

I try to run an Uninstall and to display only a progress bar during the process...
but if i choose a silent uninstall, i can only display message boxes.

And if i don't choose silent uninstall, all uninstall process and windows are displayed.

Somebody know how to display a progress bar during a silent uninstall?

Thank you very much for your answers.


Silent means completely silent. What you want is to display only the instfiles page. Simply remove all pages and keep only the instfiles page.


Thank you for the answer but
the problem is:

in one case (an update operation) i only want to see a progress bar during the process and in the second case (the base installation) I want to see all the dialogs boxes and all the process.

I have a parameter called : UPDATE to know if i'm in an update process or not.

So the difficulty is to have a dynamic behaviour.


Call Abort in the pre callback function of pages you don't want to show, when this UPDATE flag is set, and they'll disappear.


Thank you very much for you help!

That was THE solution! We now, have a great install process.

sample code:

!define MUI_PAGE_CUSTOMFUNCTION_PRE "AbortFunction"
!insertmacro MUI_PAGE_WELCOME

Function AbortFunction
Abort
FunctionEnd