diff options
author | Samuli Seppänen <samuli@openvpn.net> | 2011-04-15 16:25:17 +0300 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-04-15 16:10:41 +0200 |
commit | 6d1d08f6792109a4a4cdd9cd0936fd4338c76fa1 (patch) | |
tree | ee5165af4cb186287f62366947a50126faf0a36c /win | |
parent | Avoid re-defining uint32_t when using mingw compiler (diff) | |
download | openvpn-6d1d08f6792109a4a4cdd9cd0936fd4338c76fa1.tar.xz |
Fixed a bug with GUI icon deletion on upgrade from 2.2-RC or earlier
This bug was introduced in commit 110e42d199e735ab1a31388c5678f59d0fa9510c.
Trac-ticket: 120
Signed-off-by: Samuli Seppänen <samuli@openvpn.net>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'win')
-rwxr-xr-x | win/openvpn.nsi | 6 |
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 |