win_installer

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
sql code (for language pack) for a procedure to insert locales into the lams_supported_local if they dont already exist.

This procedure is called by updateLocales.sql

sql code (for language pack) for a procedure to insert locales into the lams_supported_local if they dont already exist.

This procedure is called by updateLocales.sql

    • -0
    • +18
    ./src/insertlocale.sql
Procedure to update locales table in database, calls insertlocalses repeatedly until all languages have been covered

To add a new language, you nee only to add a line:

insertLocal(language_iso_code, country_iso_code, description, direction)

    • -0
    • +32
    ./src/updatelocales.sql
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

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

    • -0
    • +55
    ./src/SQLQueryGenerator.java
Adding in a java program, to try and adress the database access problem through NSIS

    • binary
    ./src/SQLQueryGenerator.class
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!

All language files for projects are now unpacking correctly, ie lams_blah/conf/language

Added date string utility so the date can be entered as a string, but can still be compared as a version in the registry in the form yyyy-dd-mm

Uses a date instead of a vertsion to check for newer language pack versions

Added backup functionality, existing language files are zipped to C:\lams\jboss-4.0.2\server\default\deploy\lams.ear\lams-dictionary.jar\backup\

Updator checks for existing newer versions than the current, then applies this version to the registry, it also checks if there is a lams version 2.x installed

Skeleton for the language pack updator

    • -0
    • +218
    ./src/language-pack.nsi
add caveat about wildfire

Added in all the neccessary licences from the list of libraries in "lams_build/assemble/lams.ear/"

For task LI-30

add readme.txt; readme.txt and license.txt now copied to instdir

rename file

update list of completed locales for 2.0 release

not part of this project

Fixed bug for Bug LI-33, now the uninstaller is deleyed for 10 seconds to ensure that JBoss is stopped before uninstallation begins

7za is required for installer.nsi to zip and unzip retained files

    • -0
    • +504
    ./zip/copying.txt
The un-installer now retains uploaded files, repository and database in a zipped which can be unpacked on a re-install. This is don using 7za.exe

    • -0
    • +1422
    ./src/LAMS-Update.nsi
Altered the installer to keep only database, repository and uploaded files, kept in a folder called 'backup' and restored to the respective firectories on re-installation

Could not yet find a way to compress and decompress folders using only NSIS and/or windows built-in functions, it would be good to compress the retained files for storage

Output suppression added to prevent stutus bar popus from appearing duiring install

Changed some prompting and output information to be more user friendly, Prompts the user on which files to keep instead of which files to remove on uninstall etc