goofee691
12th November 2004 02:22 UTC
need help with this
i am wondering how to call a function wiht this
MUI_FINISHPAGE_SHOWREADME_FUNCTION
i have tried this
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Run Need For Speed Hot Pursuit 2"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION run
with this after it
Function run
exec "$instdir\NFSHP2.exe"
FunctionEnd
and get this error
install function "run" not referenced - zeroing code (287-289) out
deguix
12th November 2004 03:07 UTC
Quote from documentation:
MUI_FINISHPAGE_SHOWREADME_FUNCTION function_name
Call a function instead of showing a file (define MUI_FINISHPAGE_SHOWREADME without parameters). You can use the function to show multiple files or you can change the checkbox name and use it for other things.
Example:
!define MUI_FINISHPAGE_SHOWREADME
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Run Need For Speed Hot Pursuit 2"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION run
!insertmacro MUI_PAGE_FINISH
goofee691
15th November 2004 21:30 UTC
thx now works i did not think that you would need to put that line in