Talk:FileAssoc: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
In the example you call with five parameters: | In the example you call with five parameters: | ||
<nowiki> | |||
; !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "$INSTDIR\myapp.exe,0" \ | ; !insertmacro APP_ASSOCIATE "txt" "myapp.textfile" "$INSTDIR\myapp.exe,0" \ | ||
; "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\"" | ; "Open with myapp" "$INSTDIR\myapp.exe $\"%1$\"" | ||
</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:18, 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