-
Notifications
You must be signed in to change notification settings - Fork 144
/
INSTALL
93 lines (60 loc) · 2.82 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
INSTALLING NSIS
~~~~~~~~~~~~~~~
This is a trimmed version of Appendix "Building NSIS" of the documentation.
- Requirements
* Python version 2.7 and above (http://www.python.org/)
* SCons version 1.2.0 and above (http://www.scons.org/)
* zlib version 1.2.3 and above (http://www.zlib.net/)
* C compiler
- Optional Tools
* HTML Help Workshop for CHM documentation (http://msdn.microsoft.com/)
* Cross compiler on POSIX platforms, i.e. MinGW (http://www.mingw.org/)
* wxWidgets 2.8 for NSIS Menu (http://www.wxwidgets.org)
- Preparation
* Unpack the zip archive of the downloaded zlib compiled DLL package
to a folder of your choice, e.g. C:\Dev\zlib-1.2.4 and set the
ZLIB_W32 environment variable, type:
set ZLIB_W32=C:\Dev\zlib-1.2.4
* See Contrib\NSIS Menu\wx\build.txt for wxWidgets build steps.
Optionally, you can skip this by using:
scons SKIPUTILS="NSIS Menu"
- For Unicode version of NSIS
* type:
scons UNICODE=yes
- Installing
* type:
scons PREFIX="C:\Program Files\NSIS" install
- More options
* For build options, type:
scons -h
* For SCons options, type:
scons -H
- Special cases
* If using the Microsoft Visual C++ Toolkit 2003 and Platform SDK,
add MSTOOLKIT=yes to the build command line. For example:
scons MSTOOLKIT=yes PREFIX=C:\NSIS install
If path problems occur, try:
set MSSDK=C:\Path\To\Platform SDK
set VCToolkitInstallDir=C:\Path\To\VCToolkit
scons MSTOOLKIT=yes
* If a cross compiler is not available on POSIX, use:
scons SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all
NSIS_CONFIG_CONST_DATA_PATH=no PREFIX=/path/to/extracted/zip
install-compiler
This should only build makensis and install it to the directory where
a precompiled package, such as the nightly build or a zipped release
version (nsis-x.xx.zip), is extracted.
* Options for POSIX installs
PREFIX: defaults to /usr/local
PREFIX_BIN: Where to put native binaries. Defaults to $PREFIX/bin/
PREFIX_CONF: Where to put the config file. Defaults to $PREFIX/etc/
PREFIX_DATA: Where to put the plugins, stubs, etc. Defaults to $PREFIX/share/nsis/
PREFIX_DOC: Where to put the docs and examples. Defaults to $PREFIX/share/doc/nsis/
PREFIX_DEST: The install root Useful for packagers. Defaults to the root directory.
PREFIX_PLUGINAPI_INC: Where to put the plugin api headers. Defaults to not installed.
PREFIX_PLUGINAPI_LIB: Where to put the plugin api static lib. Defaults to not installed.
- Problems
* Get help in the forum:
http://forums.winamp.com/forumdisplay.php?forumid=65
* Report bugs in the bug tracker:
http://sourceforge.net/tracker/?group_id=22049&atid=373085