language-pack.nsi

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Changes to the win_installer project as of 2.1:

Project is split up into smaller sections:

- installer

- updater

- utils

- language pack

- start lams

- stop lams

- backup lams

- restor lams

- java

  1. … 122 more files in changeset.
Resolved LI61, language files are now pulled out correctly

functionality for the updater completed, just needs fine tuning

  1. … 5 more files in changeset.
Files for the 2.0.1 updater/installer

  1. … 7 more files in changeset.
Small changes to date fields and, supported locales for the 09/02/07 language pack

  1. … 1 more file in changeset.
[LI-55] * Change the language pack and future installers to add a "\" to the path before trying to call mysql. * Change future installers to add the "\" automatically before saving in the registry.

  1. … 1 more file in changeset.
[LI-44] The zip directory is now deleted on a successful install

[LI-42] The language pack now backs up the flash language files as well as the java ones. They are simply added to the jboss-4.0.2\server\default\deploy\lams.ear\lams-dictionary.jar\backup\backup.zip

To make a retrieval, you have to extract, then return the flashxml folder to the

\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war

  1. … 2 more files in changeset.
Fixed updateLocales.sql to have the correct date

More error checking in language-pack.nsi for mysql database reading

  1. … 2 more files in changeset.
Some error cjecking for ant and for 7za.exe

Made the .exe smaller (by 0.5 meg) by only extracting the required files for apache ant and 7za.exe (zip)

built.txt now informs you of the location that the language files will be backed up at

Made the .exe smaller (by 0.5 meg) by only extracting the required files for apache ant and 7za.exe (zip)

built.txt now informs you of the location that the language files will be backed up at

  1. … 2 more files in changeset.
finish page prompts user to restart LAMS so the effects of the language pack can take effect

the section to install the language pack (the only section) is now compulsory

Cosmetic change, the 'branding test near the bottom of each installer page no longer displays "Nullsoft installer version....." but instead "Lams-Language-pack ...."

Added in the Language-Pack-BUILD.txt which describes the steps needed to compile and run the language pack, also changed the date for the language pack for 20/12/2006

  1. … 2 more files in changeset.
[LI-35] Now language-pack.nsi finally updates the rows in lams_supported_local with the correct utf-8 values, thanks to a non-procedural sql sript that Fiona made, which can be run in ant

  1. … 2 more files in changeset.
Enabled registry ckecks an updates

Changed the language pack to not use the sql procedures at all, because they do not seem to work in NSIS or ant, instead, the rows are updated from within the nsis code, and there is a list called languages.txt that contains all the current languages in the form:

[language_iso_code]-[country_iso_code]-[description]-[direction]

The language.txt file and the language-pack.nsi must be encoded with utf-8

  1. … 1 more file in changeset.
Unable to use nsExec::ExecToStack when there is redirection involved. ie: nsExec::ExecToStack mysql < insertlocale.sql

Have to use ant instead, which is fairly annoying

Unable to use nsExec::ExecToStack when there is redirection involved. ie: nsExec::ExecToStack mysql < insertlocale.sql

Have to use ant instead, which is fairly annoying

  1. … 2 more files in changeset.
Calling sql scripts to update the db with the new languages

  1. … 1 more file in changeset.
Updater now unpacks all the llid language files for comlex activities into their respective folders

All that is needed now is SQL procedures to add rows to the lams_supported_locale where the matching language doesnt exist

Then we're done for teh language pack

Now have names for all the llid file folders

Now have names for all the llid file folders

Can now get multiple rows from the database using an array utility i found on the net. All that is needed now is to make the correct llid directories and put the required language files in

Oh, and update the database with the new language files

  1. … 2 more files in changeset.
Finally found a way around the sql database query problem, now i can get single values from the db for the llid, still havent thought of a way to get multiple entries

Adding in a java program, to try and adress the database access problem through NSIS

  1. … 1 more file in changeset.
Working on finding a way to get the locations for the llid folders from the database in NSIS, will probably need to use a array header for NISIS

Updator now extracts all the xx.xml files required for flahs to $INSTDIR\jboss-4.0.2\server\default\deploy\lams.ear\lams-central.war\flashxml

Great Success! This is nice!