aboutsummaryrefslogtreecommitdiff
path: root/install-win32/openvpn.nsi
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-24 06:04:34 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2008-10-24 06:04:34 +0000
commit9bf6e9ac04d74ac8d58a8d8af63cb0eea0648bde (patch)
tree38eccf5365be5313de968a56b0ab7955f8b4b887 /install-win32/openvpn.nsi
parentModified Windows domake-win build system to write all openvpn.nsi (diff)
downloadopenvpn-9bf6e9ac04d74ac8d58a8d8af63cb0eea0648bde.tar.xz
Added optional files SAMPCONF_CONF2 (second sample configuration
file) and SAMPCONF_DH (Diffie-Helman parameters) to Windows build system, and may be defined in settings.in. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3450 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rwxr-xr-xinstall-win32/openvpn.nsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/install-win32/openvpn.nsi b/install-win32/openvpn.nsi
index 0c25d50..c33439e 100755
--- a/install-win32/openvpn.nsi
+++ b/install-win32/openvpn.nsi
@@ -505,6 +505,9 @@ Section -post
!ifdef SAMPCONF_CONF
File "${GEN}\conf\${SAMPCONF_CONF}"
!endif
+ !ifdef SAMPCONF_CONF2
+ File "${GEN}\conf\${SAMPCONF_CONF2}"
+ !endif
!ifdef SAMPCONF_P12
File "${GEN}\conf\${SAMPCONF_P12}"
!endif
@@ -520,6 +523,9 @@ Section -post
!ifdef SAMPCONF_KEY
File "${GEN}\conf\${SAMPCONF_KEY}"
!endif
+ !ifdef SAMPCONF_DH
+ File "${GEN}\conf\${SAMPCONF_DH}"
+ !endif
!endif
;
@@ -762,6 +768,9 @@ Section "Uninstall"
!ifdef SAMPCONF_CONF
Delete "$INSTDIR\config\${SAMPCONF_CONF}"
!endif
+ !ifdef SAMPCONF_CONF2
+ Delete "$INSTDIR\config\${SAMPCONF_CONF2}"
+ !endif
!ifdef SAMPCONF_P12
Delete "$INSTDIR\config\${SAMPCONF_P12}"
!endif
@@ -777,6 +786,9 @@ Section "Uninstall"
!ifdef SAMPCONF_KEY
Delete "$INSTDIR\config\${SAMPCONF_KEY}"
!endif
+ !ifdef SAMPCONF_DH
+ Delete "$INSTDIR\config\${SAMPCONF_DH}"
+ !endif
!endif
!ifdef USE_GUI