Old 16th August 2014, 12:32   #1
telepoozeeck
Junior Member
 
Join Date: Aug 2014
Posts: 2
StrContains method is undefined

Hi all, i'm trying to use StrContains function and getting compile error:
code:
Processed 1 file, writing output (x86-ansi):
Error: resolving install function "StrContains" in function "callMe"
Note: uninstall functions must begin with "un.", and install functions must not
Error - abortg creation process



My code
code:

Name "sample"
OutFile "sample.exe"
Function callMe
Push "Very long string"
Push "long"
Call StrContains
Pop $0
DetailPrint "StrContains result=$0"
FunctionEnd
Section
Call callMe
SectionEnd



Am i missing sme thing: include\define\plugin?
Attached Files
File Type: txt log.txt (2.3 KB, 155 views)
telepoozeeck is offline   Reply With Quote
Old 16th August 2014, 16:39   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
Where did you find StrContains? On the wiki?

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 16th August 2014, 17:09   #3
telepoozeeck
Junior Member
 
Join Date: Aug 2014
Posts: 2
Yes
telepoozeeck is offline   Reply With Quote
Old 16th August 2014, 18:58   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
You need to copy the code from the wiki page into your script...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump