Index: win_installer/src/language-pack.nsi =================================================================== diff -u -r4a032d0ca0721c3fc75498e20cea380f3e4c67ad -r33aa6fece7d43f29008417ea208556b226f2a988 --- win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision 4a032d0ca0721c3fc75498e20cea380f3e4c67ad) +++ win_installer/src/language-pack.nsi (.../language-pack.nsi) (revision 33aa6fece7d43f29008417ea208556b226f2a988) @@ -236,9 +236,23 @@ ${if} $8 != 0 goto failedzip ${endif} + detailprint $8 + detailprint $9 + setoutpath "$LAMS_DIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war\" + Strcpy $4 '$INSTDIR\zip\7za.exe a -r -tzip "$BACKUP_DIR\lamsDictionaryBak-$OLD_VERSION.zip" "flashxml\*"' + nsExec::ExecToStack $4 + pop $8 + pop $9 + + #MessageBox MB_OK|MB_ICONSTOP "$9" + ${if} $8 != 0 + goto failedzip + ${endif} detailprint $8 detailprint $9 + + detailprint 'backupdir: $BACKUP_DIR' detailprint 'instdir: $INSTDIR' detailprint '$4' @@ -441,6 +455,8 @@ ; copy all the folders for llid Resource and Forum IntOp $R0 "$RF_FOLDERS_UBound" + 1 + ; copy all the folders for llid Forum and Scribe + IntOp $R0 "$FS_FOLDERS_UBound" + 1 ${do} ${RF_FOLDERS->Get} $RF_FOLDERS_UBound $R1 ${RF_FOLDERS->Delete} $RF_FOLDERS_UBound @@ -450,7 +466,7 @@ detailprint "Copying language files for resource and forum" file /a "..\..\lams_build\librarypackages\shareresourcesforum\language\*" ${loopuntil} $R0 == "0" - + FunctionEnd