Old 16th January 2005, 09:30   #1
schnell18
Junior Member
 
Join Date: Jan 2005
Posts: 3
Length limit of nsi script variable

Hi, NSIS gurus
I'm making a installer for cruisecontrol using NSIS. This installer needs to register cruisecontrol as windows NT service.
One step is to build a classpath to pass to the java nt service wrapper.
Code is following:
Quote:
StrCpy $R0 "$R2\cruisecontrol.jar;$R1\log4j.jar;$R1\jdom.jar;$R1\ant\ant.jar;$R1\ant\ant-launcher.jar;$R1\xerces.jar;$R1\xalan.jar;$R1\jakarta-oro-2.0.3.jar;$R1\mail.jar;$R1\junit.jar;$R1\activation.jar;$R1\commons-net-1.1.0.jar;$R1\starteam-sdk.jar;$R1\mx4j.jar;$R1\mx4j-tools.jar;$R1\mx4j-remote.jar;$R1\smack.jar;$R1\comm.jar;$R1\x10.jar"
If I choose a long or deep install directory. Expanded $RO seems trimmed. So what's the length limit of the variable in NSIS? Is it changeable?

Regards,
Justin
schnell18 is offline   Reply With Quote
Old 16th January 2005, 09:36   #2
schnell18
Junior Member
 
Join Date: Jan 2005
Posts: 3
Okay I know Special build or customized build solve this prob

Checkout this:
http://nsis.sourceforge.net/download/specialbuilds/
schnell18 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