Skip to content
⌘ NSIS Forum Archive

Trouble importing WordAdd

6 posts

pgg1#

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#
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:

Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


Cheers.
pgg1#
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#
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