Archive: page pass


page pass
code:
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_Finish
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_Finish

ShowInstDetails show
ShowUninstDetails show

...

question:
if $CMDLINE == 'pass'
show UNPAGE_INSTFILES
else
show MUI_UNPAGE_WELCOME
show MUI_UNPAGE_INSTFILES
show MUI_UNPAGE_Finish
endif

uninstall parameter chcek

parameter is pass then only MUI_UNPAGE_INSTFILES show


To check the parameters passed, use the GetParameters function which is in the documentation under Useful Scripts.
To skip pages, declare their PRE function with !define MUI_PAGE_CUSTOMFUNCTION_PRE un.Func and call Abort in that function.

-Stu