The Publisher is a stand alone application that communicates with the active Rhapsody instance to gather the information.
Note:
Publisher4Rhapsody_3.3.2.exe /SILENT /DIR="<publisher_install_dir_path>" /JAVAPATH="<path_to_java_install_directory>" /RAMSIZE=XX /RHPINSTDIR="<path_to_Rhapsody_install_directory>" /RHPSHAREDIR="<path_to_Rhapsody_share_directory>" /LOG="<path_to_log_file>"
/SILENT: Instruct to be silent. Use /VERYSILENT to avoid any popup. Whether the /SILENT or /VERYSILENT, the prompt for the administrator rights might pop/DIR: Path where the publisher will be installed. If not set, the default path is used: C:\Program Files\Publisher4Rhapsody\3.3.2/JAVAPATH: Path where Java is installed. If not set, the path is found in the registry/RAMSIZE: The amount of RAM in GB. If not set, the value is computed from the Ram available/RHPINSTDIR: Path where IBM Rhapsody ins installed. If not set, the path is found in the registry/RHPSHAREDIR: Path of the IBM Rhapsody share folder. If not set, the path is found in the registry/LOG: Path to the log file. This parameter is optional. If not set, no log file will be generated
For example, for a device with Java 11 and Rhapsody 10 already installed, the command line would look like:
Publisher4Rhapsody_3.3.2.exe /SILENT /DIR="C:\Program Files\Publisher4Rhapsody\3.3.2" /JAVAPATH="C:\Program Files\Java\jdk-11" /RAMSIZE=8 /RHPINSTDIR="C:\Program Files\IBM\Rhapsody\10.0.1" /RHPSHAREDIR="C:\Program Files\IBM\Rhapsody\10.0.1\Share" /LOG="out.log"
For silent mode/scripted execution, please refer to the Silent Mode section of the Administration Guide.