NetBeans Installer Command-Line Options
The NetBeans installer supports the following command-line options:
- --look-and-feel
Specifies the custom look and feel used for the installer. Note: the specified look and feel should be available in the engine's classpath.
e.g. --look-and-feel org.jvnet.substance.SubstanceLookAndFeel
- --target
Instructs the engine to "target" a specific component. Thus, the components tree will be filtered to display only the target component, its parent component(s), and dependent components. This option is used when running the engine using the Windows Add and Remove Programs utility.
e.g. --target nb-ide 5.5.0.0.0
- --locale
Specifies the locale for the installer engine.
e.g. --locale ru_RU
- --state
Loads the states of components from the specified state file. This option is required for --silent.
e.g. --state /home/ksorokin/state.xml
- --record
Records the states of components to the specified state file when you exit the installer. Use this option to generate state files.
e.g. --record /home/ksorokin/state.xml
- --silent
Runs the installer in silent mode. During silent installation, no interaction is required from the user as no graphic interface is used. In silent mode, all data required for installation is retrieved from the state file generated using the --state option.
e.g. --silent --state /home/ksorokin/state.xml
- --create-bundle
Creates a redistributable bundle containing selected components instead of installing them. The bundle is an executable .jar file, which contains the components you specify. In this case, your system should not be connected to the network.
e.g. --create-bundle /home/ksorokin/netbeans-6.0-bundle.jar