Old 16th July 2003, 20:20   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 16th July 2003, 20:27   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 16th July 2003, 20:29   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Latest
Afrow UK is offline   Reply With Quote
Old 16th July 2003, 20:37   #4
bSecRes
Junior Member
 
Join Date: Jul 2003
Location: LA USA
Posts: 37
Afrow/Kichik, could I get that too?
bSecRes is offline   Reply With Quote
Old 16th July 2003, 20:38   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Made it 8192 because it's a nicer number.

http://nsis.sourceforge.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
kichik is offline   Reply With Quote
Old 16th July 2003, 20:54   #6
bSecRes
Junior Member
 
Join Date: Jul 2003
Location: LA USA
Posts: 37
Thanks, you rock.
bSecRes is offline   Reply With Quote
Old 16th July 2003, 21:59   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 16th July 2003, 22:01   #8
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 16th July 2003, 22:18   #9
Sharingan
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.
Sharingan is offline   Reply With Quote
Old 16th July 2003, 22:24   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 17th July 2003, 01:46   #11
Sharingan
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.
Sharingan is offline   Reply With Quote
Old 17th July 2003, 02:37   #12
Sharingan
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
Sharingan is offline   Reply With Quote
Old 17th July 2003, 12:14   #13
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 17th July 2003, 14:56   #14
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 17th July 2003, 15:21   #15
Sharingan
Junior Member
 
Join Date: Jul 2003
Posts: 5
here is a pic hope its helps

http://www.geocities.com/uchihaclan/
its at that site.
Sharingan is offline   Reply With Quote
Old 17th July 2003, 15:29   #16
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 17th July 2003, 20:55   #17
Sharingan
Junior Member
 
Join Date: Jul 2003
Posts: 5
another pic

http://www.geocities.com/uchihaclan/index.html
Sharingan is offline   Reply With Quote
Old 18th July 2003, 10:50   #18
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It works great for me!

Thanks

-Stu
Afrow UK is offline   Reply With Quote
Old 18th July 2003, 16:36   #19
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 23rd July 2003, 22:28   #20
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 23rd July 2003, 23:04   #21
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 24th July 2003, 12:10   #22
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
This one crashes my installer on the page before the InstFiles page.

-Stu
Afrow UK is offline   Reply With Quote
Old 24th July 2003, 12:17   #23
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 20th September 2003, 13:46   #24
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 20th September 2003, 14:10   #25
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
See http://winprog.org/tutorial/msvc.html
Joost Verburg is offline   Reply With Quote
Old 20th September 2003, 14:22   #26
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 20th September 2003, 18:26   #27
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 20th September 2003, 19:46   #28
Joost Verburg
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.
Joost Verburg is offline   Reply With Quote
Old 20th September 2003, 20:58   #29
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK is offline   Reply With Quote
Old 20th September 2003, 21:02   #30
Afrow UK
Moderator
 
Afrow UK's Avatar
 
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
Afrow UK 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