Index: win_installer/Language-Pack-BUILD.txt =================================================================== diff -u -r7049d0b532565ac700d879ca175d5ed8f6d66c67 -r4a032d0ca0721c3fc75498e20cea380f3e4c67ad --- win_installer/Language-Pack-BUILD.txt (.../Language-Pack-BUILD.txt) (revision 7049d0b532565ac700d879ca175d5ed8f6d66c67) +++ win_installer/Language-Pack-BUILD.txt (.../Language-Pack-BUILD.txt) (revision 4a032d0ca0721c3fc75498e20cea380f3e4c67ad) @@ -5,8 +5,8 @@ - Language files are lacked up on installation at: [LAMSDIR]\jboss-4.0.2\server\default\deploy\lams.ear\lams-dictionary.jar\backup -STEPS ------ +STEPS TO BUILD +-------------- 1) Make sure you have all the latest language files in your lams workspace, you can do this by simply synchronising and updating with the CVS repository Index: win_installer/src/language-pack.nsi =================================================================== diff -u -r9264b268d8a87583e2827ea9ae431e4cbfc645da -r4a032d0ca0721c3fc75498e20cea380f3e4c67ad --- win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision 9264b268d8a87583e2827ea9ae431e4cbfc645da) +++ win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision 4a032d0ca0721c3fc75498e20cea380f3e4c67ad) @@ -30,7 +30,7 @@ # constants -!define VERSION "2006-12-23" ; DATE of language pack in fromat YYYYMMDD +!define VERSION "2006-12-22" ; DATE of language pack in fromat YYYYMMDD !define SOURCE_JBOSS_HOME "D:\jboss-4.0.2" ; location of jboss where lams is deployed !define REG_HEAD "Software\LAMS Foundation\LAMSv2" @@ -81,7 +81,8 @@ !define MUI_FINISHPAGE_TITLE_3LINES !define MUI_FINISHPAGE_TEXT "The LAMS Language Pack ${VERSION} has been successfully installed on your computer. \ \r\n\r\nPlease restart LAMS so the changes made by the Language Pack can take effect" - +!define MUI_FINISHPAGE_LINK "Visit LAMS Community" +!define MUI_FINISHPAGE_LINK_LOCATION "http://www.lamscommunity.org" !define MUI_FINISHPAGE_NOAUTOCLOSE # installer screen pages @@ -461,6 +462,12 @@ detailprint $SQL_QUERY pop $0 pop $1 + + #check for errors and write result to install window + ${if} $0 != 0 + goto Errors + ${endif} + strcpy $1 $1 -2 push $1 @@ -486,15 +493,11 @@ ${endif} ${endwhile} - #check for errors and write result to install window - ${if} $0 != 0 - goto Errors - ${endif} - goto Finish - Errors: DetailPrint "Can't read from $MYSQL_DIR\$DB_NAME database" + MessageBox MB_OK|MB_ICONSTOP "LAMS configuration failed. Please check you database name, user and password are set the same as when you installed LAMS$\r$\nError:$\r$\n$\r$\n$1" + Abort "LAMS configuration failed." Finish: clearerrors Index: win_installer/src/updateLocales.sql =================================================================== diff -u -r049abee35ba3c5dc18af09a251fc9763da0753aa -r4a032d0ca0721c3fc75498e20cea380f3e4c67ad --- win_installer/src/updateLocales.sql (.../updateLocales.sql) (revision 049abee35ba3c5dc18af09a251fc9763da0753aa) +++ win_installer/src/updateLocales.sql (.../updateLocales.sql) (revision 4a032d0ca0721c3fc75498e20cea380f3e4c67ad) @@ -44,6 +44,6 @@ FROM locale_temp t WHERE t.combined NOT IN (SELECT CONCAT_WS(',',l.language_iso_code,l.country_iso_code) FROM lams_supported_locale l)); -UPDATE lams_configuration set config_value='2006-12-20' WHERE config_key='DictionaryDateCreated'; +UPDATE lams_configuration set config_value='2006-12-22' WHERE config_key='DictionaryDateCreated'; drop table if exists locale_temp;