204 | | |
205 | | = Building natively on Windows using the MSVC toolchain ("msvc" buildsystem) = |
| 204 | = Creating a NSIS installer ("windows-nsis" subdir) = |
| 205 | |
| 206 | You 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. |
| 207 | |
| 208 | NSIS must be available on system. If installed not in path or standard location set MAKENSIS environment variable. Same goes for OSSLSIGNCODE. |
| 209 | |
| 210 | First check out ''openvpn-build'' as described [wiki:BuildingUsingGenericBuildsystem#Checkingoutopenvpn-buildrepository here]. Then do the following: |
| 211 | |
| 212 | {{{ |
| 213 | $ cd openvpn-build/windows-nsis |
| 214 | $ ./build-complete |
| 215 | }}} |
| 216 | |
| 217 | Refer to ./build-complete --help for more options. |
| 218 | |
| 219 | '''NOTE:''' To make sure fresh tarballs are used, empty ../generic/sources directory before building. |
| 220 | |
| 221 | = Building natively on Windows using the MSVC toolchain ("msvc" subdir) = |
267 | | = Creating a NSIS installer = |
268 | | |
269 | | You 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. |
270 | | |
271 | | NSIS must be available on system. If installed not in path or standard location set MAKENSIS environment variable. Same goes for OSSLSIGNCODE. |
272 | | |
273 | | First check out ''openvpn-build'' as described [wiki:BuildingUsingGenericBuildsystem#Checkingoutopenvpn-buildrepository here]. Then do the following: |
274 | | |
275 | | {{{ |
276 | | $ cd openvpn-build/windows-nsis |
277 | | $ ./build-complete |
278 | | }}} |
279 | | |
280 | | Refer to ./build-complete --help for more options. |
281 | | |
282 | | '''NOTE:''' To make sure fresh tarballs are used, empty ../generic/sources directory before building. |
283 | | |
284 | | = TAP-Windows = |
| 283 | = Building TAP-Windows = |