pgg1
7th August 2007 14:10 UTC
Trouble importing WordAdd
Hi
I am having trouble importing WordAdd from WordFunc.nsh
*************** CODE *************************
!include "WordFunc.nsh"
outFile "installer.exe"
section
${WordAdd} "C:\io.sys C:\WINDOWS" " " "+C:\WINDOWS C:\config.sys" $R0
; $R0="C:\io.sys C:\WINDOWS C:\config.sys"
MessageBox MB_OK $R0
sectionEnd
*************** ERROR *************************
Processing script file: "C:\Documents and Settings\*****\Desktop\WordAddTest.nsi"
!include: "C:\Program Files\NSIS\Include\WordFunc.nsh"
!define: "WORDFUNC_INCLUDED"=""
!include: closed: "C:\Program Files\NSIS\Include\WordFunc.nsh"
OutFile: "installer.exe"
Section: ""
Invalid command: ${WordAdd}
Error in script "C:\Documents and Settings\*****\Desktop\WordAddTest.nsi" on line 6 -- aborting creation process
Could someone please tell me where it's going wrong?
Thanks.
pgg1
7th August 2007 14:46 UTC
I'm currently using the latest installer version v2.9 I didn't know if that included the latest headers which I suspect it does. However, I downloaded and installed nsh.zip from the following thread:
http://forums.winamp.com/showthread....83#post2032483
Cheers.
pgg1
7th August 2007 14:57 UTC
One other question, how do you submit a URL without getting the "URL submitted by user" link that does not link to any thing.
demiller9
7th August 2007 14:57 UTC
You need
!insertmacro WordAdd
and possibly
!insertmacro un.WordAdd
demiller9
7th August 2007 15:00 UTC
The "URL submitted by user" message is a filter that prevents people from posting obnoxious links. It is applied to new users and goes away after they have done some number of valid postings to the board.
The URL behind that message is visible when you click the "Post a Reply" button.
Don
pgg1
7th August 2007 15:27 UTC
Thank you very much.