Repository for the Kolibri windows installer and launcher application
This project provides a smoother way to install and run Kolibri in a Windows Machine.
These are the steps how to do releases for the Kolibri Windows installer. Note that this involves the kolibri repo.
We are releasing v1.3.1
as an example here.
- Tag the
master
branch asv1.3.1
atkolibri-installer-windows
- Go to the releases page then
Draft a new release
. - Put
v1.3.1
as the tag and title for the release. - Select
master
as the target for the release. - Add the features or fixes in the description.
- Click on the
Publish release
when done.
- Go to the releases page then
- Make a Pull Request (PR) at the
kolibri
repo pointing to the appropriate branch (example:develop
).- In that PR, set the
kolibri/docker/env.list/KOLIBRI_WINDOWS_INSTALLER_VERSION=v1.3.1
environment variable value. This points the Kolibri source into ourv1.3.1
branch. - Test the BuildKite built assets in that PR if no errors are encountered.
- In that PR, set the
- Merge the
kolibri
PR when tests for the Kolibri Windows installer passed.
See https://github.com/learningequality/kolibri-installer-windows/releases
Installer release | Kolibri versions | Python |
---|---|---|
Untracked | <0.4.6 | Python 2.7.10 |
1.0.0 | 0.4.6 | Python 2.7.13 |
1.1.0 | 0.6.1 | Python 2.7.13 |
1.1.1 | 0.7.1 | Python 2.7.13 |
1.1.2 | 0.9.1 | Python 2.7.13 |
1.2.0 | 0.10.x | Python 3.4.3 |
1.2.1 | 0.11.x,<=0.12.2 | Python 3.4.3 |
1.3.0 | 0.12.3+ | Python 3.4.3 |
1.3.1 | 0.12.5+ | Python 3.4.3 |
1.3.2 | 0.12.6+ | Python 3.4.3 |
1.3.3 | 0.12.8+ | Python 3.4.3 |
1.3.4 | 0.12.9+ | Python 3.4.3 |
1.3.5 | 0.13.0+ | Python 3.4.3 |
1.3.6 | 0.13.0+ | Python 3.4.3 |
- Windows 8.1 32/64bit or Windows 10 32/64bit
- Inno Setup 6.0.2 Unicode [Download] (http://files.jrsoftware.org/is/6/)
- Microsoft Visual Studio Community 2015 [Website] (https://www.visualstudio.com/)
- Git (Note: Install with the option to place the
git
executable in the path, so it can be run withincmd
.)
- Open
gui-source/Kolibri.sln
using Visual Studio. - Click on the
Build
menu and then choose theBuild Solution
option. - Copy the resulting
Kolibri.exe
from its output location togui-packed/Kolibri.exe
Notes:
- If you have made no changes to
gui-source
, you don't have to buildKolibri.exe
, just use the version in this repo. - If you do make changes to anything in
gui-source
, be sure to build and commitKolibri.exe
. - There is an outstanding issue to "Remove the Kolibri.exe executable from the repo." to address this.
- Follow the steps to setup Kolibri.
- In the command line, run the
make dist
command in/kolibri
directory. - The output file named
kolibri_static-x.x.x.devxxxx-py2.py3-none-any.whl
will appear within the kolibri/dist project folder.
- Clone this repository;
- Follow the
Instructions to build "kolibri-static"
and copy thekolibri\dist\kolibri_static-x.x.x-py2.py3-none-any.whl
.file to this directory. - Run the following command from this directory:
make.bat
- The output file named "KolibriSetup-X.X.X.exe" will appear within this project folder.
- Clone this repository.
- Download and install Inno Setup from the above link.
- Set the
KOLIBRI_BUILD_VERSION
environment variable. Example: "v0.12.6" - Copy the contents of the
windows\inno-compiler\Languages\
folder intoC:\Program Files (x86)\Inno Setup 5\Languages\
- these are*.isl
files. - If you don't have a
.whl
file yet - download a.whl
from the Kolibri releases page then copy it into the root of the repo folder. You may also follow the"Instructions to build "kolibri-static""
section. - Double-click the
installer-source/KolibriSetupScript.iss
file to open it in Inno Setup. - Press the
Run
button.
Note: Building is not supported/recommended in Windows 7. However, builds have been tested to work on an updated Windows 7.
-
To extract the translable strings from the Inno setup
.isl
file into.po
file:- At the
/python-scripts
directory run theextract-isl-strings.py
- A sample command to run the script
python extract-isl-string.py /xxx/xxx.isl
- The agument
.isl
file can be found at this pathinno-compiler/Default.isl
- It will create a
/kolibri-installer.po
at this path/python-scripts
.
- At the
-
To encode translated strings from
.po
into Inno setup.isl
file.- At the
/python-scripts
directory run theencode-strings.py
- A sample command to run the script
python2.7 ./extract-isl-string.py /xxx/xxx.isl /xxxx/kolibri-installer.po
- After the script ran it will ask for the language name, language id and language code page.
- The output filename will be the specified language name.
- At the
git clone https://github.com/mrpau/kolibri-installers.git
git clone https://github.com/learningequality/kolibri.git
Distribution and Installer http://kolibri.readthedocs.io/en/latest/dev/building.html