Archive: Building NSIS Errors


Building NSIS Errors
Hi,

perhaps this will help some one: if you encounter building errors such as "link error: missing security_check_cookie" it means scons tries to build NSIS with Visual Studio .NET and not VS 6.0

The simplest solution is to temporarelly rename the installation folders for all VS.NET installations. I'm sure there is a more elegant way to achieve it but this one is quick ( and dirty :) ).

Hope it helps.


It might also be possible to set this using SCons' MSVS_VERSION. Try adding defenv.Append(MSVS_VERSION = '6') in SConstruct after defenv = Environment(). If it works, I'll add a command line option for this.