I currently use those lines:
to launch my program when the setup ends.
!define MUI_FINISHPAGE_RUN "$INSTDIR\${MAIN_EXE}"
!insertmacro MUI_PAGE_FINISH
Now, I would like to:
- Automatically start my main exe at the end of the setup (no confirmation checkbox) if the setup is in silent mode (after a call with /S parameter)
- Never launch my main exe at the end of the setup if the setup is not in silent mode
Do you know how I can do that?