Deploying with Predefined Command-line Parameters
All latest versions of JIRA Client (starting 1.3 Beta) support silent install. We use install4j as installer and the silent install command line will look like:
Complete reference to installer command line options may be found here: http://resources.ej-technologies.com/install4j/help/doc/helptopics/installers/options.html
Once the installation is complete, you can also add the license key, so the user doesn't have to do it. This is done in two simple steps which can be scripted in a simple .bat file:
- Place license key file in the installation root folder
- Create a file called "jiraclient.properties" in the installation root folder with the following text:
jiraclient.license=<the name of the license file>CODE
You can also create your own script for silent installation. JIRA Client installer has only two really important functions: it unpacks and copies files. So you can install JIRA Client once, add the license key and a configuration file (as described above), then make a ZIP archive of the JIRA Client's installation folder, and when you need to deploy it on a PC, simply unpack it from the archive to the desired location. There are a few things to remember when installing this way:
- You won't get program group and shortcuts under "Start" menu.
- The fact that JIRA Client is installed will not be recognized by JIRA Client installer, if it is run on that computer later. (The installer won't suggest the same directory and won't check if JIRA Client is running, otherwise it's ok.)
- Use the full JIRA Client for Windows (which includes Java, in the "jre" folder in the installation root folder).