Talk:FileAssoc: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 5: Line 5:
<nowiki>
<nowiki>
;    !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "$INSTDIR\myapp.exe,0" \
;    !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "$INSTDIR\myapp.exe,0" \
</nowiki>


<nowiki>
;    "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\""
;    "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\""
</nowiki>
</nowiki>
but in the fuction header there is six patrameters declared:
but in the fuction header there is six patrameters declared:



Revision as of 11:20, 21 September 2005

There is a bug in the script (I think...)

In the example you call with five parameters:

; !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "$INSTDIR\myapp.exe,0" \

; "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\""

but in the fuction header there is six patrameters declared:


!macro APP_ASSOCIATE EXT FILECLASS DESCRIPTION ICON COMMANDTEXT COMMAND


There must be somthing wrong here or?

/Pontus