Archive: Length limit of nsi script variable


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:

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

Okay I know Special build or customized build solve this prob
Checkout this:
http://nsis.sourceforge.net/download/specialbuilds/