Skip to content
⌘ NSIS Forum Archive

${WordFind} from uninstaller section

3 posts

Ivan Andreevich#

${WordFind} from uninstaller section

The following code works in installer sections -
${WordFind} "$R0" "\" "-2{*" $R0
It doesn't work in uninstaller sections, giving me the following warning -
!insertmacro: WordFindCall
Call must be used with function names starting with "un." in the uninstall section.
Usage: Call function_name | [:label_name]
Error in macro WordFindCall on macroline 6
According to the documentation, it should work. Any ideas?
Ivan Andreevich#
Interesting. Searched for quite a while, but just found it right after posting.

What I was missing is the
!insertmacro un.WordFind
declaration.
kichik#
The documentation you're reading is for the latest version which it seems like you're not really using.