Passing command line parameter to MUI_FINISHPAGE_RUN
I am having a lot of difficulties with passing a parameter to my program, for MUI_FINISHPAGE_RUN.
MUI_FINISHPAGE_RUN is used to specify an application run after the installer finishes. I would like to pass one long parameter to this, which are in quotes.
I have tried:
!define MUI_FINISHPAGE_RUN "$\"$INSTDIR\${PRODUCT_EXE_NAME}$\" $\"$INSTDIR\Sample\filename.type$\""
!define MUI_FINISHPAGE_RUN '"$INSTDIR\${PRODUCT_EXE_NAME}" "$INSTDIR\Sample\addresses.ism"'
But nothing seems to work. The program doesn't even get executed.
Can anyone help this this at all?