FAQ | This is a LIVE service | Changelog

Skip to content

Thunderbird.xml

Mr Chris B Mortimer requested to merge thunderbird.xml into master

A bit more than the simple clone of the Chemistry package and update the installer version. Both Maths and Chemistry do some configuration to the Thunderbird install, Chemistry do less than Maths for exmaple Maths uses a wrapper script to add/remove role email accounts to the users prefs.js file before starting the Thunderbird exe, various shortcuts to this wrapper are made. Maths also installs some different Add-ons. The Maths config is handled in a separate xml file that is 'chained' from the main install of Thunderbird if a config file exists in %WPKGSHAREBASE%%WPKGINSTITUTION%-config\thunderbird. Chemistry configurations are in the main Thunderbird install xml file but could move out into a dedicated xml file if wished.

In the Maths config xml file a new 'sub' institution variable is looked for, %WPKGSUBINSTITUTION%, when setting the default email client. This variable and its value is set in Group Policy. The reason for adding this variable is that in Maths we need to run one script for Maths PCs and another of Isaac Newton PCs. The INI needs the default email client to be set to Outlook, in Maths we want it to be Thunderbird. By settings %WPKGSUBINSTITUTION% to either 'maths' or 'newton' the correct script is run. We can't use the existing %WPKGINSTITUTION% variable to do this. If the variable %WPKGSUBINSTITUTION% isn't defined then no script is run. This new variable has been added to the /tests/config.yml file so the nosetest test work.

Before Chemistry can use thunderbird.xml the Add-ons and .js files will need moving into %WPKGSHAREBASE%%WPKGINSTITUTION%-config\thunderbird.

Merge request reports