Archive: Request


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


Latest CVS version or b3?


Latest


Afrow/Kichik, could I get that too?


Made it 8192 because it's a nicer number.

http://nsis.sourceforge.net/makensis.zip


Thanks, you rock.


Thanks loads Kichik :)

BTW, what are the effects of this (I mean, are there any bad ones)?


-Stu


Just more usage of memory. Shouldn't be too much though... I think it would even be less than 1MB.


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.


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.


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.


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


When does the error occur? When running the installer or still when compiling? Can you attach an example script?


I will download this later today, and check it out.
I have to go out now...

-Stu


here is a pic hope its helps
http://www.geocities.com/uchihaclan/
its at that site.


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.


another pic
http://www.geocities.com/uchihaclan/index.html


It works great for me!

Thanks

-Stu


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.


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


Same URL:
http://nsis.sf.net/makensis.zip


This one crashes my installer on the page before the InstFiles page.

-Stu :(


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


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


See http://winprog.org/tutorial/msvc.html


Wow that is excellent thanks!

I will grab them now (thank god I run XP as well)

-Stu


I've nearly got the Core SDK downloaded.
Now, which is the main source file that I need to target?

build.h?

-Stu


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.


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


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