aboutsummaryrefslogtreecommitdiff
path: root/install-win32
diff options
context:
space:
mode:
Diffstat (limited to 'install-win32')
-rwxr-xr-xinstall-win32/openvpn.nsi5
1 files changed, 5 insertions, 0 deletions
diff --git a/install-win32/openvpn.nsi b/install-win32/openvpn.nsi
index c1a1710..10e5291 100755
--- a/install-win32/openvpn.nsi
+++ b/install-win32/openvpn.nsi
@@ -234,6 +234,7 @@ Function .onInit
# Delete previous start menu
RMDir /r $SMPROGRAMS\${PRODUCT_NAME}
+!ifdef CHECK_WINDOWS_VERSION
# Check windows version
Call GetWindowsVersion
Pop $1
@@ -263,9 +264,13 @@ vista64bummer:
init32bits:
+!endif
+
FunctionEnd
+!ifndef SF_SELECTED
!define SF_SELECTED 1
+!endif
;--------------------
;Pre-install section