Index: win_installer/src/updater.nsi =================================================================== diff -u -r21895ae576cdb549e81aec0f8d5a68ac82f21d85 -r16a62bafe09ca8319a25b5a66303bb4230c9d43e --- win_installer/src/updater.nsi (.../updater.nsi) (revision 21895ae576cdb549e81aec0f8d5a68ac82f21d85) +++ win_installer/src/updater.nsi (.../updater.nsi) (revision 16a62bafe09ca8319a25b5a66303bb4230c9d43e) @@ -50,7 +50,7 @@ !insertmacro LineFind # constants -!define VERSION "2.0.3" +!define VERSION "2.0.4" !define PREVIOUS_VERSION "2.0.2" !define LANGUAGE_PACK_VERSION "2007-06-01" !define LANGUAGE_PACK_VERSION_INT "20070601" @@ -1073,7 +1073,17 @@ File "..\assembly\lams.ear\lams-www.war\images\preloader.logo.swf" SetoutPath "$INSTDIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-www.war\" - File "..\..\lams_www\conf\lams\news.html" + File "..\templates\news-2.0.2.html" + ;if news and news-2.0.2 are the same + + nsExec::ExecToStack 'fc $INSTDIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-www.war\news.html $INSTDIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-www.war\news-2.0.2.html' + pop $0 + pop $1 + ${StrStr} "$3" "$1" "FC: no differences encountered" + ;if there aren't any differences output the new news.html + ${if} "$3" != "" + File "..\..\lams_www\conf\lams\news.html" + ${endif} FunctionEnd Index: win_installer/templates/news-2.0.2.html =================================================================== diff -u --- win_installer/templates/news-2.0.2.html (revision 0) +++ win_installer/templates/news-2.0.2.html (revision 16a62bafe09ca8319a25b5a66303bb4230c9d43e) @@ -0,0 +1,13 @@ +
LAMS 2.0.2 is a new release with bug fixes and improvements, many of which have been suggested by the LAMS Community.
+
+ If you want to learn more about LAMS, join the LAMS Community where teachers and developers share their experiences and ideas on the usage of LAMS.
+
+ Found a bug or wanted to share new features? Let us know about it.
+ LAMS is currently being translated to 25 languages by more than 50 volunteers. Want to help out?
+