aboutsummaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rwxr-xr-xwin/openvpn.nsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/openvpn.nsi b/win/openvpn.nsi
index bad1ef4..d3f80d0 100755
--- a/win/openvpn.nsi
+++ b/win/openvpn.nsi
@@ -237,6 +237,12 @@ Section -pre
Sleep 3000
+ # Fix for Trac ticket 120. Remove after 2.3 has been released.
+ !ifdef USE_GUI
+ SetShellVarContext current
+ Delete "$DESKTOP\${PRODUCT_NAME} GUI.lnk"
+ !endif
+
SectionEnd
Section "${PRODUCT_NAME} User-Space Components" SecOpenVPNUserSpace