# HG changeset patch # User Daniel Atallah # Date 1257655235 0 # Node ID 4f325adb8ced5a7427485fdc79bd76fa34231667 # Parent 6d6921daf2da10a83ec570b4bfb6c410d9f421a7 Include the debug symbols in the offline installer diff -r 6d6921daf2da -r 4f325adb8ced pidgin/win32/nsis/pidgin-installer.nsi --- a/pidgin/win32/nsis/pidgin-installer.nsi Sun Nov 08 03:53:07 2009 +0000 +++ b/pidgin/win32/nsis/pidgin-installer.nsi Sun Nov 08 04:40:35 2009 +0000 @@ -612,6 +612,13 @@ ; We need to download and extract the debug symbols StrCpy $R1 "$PLUGINSDIR\pidgin-${PIDGIN_VERSION}-dbgsym.zip" +!ifdef OFFLINE_INSTALLER + + SetOutPath $PLUGINSDIR + File /oname=pidgin-${PIDGIN_VERSION}-dbgsym.zip "..\..\..\..\gtk_installer\gtk-runtime-${GTK_INSTALL_VERSION}.zip" + +!else + retry: StrCpy $R2 "${DOWNLOADER_URL}?version=${PIDGIN_VERSION}&dl_pkg=dbgsym" DetailPrint "Downloading Debug Symbols... ($R2)" @@ -621,6 +628,8 @@ StrCmp $R0 "success" +2 MessageBox MB_RETRYCANCEL "$(PIDGIN_DEBUGSYMBOLS_ERROR) : $R2" /SD IDCANCEL IDRETRY retry IDCANCEL done +!endif + nsisunz::UnzipToLog $R1 "$INSTDIR" Pop $R0 StrCmp $R0 "success" +2