Mercurial > pidgin.yaz
changeset 29625:4f325adb8ced
Include the debug symbols in the offline installer
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Sun, 08 Nov 2009 04:40:35 +0000 |
parents | 6d6921daf2da |
children | 1446436616d4 |
files | pidgin/win32/nsis/pidgin-installer.nsi |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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