Old 14th December 2005, 17:34   #1
cellplex
Junior Member
 
Join Date: Jul 2005
Posts: 2
passing options in shell open

Hi all, I'm trying to do the dreaded file association for my app. I have that part working. My problem is I need to pass some options to my application for it to work properly. The line below is causing an error but I can't find exactly what is being passed to my app mcvp.exe when the user double clicks on the assoicated file. Have I got the format of the reg key correct?

Cheers.

WriteRegStr HKCR "mcvp\shell\open\command" "" '"$INSTDIR\mcvp.exe" "--int demo1 --size full --vmode-mode=bleed" %1'
cellplex is offline   Reply With Quote
Old 14th December 2005, 17:39   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Try putting quotes around %1 as well.

-Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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