2005-05-28 18:52:03 +00:00
|
|
|
INSTALLING NSIS
|
|
|
|
~~~~~~~~~~~~~~~
|
|
|
|
|
2005-09-15 18:36:28 +00:00
|
|
|
This is a trimmed version of Appendix "Building NSIS" of the documentation.
|
2005-05-28 18:52:03 +00:00
|
|
|
|
|
|
|
- Requirements
|
|
|
|
|
2005-09-09 08:20:37 +00:00
|
|
|
* Python version 1.6 and above (http://www.python.org/)
|
2010-03-30 12:27:15 +00:00
|
|
|
* SCons version 1.2.0 and above (http://www.scons.org/)
|
2010-03-27 15:52:04 +00:00
|
|
|
* zlib version 1.2.3 and above (http://www.zlib.net/)
|
2005-05-28 18:52:03 +00:00
|
|
|
* C compiler
|
|
|
|
|
2005-09-23 15:06:49 +00:00
|
|
|
- Optional Tools
|
|
|
|
|
|
|
|
* HTML Help Workshop for CHM documentation (http://msdn.microsoft.com/)
|
|
|
|
* Cross compiler on POSIX platforms, i.e. MinGW (http://www.mingw.org/)
|
2007-05-05 13:05:08 +00:00
|
|
|
* wxWidgets 2.8 for NSIS Menu (http://www.wxwidgets.org)
|
|
|
|
WXWIN environment variable must be set to wxWidgets directory on Windows
|
2005-09-23 15:06:49 +00:00
|
|
|
|
2010-03-27 15:52:04 +00:00
|
|
|
- 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
|
|
|
|
|
2005-05-28 18:52:03 +00:00
|
|
|
- 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
|
|
|
|
|
2006-11-14 19:14:53 +00:00
|
|
|
* If using the Microsoft Visual C++ Toolkit 2003 and Platform SDK,
|
2005-05-28 18:52:03 +00:00
|
|
|
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
|
2007-03-03 13:21:55 +00:00
|
|
|
NSIS_CONFIG_CONST_DATA_PATH=no PREFIX=/path/to/extracted/zip
|
|
|
|
install-compiler
|
2005-05-28 18:52:03 +00:00
|
|
|
|
2007-03-03 13:21:55 +00:00
|
|
|
This should only build makensis and install it to the directory where
|
|
|
|
a precompiled package, such as the nightly build or a zipped release
|
2007-03-03 15:19:58 +00:00
|
|
|
version (nsis-x.xx.zip), is extracted.
|
2005-11-09 08:41:00 +00:00
|
|
|
|
2006-01-21 09:54:23 +00:00
|
|
|
* 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.
|
2009-02-04 14:08:31 +00:00
|
|
|
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.
|
2006-01-21 09:54:23 +00:00
|
|
|
|
2005-11-09 08:41:00 +00:00
|
|
|
- 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
|