From an uninstaller section, I call the following function:
But I get the following error on the !insertmacro line above:Function un.uninstallServices
!undef UN
!define UN ".un"
#if client service running, stop it
!insertmacro SERVICE "running" "rcb_Client" "action=stop;"
FunctionEnd
Call must be used with function names starting with "un." in the uninstall section.
Usage: Call function_name | [:label_name]
Error in macro SERVICE on macroline 4
Error in script "C:\Documents and Settings\Mark\My Documents\Eclipse\RemoteClipBoard\rcb_setup.nsi" on line 469 -- aborting creation process
And by looking at line 4 of the SERVICE macro in servicelib.nsh
It would appear that the !define had no effect.!macro SERVICE ACTION NAME PARAM
Push '${ACTION}'
Push '${NAME}'
Push '${PARAM}'
Call ${UN}Service <-- blows up here
!macroend
What am I missing??