Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 9.0

On this page

IKeymanProducts::Install

Most products will be installed through an .msi installer using the distribution wizard that is included with Keyman Developer. However, if building a custom installation, this function should be used to install and initialize the product for use in Keyman Engine.

Declaration
Sub Install(ParentWindow As Long, Filename As String, InstallDir As String, AllUsers As Boolean, Force As Boolean)
Parameters
No Name Type Description
1 ParentWindow Long HWND of window in case any dialogs need to be displayed during the installation process. Pass NULL if no parent window is available (e.g. in console application).
2 Filename String Full pathname of the product .pxx file to install
3 InstallDir String Installation directory for product. Usually this folder will contain the .pxx file referenced above, plus the applications referenced in the .pxx file. For example, with Keyman Desktop Professional, the folder contains kmshell.exe as well as desktoppro.pxx. The files are not copied out of this folder but are referenced in place.
4 AllUsers Boolean This value must be TRUE for Keyman Engine 7.0
5 Force Boolean This value is not used in Keyman Engine 7.0 and should be set to FALSE
Example Code