|
|
|
|
#1 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Latest CVS version or b3?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Latest
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Jul 2003
Location: LA USA
Posts: 37
|
Afrow/Kichik, could I get that too?
|
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Jul 2003
Location: LA USA
Posts: 37
|
Thanks, you rock.
|
|
|
|
|
|
#7 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Thanks loads Kichik
![]() BTW, what are the effects of this (I mean, are there any bad ones)? -Stu |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Just more usage of memory. Shouldn't be too much though... I think it would even be less than 1MB.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Jul 2003
Posts: 5
|
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.
|
|
|
|
|
|
#10 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Jul 2003
Posts: 5
|
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.
|
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Jul 2003
Posts: 5
|
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
|
|
|
|
|
|
#13 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
When does the error occur? When running the installer or still when compiling? Can you attach an example script?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I will download this later today, and check it out.
I have to go out now... -Stu |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Jul 2003
Posts: 5
|
here is a pic hope its helps
http://www.geocities.com/uchihaclan/
its at that site. |
|
|
|
|
|
#16 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Jul 2003
Posts: 5
|
another pic
|
|
|
|
|
|
#18 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
It works great for me!
Thanks -Stu |
|
|
|
|
|
#19 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#20 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#21 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Same URL:
http://nsis.sf.net/makensis.zip NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#22 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
This one crashes my installer on the page before the InstFiles page.
-Stu
|
|
|
|
|
|
#23 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#24 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#25 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
|
|
|
|
|
|
#26 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Wow that is excellent thanks!
I will grab them now (thank god I run XP as well) -Stu |
|
|
|
|
|
#27 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I've nearly got the Core SDK downloaded.
Now, which is the main source file that I need to target? build.h? -Stu |
|
|
|
|
|
#28 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
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.
|
|
|
|
|
|
#29 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 |
|
|
|
|
|
#30 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
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 ![]() -Stu |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|