Index: win_installer/src/language-pack.nsi =================================================================== diff -u -r1cf46fc32cd59817a1edc5c03cfc6d71867a86ae -rf673ab71b94d65e28c3b9f637f8da786ef71321c --- win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision 1cf46fc32cd59817a1edc5c03cfc6d71867a86ae) +++ win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision f673ab71b94d65e28c3b9f637f8da786ef71321c) @@ -152,6 +152,7 @@ Var BACKUP_DIR Var LAMS_DIR Var VERSION_INT +Var FLASHXML_DIR ;-------------------------------- @@ -166,10 +167,14 @@ ;backup existing language files call zipLanguages - ; copy language files from LAMS prjects to a folder in $INSTDIR + ; copy language files from LAMS projects to a folder in $INSTDIR call copyProjects + ; copy the flash dictionary files from central/web/flashxml to: + ; \server\default\lams.ear\lams-central.war\flashxml + call copyFlashxml + #################### # TODO Work out what language files to copy to the 'library' directory # TODO Copy the flshxml files @@ -199,7 +204,6 @@ #get the version in from the version date yyyy-mm-dd call getVersionInt - # Abort install if already installed or if a newer version is installed ReadRegStr $0 HKLM "${REG_HEAD}" "language_pack" ${VersionCompare} "$VERSION_INT" "$0" $1 @@ -371,3 +375,15 @@ FunctionEnd + +; copys the files from lams_central/web/flashxml to: +; "/\server\default\lams.ear\lams-central.war\flashxml +Function copyFlashxml + strcpy $FLASHXML_DIR "$LAMS_DIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war\flashxml" + + setoutpath $FLASHXML_DIR + detailprint "Extracting language files for FLASH" + file /a /r /x "CVS" "..\..\lams_central\web\flashxml\*" + detailprint "DONE!" + +FunctionEnd