View Single Post
Old 27th November 2015, 12:34   #32
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,504
Lightbulb Building NSIS with the free VC 2003 Toolkit on a clean Windows 2000 install

  • Download and install Python: (On older systems you need Windows Installer 2.0 Redistributable: ->
  • Download and install SCons: ->
  • Download and install HTML help workshop: (This is optional, it will generate HTML documentation instead of CHM if you don't do this)
  • Download and install VC 2003 Toolkit: Google:"VCToolkitSetup.exe" (v13.10.3052, 32952488 bytes or v13.10.3077, 32948392 bytes)
  • Download Platform SDK February 2003 (5.2.3790.0):
    PHP Code:
    FOR /%A IN (1,1,13) DO wget
    REM (Download manually if you don't have wget) 
  • Run PSDK-FULL.bat and then run the extracted setup and install the Core SDK and Internet Development SDK
  • Download the Zlib library: (
  • Download the NSIS source code, I used trunk r6644 r6646
  • We are now ready to build, run "Set Windows 2000 Build Environment (Retail).lnk":

    PHP Code:
    REM VC2003TK linker sometimes dies with "fatal error LNK1158: cannot run 'cvtres.exe'" because SCons fails to put it in %pathso I'm fixing that with:
    copy "%windir%\Microsoft.NET\Framework\v1.1.4322\cvtres*" "%VCToolkitInstallDir%\Bin\"

    cd C:\NSIS\trunk
    set PATH=%PATH%;C:\Program Files\HTML Help Workshop&REM
    set ZLIB_W32=C:\NSIS\dep\zlib&REM

    C:\Python27\Scripts\scons.bat MSTOOLKIT=yes VER_MAJOR=3 VER_MINOR=0 SKIPUTILS="NSIS Menu" SKIPPLUGINS=System PREFIX="c:\NSIS\NSIS" install 

If you want to build the system plugin you also need MASM. If you want to build the NSIS menu you need to download wxwidgets. I'm building everything here.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote