Information Classification: External Restricted.
See https://www.chili-publish.com/security
Custom Plugin creation
Building an installer
This document explains how to create your own flavor of the CHILI Publisher plugins.Â
Only one installer is made for both DataManager as Preflight & Converter extensions.
During installation the end user can choose what extensions to install.Â
Requirements
Anything listed in here is required for the build to take place.
Application | ||
---|---|---|
BitRock installBuilder | This is the software required for creating a packaged installer. | |
Signing extensions | ||
Adobe Manual | A manual describing how to sign a package for usage within Adobe Software. | |
Customizing an extension | A shorter version of how to modify and sign an extension | |
Configuration | ||
build_installer.xml | A configuration XML used by BitRock for assembling the installer | Â |
Plugin sources | ||
ChiliConverter_4_Unsigned.zip | Provided with each release even if no changes had been made. | |
ChiliDataManager_4_Unsigned.zip | Provided with each release even if no changes had been made. | |
ChiliLivePreflight_4_Unsigned.zip | Provided with each release even if no changes had been made. | |
Images | PNG extension is mandatory | |
CHILI-installer-icon-48x48.png | Required image, used as an icon during installation. | Â |
CHILI-installer-leftside-163x314.png | Required image, used add the leftside during first steps throughout the installation menu. | Â |
CHILI-installer-splash-336x148.png | Required image, used as a splash screen upon loading the installer. | Â |
 |
#1 Prepare Build
First of all we are going to need a project folder.
Example: we used a folder named Beercompany.
Create additional sub directories and copy the build_installer.xml inhere too.
project_folder (Beercompany) + build |
Tip use an easy and simple naming to reduce any possible mistakes when trying to build.
#2 Extension sources
Next up is signing the extensions found under Desktop_Tools_4 from the downloaded extensions.
How to sign an extension is described on this page: Customizing the Extension, or by using the manual from Adobe: Signing manualÂ
Once signed have them renamed as follows:
ChiliDataManager_CC.zxp
ChiliConverter_CC.zxp
ChiliLivePreflight_CC.zxp
Last copy these files towards the sources folder.
Â
#3 Installer imagesÂ
The installer makes use of 3 images throughout the installation.
CHILI-installer-icon-48x48.pngÂ
CHILI-installer-leftside-163x314.png
CHILI-installer-splash-336x148.png
The images can hold any content but dimensions and naming convention should be kept.
All images need to be saved in PNG format.
Â
#4 Building installer tool
Last part is to assemble the installer.
For this step we are using a 3rd party tool called Bitrock installBuilder. The url can be found in the requirements section.
You can run this tool on either Windows or Mac OS, both have a slightly different command to execute.
On both operating systems you can build installers for either Mac or Windows.
In order to specify the target, windows or osx is used in the command.
//Create windows(Windows) installer
builder-cli.exe build <project_path/build_installer.xml> windows --verbose `--setvars source_path=<project_path/sources> version=<version> project.outputDirectory=<project_path/builds>
Â
//Create osx(Mac) installer
builder-cli.exe build <project_path/build_installer.xml> osx --verbose `--setvars source_path=<project_path/sources> version=<version> project.outputDirectory=<project_path/builds> |
Windows OS
Open command prompt
Browse via command towards the BitRock installation (replace "16.10.0" by the version number of your BitRock installation)
cd "C:\Program Files (x86)\BitRock InstallBuilder Professional 16.10.0\bin\"
Launch build command with target  'windows' (replace "4.9.0.0" by the version number of your CHILI installation)
//builder-cli.exe build <project_path/build_installer.xml> windows --verbose --setvars source_path=<project_path/sources> version=<version> project.outputDirectory=<project_path/builds> //All paths are highlighted between <> and should be absolute. (eg.: builder-cli.exe build "C:\Users\CHILI Publish\Desktop\Beercompany\build_installer.xml" ...) //Example builder-cli.exe build "C:\Users\CHILI Publish\Desktop\Beercompany\build_installer.xml" windows --verbose --setvars source_path="C:\Users\CHILI Publish\Desktop\Beercompany\" version="4.9.0.0" project.outputDirectory="C:\Users\CHILI Publish\Desktop\Beercompany\build"
Mac OS
Open Terminal app
Browse via command towards the BitRock installation (replace "15.1.0" by the version number of your BitRock installation)
Launch build command with target 'windows'Â (replace "4.9.0.0"Â by the version number of your CHILI installation)
All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security