Branding Using the Command Line
- Last Updated: June 14, 2021
- 5 minute read
Take the following steps to brand the driver using the command line.
-
At a command prompt, change to the directory containing the
temporary installer and supporting zip files.
Important: The installer directory must include the supporting installation zip files.
-
Run the installer using the appropriate command.
Important: If running the Java installer on Windows, you must either select a non-system directory as the installation directory or turn off User Account Controls.
- Java installer: java -jar PROGRESS_DATADIRECT_JDBC_INSTALL.jar -i console
- Windows installer: PROGRESS_DATADIRECT_JDBC_INSTALL.exe -i console
-
The Introduction step appears. Press ENTER.
Note: The installer prompts you to answer questions regarding the installation. To accept the default value, press ENTER. To return to the previous step, type back and press ENTER.
-
The product license agreement appears. Press ENTER multiple times to page to the end of the
agreement. At the end, you are asked to accept the agreement:
- To accept the license agreement and continue with the installation, type Y and press ENTER.
- To end the installation, type N and press ENTER.
-
You are prompted for the installation directory.
- Press ENTER to accept the default directory.
- Type the full path to the installation directory and press ENTER. You are prompted to confirm the installation directory. If correct, type Y and press ENTER.
- You are prompted for the type of installation. Type 2 for a licensed or OEM install and press ENTER.
-
You are prompted for the OEM IPE key (or Control Number) that
was provided by Progress DataDirect. Type the OEM IPE key and press ENTER.
Note: If you were issued multiple product keys, you can type them sequentially, separating the keys with a space. For example:
xxxxkey1 xxxxkey2 xxxxkey3. -
The DataDirect Installer Customer Experience Improvement
Program step appears. By choosing to participate in the program, you permit the
installer to gather data about your installation, such as environment
information and error details, that will be used to improve our products. Choose
one of the following:
- If you would like to participate in the program, enter 1.
- If you do not want to participate in the program, enter 2.
For more information about data collection, refer to the Progress Privacy Policy.
-
You are prompted for the serial number provided by Progress DataDirect. Type
the serial number and press ENTER.
- If you are installing a 5.1.4 version of the product, skip to Step 12.
- If you are installing a 6.0 version of the product, proceed to the next step.
-
You are prompted to specify a branded or unbranded type of
installation.
- Type 1 to specify a branded installation, and skip to Step 12.
- Type 2 to specify an unbranded installation, and proceed to the next step.
- The installer prompts you for product registration information. Enter the requested information; then, press ENTER and skip to Step 17.
-
You are prompted for the vendor file prefix. Type the character
file prefix (maximum of 2 characters) you registered on the Progress DataDirect
OEM Partner website and press ENTER.
This prefix is added to DataDirect file names. For example, if
dxis your file prefix for the MongoDB driver,mongodb.jarbecomesdxmongodb.jar.Note: The valueddis a reserved file prefix. Specifying this value returns an error. -
You are prompted for the vendor package prefix. Type a package
prefix for the branded drivers (maximum of 64 characters) and press ENTER.
To avoid package name conflicts, the package prefix should adhere to the package naming conventions defined in the Java Language Specification. The package prefix replaces the DataDirect prefix of
com.ddtekin all the classes within the driver jar file when you brand a driver. For example, ifcom.xyzcompany.xyzdivisionis your package prefix for the MongoDB driver, the MongoDB driver class:com.ddtek.jdbc.mongodb.MongoDBDriverbecomes:
com.xyzcompany.xyzdivision.jdbc.mongodb.MongoDBDriverNote: The valuecom.ddtekis a reserved package prefix. Specifyingcom.ddtekas part of this value returns an error. -
You are prompted for the vendor subprotocol prefix. Type a vendor
subprotocol prefix and press ENTER.
Progress DataDirect drivers are registered with a URL subprotocol of the form
datadirect:drivername, for example,datadirect:mongodb. To replacedatadirectin the subprotocol of a branded driver with your company name, type a prefix (maximum of 32 characters) in this field. For example, ifxyzcompanyis your subprotocol prefix for the MongoDB driver, the URL:jdbc:datadirect:mongodb://server1:27017becomes:
jdbc:xyzcompany:mongodb://server1:27017Note: Contact Oracle to register JDBC subprotocol names.Note: The subprotocol cannot start withProgress DataDirector containdatadirect. Specifying either of these reserved values returns an error. -
You are prompted for the vendor message prefix. Type a message prefix
for the branded drivers (maximum of 32 characters) and press ENTER.
After branding, driver error messages are displayed with this prefix. For example, if
xyzcompanyis your message prefix for the MongoDB driver, the driver error message:[DataDirect][MongoDB JDBC Driver] Object has been closedbecomes:
[xyzcompany][MongoDB JDBC Driver] Object has been closedNote: The message prefix cannot start withProgress DataDirector containdatadirect. Specifying either of these reserved values returns an error. -
You are prompted for the vendor password. Type the password
(maximum of 128 characters) you registered on the Progress DataDirect OEM
Partner website and press ENTER.
The password is case-sensitive. This password is locked into the branded drivers to prevent unauthorized applications from using the branded drivers.
-
A pre-installation summary provides installation information. You are
prompted to accept or change the information:
- Press ENTER to accept the information and begin the installation.
- To change the information, type back; then, press ENTER. You are prompted for the information again.
- After completion of the installation, a message appears indicating that you have installed the software successfully. This completes the installation. Press ENTER to exit the installer.
Refer to the installation log file for a record of any problems that may have occurred during the installation. See Installation Log File for details.