If you find any new issues, report them in this thread or on the SF bug tracker and please include compiler error messages and sample code if possible...
New known issues:
- Installer welcome page still says NSIS 2
27 posts
You can try the SVN trunk, it should work or be pretty close.Originally Posted by calebd View PostIs there any progress on a Linux version of this? I've been using 2.46 as part of an automated build system on Linux, but lately I've been running into issues with the max path length of 260 characters imposed by Windows. I was hoping to get around this by using the Unicode command in NSIS 3.0.
I've looked into the Unicode version of 2.46, but there doesn't seem to be Linux version of that either.
Well it seems to be working so far - I'm at least able to build makensis now. I'll try building some installers and update this with the results.Originally Posted by Anders View PostYou can try the SVN trunk, it should work or be pretty close.

!if "${NSIS_CHAR_SIZE}" = 1Should work if the script is Ansi. With Unicode you would actually have to say mypluginW::function for that to work...
!addplugindir "${NSISDIR}\Plugins"
!endif
zlib1.dll should already exist in \binOriginally Posted by Pawel View PostAnders,
Take a look at this folder: \NSIS_3\Bin
There is "GenPat.exe" application. I am not sure, but I think, in 2.4x releases I could use it without any external dlls...
Now, to use GenPat, I had to copy to Bin folder "zlib1.dll" library.
I suppose other apps also looking for that lib... Maybe you should add this to makesis setup to install it to this location...
No, I don't care about the label, I just wanted to know if it was reasonably solid or not. Sounds like it's pretty solid. Thanks!Originally Posted by Anders View PostIt is after all just a label, even releases marked as stable can be buggy.
I don't think there are any new bug reports but that does not mean it is safe to use 😉Originally Posted by toolbar510 View PostAny new known/open issues?
Kichik is pretty busy these days and there is a Posix bug that needs to be fixed first so I don't know...Originally Posted by toolbar510 View PostIt is passing our QA tests well - when do you plan on making it available outside of alpha?
scons: *** [build\urelease\System\amd64-unicode\Source\Call-amd64.obj] Source `Contrib\System\Source\Call-amd64.sx' not found, needed by target `build\urelease\System\amd64-unicode\Source\Call-amd64.obj'.If I create a file Call-amd64.sx with contents
scons: building terminated because of errors.
#include "Call-amd64.S"I get an error:
cl: command line warning D9024: unrecognized source file type "Contrib\System\Source\Call-amd64.sx", object file assumedIt's very important, because current x64 version from https://bitbucket.org/dgolub/nsis64 don't support System::Call, it makes impossible to complete the work of System plugin. Thank you!
cl: command line warning D9027: source file "Contrib\System\Source\Call-amd64.sx" ignored
cl: command line warning D9021: no action performed
LINK : fatal error LNK1181: cannot open input file "build\urelease\System\amd64-unicode\Source\Call-amd64.obj"
scons: *** [build\urelease\System\amd64-unicode\System.dll] Error 1181
scons: building terminated because of errors.
That is not really a good long term solution, we should try to figure out which scons changes need to be made...Originally Posted by systracer View PostIt's works! I just compile object file manually and System:Call started working, thank you!
Unicode true
!include LogicLib.nsh
Section
!define BINDATA "AA..snipped600more...BB"
#SetRegView 64
ClearErrors
WriteRegBin HKCU "Software\NSIS" "Test" "${BINDATA}"
${If} ${Errors}
DetailPrint Error
${Else}
DetailPrint OK
${EndIf}
StrLen $0 "${BINDATA}"
IntOp $1 $0 / 2
DetailPrint "BINDATA length is $0 ($1), NSIS(${NSIS_PACKEDVERSION}) char size is ${NSIS_CHAR_SIZE}"
!define /ifndef HKEY_CURRENT_USER 0x80000001
!define /ifndef KEY_QUERY_VALUE 0x0001
System::Call 'Advapi32::RegOpenKeyEx(i${HKEY_CURRENT_USER},t"Software\NSIS",p0,i${KEY_QUERY_VALUE},*p.r1)i.r0'
${If} $0 = 0
System::Call 'Advapi32::RegQueryValueEx(pr1,t"Test",p0,*i.r2,p0,*i.r3)i.r0'
DetailPrint "Error=$0 RegType=$2 Size=$3"
System::Call 'Advapi32::RegCloseKey(pr1)'
${EndIf}
SectionEnd
OKEdit:
BINDATA length is 600 (300), NSIS(0x03000021) char size is 2
Error=0 RegType=3 Size=300