bloodfire29
25th October 2006 10:58 UTC
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.
kichik
25th October 2006 22:23 UTC
Silent means completely silent. What you want is to display only the instfiles page. Simply remove all pages and keep only the instfiles page.
bloodfire29
26th October 2006 08:58 UTC
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.
kichik
26th October 2006 12:26 UTC
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.
bloodfire29
26th October 2006 13:34 UTC
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