Setting Up The Environment
- Download and install the latest NSIS package from its respective website.
Preparing the NSI Script
- We will need to prepare the NSI Script. It is a manifest file that describes what should be packaged into the bundle later on.
- A sample NSI script can be located in \jw-community-8.0-SNAPSHOT\wflow-install\src\main\resources\setup.nsi. This is the script for Joget Community edition.
- You can use any text editor to edit the file.
- Copy the following files from \jw-community-8.0-SNAPSHOT\wflow-install\src\main\resources\ and paste it into any existing Joget installation folder i.e \Joget-DX8-Enterprise
- setup.nsi
- jwdb-sample.sql from data folder
Adding Custom plugins into the Bundle
- If you have any customs plugins that you wish to add into the bundle, copy the .jar files into the existing Joget installation folder \Joget-DX8-Enterprise\wflow\app_plugins.
Building The Bundle
- Once you have modified the setup.nsi script to suit your OEM Build, open the NSIS application and compile the NSI script located in the existing Joget installation folder.
- Upon completion, a setup.exe file will be created.
- You may now distribute the installer using the file created.