2012-05-14 69 views
0

我是否需要包含特定的.nsh庫或函數定義以在NSIS中使用函數'StrContains'?如何在NSIS中使用/包含StrContains

我已經找了一個圖書館的下載,但我似乎無法找到它?

當我去編譯這段代碼我得到的編譯錯誤:「無效的命令:$ {StrContains}」

!include "LogicLib.nsh" 

# Compile error below 
!macro test 
    ${StrContains} $0 $1 "abc" 
!macroend 

Section 
    DetailPrint "" 
SectionEnd 

回答