Skip to content
⌘ NSIS Forum Archive

MUI_FINISHPAGE_RUN with quotes in command line params?

2 posts

mnbv0987#

MUI_FINISHPAGE_RUN with quotes in command line params?

in nsis 2.42, how do i set a run command on the finish page where the command has command line parameters with quotes in them?

currently i am trying something like this (this is the way it works with CreateShortCut at least):

!define MUI_FINISHPAGE_RUN '$INSTDIR\program.exe /PARAM "$INSTDIR/filename.xyz"' 
but it seems !define with double quotes inside single quotes makes nsis complain.

thanks,
m
mnbv0987#
whoops, i figured it out, was doing everything wrong. it's:

!define MUI_FINISHPAGE_RUN "$INSTDIR/program.exe"
!define MUI_FINISHPAGE_RUN_PARAMETERS "/PARAM $\"$INSTDIR/filename.xyz$\""