- NSIS Discussion
- Request
Archive: Request
Afrow UK
16th July 2003 21:20 UTC
Request
I've just found a problem with my app being caused by the NSIS_MAX_STRLEN.
I was wondering if somone could re-compile MakeNSISw with the max strlen set to 8096 and send it to me?
I don't have a suitable compiler here at home, since I don't do C++ :(
Thanks
-Stu
kichik
16th July 2003 21:27 UTC
Latest CVS version or b3?
Afrow UK
16th July 2003 21:29 UTC
Latest
bSecRes
16th July 2003 21:37 UTC
Afrow/Kichik, could I get that too?
kichik
16th July 2003 21:38 UTC
Made it 8192 because it's a nicer number.
http://nsis.sourceforge.net/makensis.zip
bSecRes
16th July 2003 21:54 UTC
Thanks, you rock.
Afrow UK
16th July 2003 22:59 UTC
Thanks loads Kichik :)
BTW, what are the effects of this (I mean, are there any bad ones)?
-Stu
kichik
16th July 2003 23:01 UTC
Just more usage of memory. Shouldn't be too much though... I think it would even be less than 1MB.
Sharingan
16th July 2003 23:18 UTC
Im having problems
i was looking for something that would not give me the 1024 Exceded limit. I installed this and it looked good but it gave me an error.
kichik
16th July 2003 23:24 UTC
You're probably trying to use it with files/scripts of another version of NSIS. If that's not that case and you're using today's CVS version then I'd need some more details.
Sharingan
17th July 2003 02:46 UTC
Its a really long string.
The version im using is MakeNSISW 2.0. And normally i get a message saying that it exceded the 1024 limit. Its a WriteRegBin. Now i replaced the makensis.exe with the one on this forum and it looks like its working but then an error occurs. The WinXP Error report pops saying that the application caused and error of some sort.
Sharingan
17th July 2003 03:37 UTC
Maybe i need a higher one
if i cut the string shorter it works maybe i need a higher one anyone know how to make one like the one posted above but a higher number maybe it will fix my problem
kichik
17th July 2003 13:14 UTC
When does the error occur? When running the installer or still when compiling? Can you attach an example script?
Afrow UK
17th July 2003 15:56 UTC
I will download this later today, and check it out.
I have to go out now...
-Stu
Sharingan
17th July 2003 16:21 UTC
here is a pic hope its helps
http://www.geocities.com/uchihaclan/
its at that site.
kichik
17th July 2003 16:29 UTC
Can you click on click here and tell me what it says there? If in that message box it gives an option for even more details I'd like to see those too.
Afrow UK
18th July 2003 11:50 UTC
It works great for me!
Thanks
-Stu
kichik
18th July 2003 17:36 UTC
Fixed in latest CVS version, no compiled version yet. Make sure you split the lines using a back-slash because if the line is too long NSIS will treat it as two.
Afrow UK
23rd July 2003 23:28 UTC
Kichik
I was using the modified MakeNSIS (8129 NSIS_MAX_STRLEN) that you compiled for me, and have had to download latest CVS to fix problems (link control etc)
Will the old MakeNSIS work, or will you be able to compile me another one?
Thanks
-Stu
kichik
24th July 2003 00:04 UTC
Same URL:
http://nsis.sf.net/makensis.zip
Afrow UK
24th July 2003 13:10 UTC
This one crashes my installer on the page before the InstFiles page.
-Stu :(
Afrow UK
24th July 2003 13:17 UTC
Never mind.
It was my other installer that was crashing - and I didn't need to use the modified MakeNSIS for that.
Works fine on the one that needed the longer NSIS_MAX_STRLEN.
-Stu
Afrow UK
20th September 2003 14:46 UTC
I was wondering if it is possible to keep this available always.
I think it should be another download with a full link on the development page.
It's important that I keep my installer updated with new NSIS features, but it requires the 8129 NSIS_MAX_STRLEN set in makensis.
I will get a compiler eventually, but I'm still in school, and college starts a year from now.
-Stu
Joost Verburg
20th September 2003 15:10 UTC
See http://winprog.org/tutorial/msvc.html
Afrow UK
20th September 2003 15:22 UTC
Wow that is excellent thanks!
I will grab them now (thank god I run XP as well)
-Stu
Afrow UK
20th September 2003 19:26 UTC
I've nearly got the Core SDK downloaded.
Now, which is the main source file that I need to target?
build.h?
-Stu
Joost Verburg
20th September 2003 20:46 UTC
No, the makenssi files. I don't know whether you can use the projects files with this compiler. Maybe you will need a makefile generated by Visual Studio.
Afrow UK
20th September 2003 21:58 UTC
I think that page refers to an older SDK release.
The one I just downloaded doesn't come with a Win32 C++ compiler, but only has a Win64 C++ compiler (Win64\CL.EXE)
I'm stuck :(
-Stu
Afrow UK
20th September 2003 22:02 UTC
Ok, I've got a step further.
I'm now using RC.EXE on Script1.rc, but it says it can't find the windows.h include.
Edit: fixed that problem, but thats not a compiler anyway :p
-Stu