Include the debug symbols in the offline installer next.minor

Sun, 08 Nov 2009 04:40:35 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Sun, 08 Nov 2009 04:40:35 +0000
branch
next.minor
changeset 29640
e97688dcc88a
parent 29639
7266983d565c
child 29641
e54552cf87d8

Include the debug symbols in the offline installer

pidgin/win32/nsis/pidgin-installer.nsi file | annotate | diff | comparison | revisions
--- 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

mercurial