Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   how to build nsis in vc6? (http://forums.winamp.com/showthread.php?t=253960)

lkou 23rd August 2006 23:11

how to build nsis in vc6?
 
how to build nsis in vc6?:)

JasonFriday13 23rd August 2006 23:24

NSIS version 2.06 and under used VC6 to compile. Version 2.07 and above now use scons.

lkou 23rd August 2006 23:27

Quote:

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 24th August 2006 00:05

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 24th August 2006 00:06

code:

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

JasonFriday13 24th August 2006 00:20

You may need an updated python program.

lkou 24th August 2006 01:03

thank you JasonFriday13

JasonFriday13 24th August 2006 01:25

No problem. Always here to help (if I can).

kichik 25th August 2006 11:06

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.


All times are GMT. The time now is 04:12.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.