Launching a DS Media in Silent (Replay) Mode

The silent installer lets you automate a repeatable, customized installation that runs with no user interaction.

Before using the silent installer, you must run the installation once, as a trial run, then retrieve the response file that is generated from the installation. The response file is generated automatically by either a Graphical User Interface (GUI) or a Textual User Interface (TUI) installation and contains the installation choices you gave during that installation.

See Also
Launching the Suite Installer in Silent (Replay) Mode
  1. Do a trial run of the media using GUI or TUI mode. Complete the installation.

    For more information about running the installer, see Launching a DS Media in GUI or TUI Mode.

  2. Retrieve the response file from the trial installation.

    For all media (except the SIMULIA Established Products CAA API media), the response file name and path is:

    <install_dir>/InstallData/UserIntentions_CODE.xml

    For the SIMULIA Established Products CAA API installation, the response file name and path is:

    <install_dir>/InstallData/UserIntentions_CAA.xml or UserIntentions_CAA_Additional.xml

    After retrieving the response file, you can put it anywhere.

    A response file is specific to:

    • a particular operating system; response files are different between Windows and Linux
    • a particular media
    • a particular release level or fix pack (hot fix) level

  3. Edit the response file.

    You can edit the following variables:

    • path values
    • text values
    • port number values

    The response file must be:

    • XML well-formed
    • UTF8 encoded

  4. Start the silent installation.

    You start the silent installation in the same manner as in console mode using the StartTUI installer, except that you must specify the --silent option followed by the full path name of the response file.

    For example, use the following command on Windows:

    <download_dir>\media_name\1\SIMULIA_EstablishedProducts\Windows64\1\StartTUI.exe --silent <path>\UserIntentions_****.xml

    and on Linux:

    <download_dir>/media_name/1/SIMULIA_EstablishedProducts/Linux64/1/StartTUI.sh --silent <path>/UserIntentions_****.xml

    Optionally, you can specify the --xmlreport option to generate an XML file that generates an installation error report in XML format:

    ./StartTUI.sh --silent /opt/ds/UserIntentions_****.xml --xmlreport <reportfilepath>

    For example:

    ./StartTUI.sh --silent /opt/ds/UserIntentions_****.xml --xmlreport /opt/ds/tmp/Report.xml

    An XML file is created and can be parsed. The file contains a list of <Message> elements contained inside a <Logs> element. The <Message> elements contain the following attributes:

    id A unique identifier for each error. If the id ends with ".0", it means that the message is not an error.
    message Error message, localized in the user language
    techMessage Technical message
    msgCatalog Name of the .CATNls file (if any)
    msgKey Name of the key inside the file (if any)
    type Error type (info / warn / error / fatal)