Before an OnTime Extension can be installed by a user, it must be packaged into an OnTime Extension file. These files have an .OTEX file extension. These extension files are packaged to include assemblies and resources created by the developer as well as manifests and other attributes, such as a unique product code.
To make this process easier, the OnTime SDK includes the OnTime Extension Packager. This small utility will help a developer to package their extensions as a valid OTEX file.
If you are using Visual Studio to create extension projects, use the OnTime Extension Packager for Visual Studio, available under the Visual Studio Marketplace. This can greatly simplify and streamline the packaging process.
Follow these steps to use the OnTime Extension Packager to create an OTEX file:
Important: Keep a Record of the Product Code
It is important to use the same unique Product code when packaging a given extension. Using the same product code makes it possible to upgrade an extension. If a new product code is used, the extension will be installed as a new extension and not an upgrade.
Once an extension package has been created, the Extension name, Product code, Source folder, and Destination folder values will be saved as a project. This makes it easy to recall those values when packaging a newer version of an extension. Previously packaged extensions can be loaded by choosing the extension name from the drop-down list labeled Extension projects.
To remove a saved extension project from the Extension projects list, click the button to the right of the list to load the project management window. Place a check mark next to the projects to be removed and then click the button labeled Delete Checked Items.