Install4j Manual
Total Page:16
File Type:pdf, Size:1020Kb
install4j Manual © 2019 ej-technologies GmbH. All rights reserved. Index install4j help .......................................................................................................................................... 7 Licensing ................................................................................................................................................ 8 A Help topics .......................................................................................................................................... 9 A.1 Concepts ...................................................................................................................................... 9 A.1.1 Projects ................................................................................................................................. 9 A.1.2 File sets and components ................................................................................................. 11 A.1.3 Screens and actions .......................................................................................................... 13 A.1.4 Form screens ...................................................................................................................... 17 A.1.5 Layout groups .................................................................................................................... 20 A.1.6 Styles ................................................................................................................................... 24 A.1.7 Variables ............................................................................................................................. 30 A.1.8 VM parameters .................................................................................................................. 40 A.1.9 JRE bundles ......................................................................................................................... 43 A.1.10 Services ............................................................................................................................. 46 A.1.11 Elevation of privileges ..................................................................................................... 49 A.1.12 Merged projects ............................................................................................................... 52 A.1.13 Auto-update functionality ............................................................................................... 55 A.1.14 Code signing ..................................................................................................................... 60 A.1.15 Styling of DMGs on macOS ............................................................................................. 63 A.2 Generated installers ................................................................................................................. 67 A.2.1 Installer modes .................................................................................................................. 67 A.2.2 Command line options ..................................................................................................... 69 A.2.3 Response files .................................................................................................................... 74 A.2.4 JRE search ........................................................................................................................... 76 A.2.5 Downloads .......................................................................................................................... 78 A.2.6 Updates ............................................................................................................................... 80 A.2.7 Error handling .................................................................................................................... 82 A.3 Extending install4j .................................................................................................................... 84 A.3.1 Using the install4j API ........................................................................................................ 84 A.3.2 Extensions .......................................................................................................................... 87 B Reference ......................................................................................................................................... 89 B.1 Configuration steps .................................................................................................................. 89 B.2 Step 1: General Settings ........................................................................................................... 90 B.2.1 Overview ............................................................................................................................. 90 B.2.2 Application info .................................................................................................................. 91 B.2.3 Java version ........................................................................................................................ 92 B.2.4 Languages ........................................................................................................................... 94 B.2.5 Media file options .............................................................................................................. 96 B.2.6 Code signing ....................................................................................................................... 98 B.2.7 Merged projects ................................................................................................................. 99 B.2.8 Compiler variables ........................................................................................................... 100 B.2.9 Project options ................................................................................................................. 101 B.2.10 Dialogs ............................................................................................................................ 102 B.2.10.1 Search sequence dialog ......................................................................................... 102 B.2.10.2 Language selection dialog ..................................................................................... 102 B.2.10.3 Variable selection dialogs ...................................................................................... 102 B.2.10.4 Variables edit dialogs ............................................................................................. 103 B.2.10.5 Input dialog ............................................................................................................. 104 B.2.10.6 Configure JDKs dialog ............................................................................................. 104 B.2.10.7 Merged projects edit dialog .................................................................................. 105 B.3 Step 2: Files .............................................................................................................................. 106 B.3.1 Overview ........................................................................................................................... 106 B.3.2 Defining the distribution tree ......................................................................................... 107 B.3.2.1 Overview .................................................................................................................... 107 B.3.2.2 File wizard .................................................................................................................. 110 B.3.2.3 Wizard steps .............................................................................................................. 112 B.3.2.3.1 Select directory .................................................................................................. 112 B.3.2.3.2 Select files ........................................................................................................... 112 B.3.2.3.3 Compiler variable ............................................................................................... 112 B.3.2.3.4 Install options ..................................................................................................... 113 B.3.2.3.5 Exclude files and directories ............................................................................. 115 B.3.2.3.6 Exclude suffixes .................................................................................................. 115 B.3.3 Viewing the results .......................................................................................................... 116 B.3.4 File options ....................................................................................................................... 117 B.3.5 Defining installation components ................................................................................. 120 B.3.6 Dialogs .............................................................................................................................. 122 B.3.6.1 Distribution file chooser dialog ............................................................................... 122 B.3.6.2 Folder properties dialog ........................................................................................... 122 B.4 Step 3: Launchers ..................................................................................................................