Skip to content
⌘ NSIS Forum Archive

how to build nsis in vc6?

9 posts

JasonFriday13#
NSIS version 2.06 and under used VC6 to compile. Version 2.07 and above now use scons.
lkou#
Originally posted by JasonFriday13
NSIS version 2.06 and under used VC6 to compile. Version 2.07 and above now use scons.
thanks

how to use or set scons?
JasonFriday13#
There is alot of software to download, but it is all free so it's all good.

You will need:
Microsoft Platform SDK Server 2003 SP1 (387MB)
Microsoft Toolkit 2003 (27MB, about)
Python 2.x (I use 2.4.1) (don't know the size)
Scons 0.96.9x (I use 0.96.91)
NSIS source code.

Note: Also make sure the python directory is in your 'path'.

First, open a command prompt, then change the directory to where the NSIS source is.
To build the source, type: scons MSTOOLKIT=YES
To build an installation package, type: scons MSTOOLKIT=YES dist-installer
To build a zip, type: scons MSTOOLKIT=YES dist-zip
To build both, type: scons MSTOOLKIT=YES dist

Hope this helps.
lkou#

D:\nsis>scons.bat
scons: Reading SConscript files ...
File "SConstruct", line 326

defenv['INSTVER'] += ' %sDVER_MAJOR=$VER_MAJOR' % optchar

^

🙁 its error

i install Python161 and scons-0.96.91
kichik#
You don't need the Platform SDK or the VC toolkit. It's possible to build using only VC6. In fact, that's how I build releases. Platform SDK is, however, recommended, to avoid the CopyFiles crash bug.