Show MUI_FINISHPAGE_RUN with condition
Hello,
I want to display this page with condition like this :
IfFileExists $INSTDIR\keep gotolaunch dontlaunch
     gotolaunch:
    !define MUI_FINISHPAGE_RUN
    !define MUI_FINISHPAGE_RUN_FUNCTION "LaunchLink"
   dontlaunch:
But IfFileExist must be in a function ! I try this too
!define MUI_FINISHPAGE_RUN
!define MUI_FINISHPAGE_RUN_FUNCTION "LaunchLink"
(...)
Function LaunchLink
        IfFileExists $INSTDIR\keep gotolaunch dontlaunch
  gotolaunch:
    ExecShell "" "$DESKTOP\${PRODUCT_NAME}.lnk"
        dontlaunch:
FunctionEnd
But the FINISHPAGE_RUN is display:(
Is there another solution ?
Thanks