The Package Editor allows you to edit a .kps package source file, which will be compiled into a .kmp package file. These files contain a set of keyboards, documentation, fonts, and other related files, which make distribution and installation of a keyboard in Keyman Desktop simple.
Use thebutton to select the files to be included in the package, such as .kmx keyboard files, documentation, and related fonts; but you can include any type of file here as well.
If you add another .kmp package file, it will also be installed when this package is installed, but will be managed separately and uninstalled separately.
Enter the name of the package into the Package Name field; this will be automatically filled from the name of the first keyboard you add to the package.
Select a HTML readme file if you have one to include in the package; this will be displayed before the package is installed as information about the package.
Version numbers should be in the form major.minor[.subversion]. Subversion is optional but is helpful for small bug fix releases. Each of the sections of the version should be an integer. Keyman Desktop does integer comparisons on the version numbers, so, for example, version 2.04 is regarded as newer than version 2.1. Alphabetic or date formats should be avoided as the installer for the keyboard cannot determine which version is older reliably.
The Copyright indicates the overall copyright of the package and all its contents.
Fill in the individual or organisation who authored the package in the Author field, and a contact email address into the E-mail address field. These fields are optional.
A web site is encouraged and should be filled in the web site field, including the initial "http://" or "https://".
A package can optionally include a 140x250 JPEG, BMP or PNG image file to be shown during installation. This image file must be added to the Files list in step 1, then selected from the list here.
You can optionally have the package create a Start Menu folder, and populate it with shortcuts to the files in the package, and optionally also a shortcut for uninstallation.
To add an entry, click New, and set the description, and choose a program or document to load.
An uninstall shortcut is no longer recommended; uninstall should be managed by the user in Keyman Configuration.
The source of the .kps file in XML format. All details from previous tabs can be seen in the Source tab, and changes in either the Source tab or the other tabs will be reflected immediately in the other.
The final step is building the package. You must save the package file before building, then choose Compile Package to build the package file. You can then test the package to verify that it will install correctly with the Install Package button.
Once you are satisfied with your package, you should consider uploading it to Tavultesoft to share with other users.
A Package Installer will install both Keyman Desktop and the package at the same time, using the same bootstrap installer that Keyman Desktop uses. You will need to find the .msi file that is associated with the version of Keyman Desktop that you want to bundle the keyboard with.
The Keyman Desktop .msi installer is embedded in the .exe installer that can be downloaded from the Tavultesoft website. You can extract the .msi installer using the "-x" option. For example, run "keymandesktop-9.0.510.0.exe -x ." to extract the .msi file into the current folder.
You cannot select the .exe file for this option - it must be an .msi file. If you create your own custom product using the Branding Pack, you can also use the .msi file generated in this instance here.
The bootstrapper installer used for a Package Installer has several command line parameters that can be used. More information on the bootstrapper installer.