Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 13th June 2006, 13:49   #1
whaccybanany
Junior Member
 
Join Date: Jan 2006
Posts: 9
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?
whaccybanany is offline   Reply With Quote
Old 13th June 2006, 13:51   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,203
!define MUI_FINISHPAGE_RUN_PARAMETERS ...

It's just under MUI_FINISHPAGE_RUN in the Modern UI manual

-Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 13th June 2006, 13:54   #3
whaccybanany
Junior Member
 
Join Date: Jan 2006
Posts: 9
Wow. Did not expect such an easy solution.

Thanks Stu!
whaccybanany is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump