Skip Welcome dialog
Welcome dialog is the first in my sequence. On fresh install the dialog is shown . I need to skip the same to installfiles based on a condition (on version being higher means an upgrade)
5 posts
!define MUI_PAGE_CUSTOMFUNCTION_PRE PageWelcomePre
!insertmacro MUI_PAGE_WELCOME
...
Function PageWelcomePre
${If} $UPGRADE == 1
Abort
${EndIf}
FunctionEnd However it is that you determine that is an upgrade/higher version. Calling Abort skips the page.Function nsDialogs
${If} $UPGRADE == 1
Abort
${EndIf}
nsDialogs::Create /NOUNLOAD 1018
Pop $0
blah blah
nsDialogs::Show
FunctionEnd