To fix bug 3813, I have copied dictionary files to
http://www.lyx.org/~bpeng/aspell6-windows"; and make it an alternative
downloading URL. The installer seems to work now.

If there is a better location, I can change this URL.

Cheers,
Bo

---------- Forwarded message ----------
Author: bpeng
Date: Tue Jun 19 21:29:36 2007
New Revision: 18833

URL: http://www.lyx.org/trac/changeset/18833
Log:
Add an alternative aspell dict repository, fix bug 3813

Modified:
   lyx-devel/trunk/development/Win32/packaging/installer/components/dicts.nsh
   lyx-devel/trunk/development/Win32/packaging/installer/settings.nsh

Modified: 
lyx-devel/trunk/development/Win32/packaging/installer/components/dicts.nsh
URL: 
http://www.lyx.org/trac/file/lyx-devel/trunk/development/Win32/packaging/installer/components/dicts.nsh?rev=18833
==============================================================================
--- lyx-devel/trunk/development/Win32/packaging/installer/components/dicts.nsh
(original)
+++ lyx-devel/trunk/development/Win32/packaging/installer/components/dicts.nsh
Tue Jun 19 21:29:36 2007
@@ -109,7 +109,13 @@
    Pop $R3

    ${if} $R3 != "OK"
-      #Download failed
+      #Download failed, try an alternative link
+      InetLoad::load "${ALT_DOWNLOAD_ASPELLDICTS}/aspell6-$R0.exe"
"$PLUGINSDIR\aspell6-$R0.exe" /END
+      Pop $R3
+    ${endif}
+
+    ${if} $R3 != "OK"
+      #Download failed again
      MessageBox MB_YESNO|MB_ICONEXCLAMATION
"$(TEXT_DOWNLOAD_FAILED_DICT) ($R3)" IDYES dict_download
      Goto dict_noinstall
    ${endif}

Modified: lyx-devel/trunk/development/Win32/packaging/installer/settings.nsh
URL: 
http://www.lyx.org/trac/file/lyx-devel/trunk/development/Win32/packaging/installer/settings.nsh?rev=18833
==============================================================================
--- lyx-devel/trunk/development/Win32/packaging/installer/settings.nsh
(original)
+++ lyx-devel/trunk/development/Win32/packaging/installer/settings.nsh
Tue Jun 19 21:29:36 2007
@@ -35,6 +35,7 @@
!define DOWNLOAD_VIEWER
"http://tug.ctan.org/tex-archive/nonfree/support/ghostscript/ghostgum/gsv48w32.exe";

!define DOWNLOAD_ASPELLDICTS
"ftp://ftp.lyx.org/pub/lyx/contrib/aspell6-windows";
+!define ALT_DOWNLOAD_ASPELLDICTS "http://www.lyx.org/~bpeng/aspell6-windows";

#--------------------------------
#Download size (in KB)

Reply via email to