kike_velez
14th February 2005 08:42 UTC
Special Builds : how to notify when compiling
Hello
I have an installer that needs the special build for variables longer than 1024 .
There is a way to indicate to me when compiling that i need this special build ?
The problem is that by default I use the normal build (1024) of makensis.exe and I don´t want to be wrong with this special project when I must modify this.
Best Regards
Afrow UK
14th February 2005 12:17 UTC
The special builds are only re-compiled when a new build of NSIS is made. The current special build is that of NSIS 2.05. So basically, if you want to know when a new version is available, you'll just have to check the site say once a month or so.
I think an automatic e-mailing system on the site would be handy though Joost...
-Stu
kike_velez
14th February 2005 12:25 UTC
Hello Afrow and thanks for your response
I don´t explain too well :(
I have an installer that uses makensis.exe (special build) and when I do some changes for exemple add another function , I want something like a messagebox o echo o .. that notify to me that i must use the special build and not the default build , In the moment that i compile the script.
Best Regards
Afrow UK
14th February 2005 12:47 UTC
Ah I see :D
There is a simple answer to this :D
In your script put this at the top:
!define "Check_${NSIS_MAX_STRLEN}"
!ifdef Check_1024
!error "You're not using the 8192 string length special build!"
!else
!undef "Check_${NSIS_MAX_STRLEN}"
!endif
Your script will simply not compile if you aren't using the special build. Works bloomin' great :D
-Stu
Afrow UK
14th February 2005 12:51 UTC
I'm going to put this on the NSIS archive...
-Stu
kike_velez
14th February 2005 12:53 UTC
That´s what i need :D
Thanks
Afrow UK
14th February 2005 12:55 UTC
Just changed it a little...
!define "Check_${NSIS_MAX_STRLEN}"
!ifndef Check_8192
!error "You're not using the 8192 string length special \
build! ${NSIS_MAX_STRLEN} is no good!"
!else
!undef "Check_${NSIS_MAX_STRLEN}"
!endif
-Stu
kike_velez
14th February 2005 13:07 UTC
Thanks again :up: