Add an alternative aspell dict repository, fix bug 3813

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18833 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Bo Peng 2007-06-19 19:29:36 +00:00
parent 9907aaf295
commit a436607e3b
2 changed files with 8 additions and 1 deletions

View File

@ -109,7 +109,13 @@ Function DownloadDictionary
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}

View File

@ -35,6 +35,7 @@ Settings for LyX installer
!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)