Talk:FileAssoc: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(bug, wrong # of parameters)
 
No edit summary
Line 2: Line 2:


In the example you call with five parameters:
In the example you call with five parameters:
''
 
;    !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$\""


but in the fuction header there is six patrameters declared:
but in the fuction header there is six patrameters declared:


''
 
!macro APP_ASSOCIATE EXT FILECLASS DESCRIPTION ICON COMMANDTEXT COMMAND
!macro APP_ASSOCIATE EXT FILECLASS DESCRIPTION ICON COMMANDTEXT COMMAND
''
 


There must be somthing wrong here or?
There must be somthing wrong here or?
/Pontus

Revision as of 11:17, 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