[ekiga/gnome-2-26] [windows] Do not remove strange installation directory for old installations
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] [windows] Do not remove strange installation directory for old installations
- Date: Sat, 29 May 2010 13:43:00 +0000 (UTC)
commit 0340b26068a9ab46a29d5bbe77b957dd95106f5e
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date: Sat May 29 15:39:53 2010 +0200
[windows] Do not remove strange installation directory for old installations
This is a continuation of commit 2d1d493c, which fixed the bug for the
current installer. This commit instead fixes it for old installations.
win32/nsisinstaller/ekiga.nsi | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/win32/nsisinstaller/ekiga.nsi b/win32/nsisinstaller/ekiga.nsi
index 70a9dc1..4029b69 100644
--- a/win32/nsisinstaller/ekiga.nsi
+++ b/win32/nsisinstaller/ekiga.nsi
@@ -156,6 +156,14 @@ Section -SecUninstallOldEkiga
; Check if we have uninstall string..
IfFileExists $R3 0 uninstall_problem
; Have uninstall string.. go ahead and uninstall.
+ ; but before, prevent removal of non-standard
+ ; installation directory of ekiga prior to April 2010
+ ; so the lines until nameok1 label could be removed by 2012
+ ${GetFileName} $R1 $R5
+ StrCmp $R5 ekiga nameok1 0 ; unsensitive comparation
+ MessageBox MB_OK "WARNING: Ekiga was installed in $R1, which is not a standard location. Your old ekiga files will not be removed, please remove manually the directory $R1 after ensuring that you have not added to it useful files for you."
+ Goto done
+ nameok1:
SetOverwrite on
; Need to copy uninstaller outside of the install dir
ClearErrors
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]