Changes between Version 73 and Version 74 of BuildingUsingGenericBuildsystem


Ignore:
Timestamp:
02/15/13 10:41:05 (11 years ago)
Author:
Samuli Seppänen
Comment:

Added info on how to run makensis manually

Legend:

Unmodified
Added
Removed
Modified
  • BuildingUsingGenericBuildsystem

    v73 v74  
    142142= Creating a NSIS installer ("windows-nsis" subdir) =
    143143
     144== Building and packaging ==
     145
    144146You can use the scripts in ''openvpn-build/windows-nsis'' to create a [http://nsis.sourceforge.net NSIS] installer for Windows. The scripts use the generic build system to build OpenVPN and it's dependencies (e.g. lzo, openssl), and use [http://sourceforge.net/projects/osslsigncode osslsigncode] for signing the resulting binaries, if requested.
    145147
     
    174176'''NOTE:''' To make sure fresh tarballs are used, empty ./sources directory before building.
    175177
     178== Packaging without building ==
     179
     180Building OpenVPN and it's dependencies takes time, so if you're only making changes to ''openvpn.nsi'' you should only rebuild the Windows installers:
     181
     182{{{
     183makensis -DARCH=x86_64\
     184-DVERSION_STRING=2.3_master-I001_master\
     185-DOPENVPN_ROOT=tmp\\installer\\openvpn\
     186-DTAP_WINDOWS_INSTALLER=tmp\\tap-windows-9.9.2.exe\
     187-DSPECIAL_BUILD\
     188-DUSE_TAP_WINDOWS\
     189-DEASYRSA_ROOT=tmp\\installer\\easy-rsa\
     190-DUSE_EASYRSA\
     191-DUSE_OPENVPN_GUI\
     192-DOUTPUT=./openvpn-test.exe\
     193-DPACKAGE_NAME=OpenVPN openvpn.nsi
     194}}}
     195
     196Make sure the variables match your latest complete build.
    176197= Building natively on Windows using the MSVC toolchain ("msvc" subdir) =
    177198