I'm following the examples at:
And they don't even work when I compile them.
Pop $0 #Number of times found throughout
Pop $1 #Number of lines found on
StrCmp $0 0 +2
MessageBox MB_OK "$\"hello$\" was found in the file $0 times on $1 lines."
Error: resolving install function "FileSearch" in unnamed install section (0)
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process
Am I missing something? I've installed NSIS.