pidgin: e432fcd2: Various installer bug fixes
datallah at pidgin.im
datallah at pidgin.im
Thu Feb 25 01:40:41 EST 2010
-----------------------------------------------------------------
Revision: e432fcd298e93b7796958a9146177f371928614b
Ancestor: 72ce62bc89529d54f8c67643075ba757ed609e0b
Author: datallah at pidgin.im
Date: 2010-02-25T06:35:35
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e432fcd298e93b7796958a9146177f371928614b
Modified files:
pidgin/win32/nsis/pidgin-installer.nsi
ChangeLog:
Various installer bug fixes
-------------- next part --------------
============================================================
--- pidgin/win32/nsis/pidgin-installer.nsi d6a05cc0f884db841a8e696510ff5677c99b0846
+++ pidgin/win32/nsis/pidgin-installer.nsi a6d101e8377579aecab0416457b50ca8eded95ca
@@ -352,12 +352,11 @@ Section $(GTK_SECTION_TITLE) SecGtk
Pop $R0
StrCmp $R0 "cancel" done
StrCmp $R0 "success" +2
- MessageBox MB_RETRYCANCEL "$(PIDGIN_GTK_DOWNLOAD_ERROR) : $R1" /SD IDCANCEL IDRETRY retry IDCANCEL done
+ MessageBox MB_RETRYCANCEL "$(PIDGIN_GTK_DOWNLOAD_ERROR) : $R2" /SD IDCANCEL IDRETRY retry IDCANCEL done
!endif
SetOutPath "$INSTDIR"
-
nsisunz::UnzipToLog $R1 "$INSTDIR"
Pop $R0
StrCmp $R0 "success" +2
@@ -610,17 +609,17 @@ Section /o $(DEBUG_SYMBOLS_SECTION_TITLE
SectionGroupEnd
Section /o $(DEBUG_SYMBOLS_SECTION_TITLE) SecDebugSymbols
+
InitPluginsDir
-
- ; We need to download and extract the debug symbols
- StrCpy $R1 "$PLUGINSDIR\pidgin-${PIDGIN_VERSION}-dbgsym.zip"
+ StrCpy $R1 "$PLUGINSDIR\dbgsym.zip"
!ifdef OFFLINE_INSTALLER
SetOutPath $PLUGINSDIR
- File /oname=pidgin-${PIDGIN_VERSION}-dbgsym.zip "..\..\..\..\gtk_installer\gtk-runtime-${GTK_INSTALL_VERSION}.zip"
+ File /oname=dbgsym.zip "..\..\..\pidgin-${PIDGIN_VERSION}-dbgsym.zip"
!else
+ ; We need to download the debug symbols
retry:
StrCpy $R2 "${DOWNLOADER_URL}?version=${PIDGIN_VERSION}&dl_pkg=dbgsym"
DetailPrint "Downloading Debug Symbols... ($R2)"
@@ -632,6 +631,7 @@ Section /o $(DEBUG_SYMBOLS_SECTION_TITLE
!endif
+ SetOutPath "$INSTDIR"
nsisunz::UnzipToLog $R1 "$INSTDIR"
Pop $R0
StrCmp $R0 "success" +2
@@ -801,7 +801,7 @@ Section Uninstall
; Remove the local GTK+ copy (if we're not just upgrading)
${GetParameters} $R0
ClearErrors
- ${GetOptions} "$R3" "/KEEPGTK=" $R1
+ ${GetOptions} "$R0" "/KEEPGTK=" $R1
IfErrors +2
StrCmp $R1 "1" +2
RMDir /r "$INSTDIR\Gtk"
@@ -1368,6 +1368,10 @@ Function preWelcomePage
Push $R0
Push $R1
+!ifdef OFFLINE_INSTALLER
+ !insertmacro SelectSection ${SecDebugSymbols}
+!endif
+
Call DoWeNeedGtk
Pop $R0
IntCmp $R0 1 done gtk_not_mandatory
More information about the Commits
mailing list