From 1cc2b62d97d651ce9b05466928faba3b463838b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuli=20Sepp=C3=A4nen?= Date: Fri, 15 Apr 2011 16:25:17 +0300 Subject: Fixed a bug with GUI icon deletion on upgrade from 2.2-RC or earlier MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This bug was introduced in commit 110e42d199e735ab1a31388c5678f59d0fa9510c. Trac-ticket: 120 Signed-off-by: Samuli Seppänen Acked-by: David Sommerseth Signed-off-by: David Sommerseth (cherry picked from commit 6d1d08f6792109a4a4cdd9cd0936fd4338c76fa1) --- win/openvpn.nsi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'win/openvpn.nsi') 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 -- cgit v1.2.3