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/)
|
2006-11-11 13:04:35 +00:00
|
|
|
* SCons version 0.96.93 and above (http://www.scons.org/)
|
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/)
|
|
|
|
|
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
|
|
|
|
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.
|
|
|
|
|
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
|