Installing in Batch Mode

Installing in Batch Using the StartB Command on Windows

The StartB batch command lets you install Version 5 without the graphical user interface. You can install all Version 5 software except online documentation in batch mode.

Note that, if your Version 5 software is delivered on more than one CD-ROM, you must copy all the software to the same directory from which you run this command.

You can:

  • copy all the software into the same folder
  • or, given that the software is distributed on several CDs ( 1, 2 ...), copy the contents of each CD into a separate folder for each CD, making sure that the name of each folder corresponds to the CD number ( 1, 2 ...) etc.

To perform a batch installation:

  1. Select Start->Programs->Command Prompt to open a Command Prompt window.
  2. Go to the directory containing the copied software, then to the Intel or win64 folder.
  3. Enter the command:

StartB

with the appropriate arguments.

The message:

Checking VC8 Runtime...
Checking VC8 Runtime : OK

is displayed, confirming that the VC8 runtime prerequisite has been installed.

StartB Command Syntax

-u "unload_dir": specifies the unload directory; make sure the directory path is enclosed like this: "unload dir" if the directory name contains spaces; the default unload directory is:

C:\Program Files\Dassault Systemes\B18 (Windows XP Pro)
C:\Program Files\Dassault Systemes\B18 (64-bit code on Windows XP Professional x64 Edition)
C:\Program Files (x86)\Dassault Systemes\B18 (32-bit code on Windows XP Professional x64 Edition)

-ident IDENT: creates an identifier used for differentiating multiple versions of the same release installed in different locations on the same computer; the IDENT must not exceed 20 characters and must be in uppercase

-newdir: creates the unload directory if it doesn't exist

-D env_dir: specifies the environment directory; the default environment directory is:

C:\Documents and Settings\All Users\Application Data\DassaultSystemes\CATEnv

-lic "pathname.lic": specifies the path and name of the nodelock license certificate to import

-exe: runs a Version 5 session at the end of the installation

-orbixport port1: specifies the Orbix daemon port number

-orbixbase port2: specifies the starting port number for daemon-run servers

-orbixrange: specifies the range for daemon-run servers

-addUserPrivilegesForOrbix: adds required privileges for Orbix for current user if they are missing

-backbonePorts port3 port4: specifies the ports reserved for the communication backbone - default values are 55555 and 55556

-VRPort port5: specifies the port reserved for processing events when using peripheral devices (spaceball, spacemouse, joystick); the default port for the peripheral device broker is 55557

-noSetupPorts: specifies you do not want to set up any communication ports

-CatiaV5Info/-CatiaV5Path Path -CatiaV5EnvPath Path -CatiaV5EnvName EnvName: options for CATIA V5 - ENOVIA V5 VPM interoperability

-CatiaV5Info/: used alone, setup takes default values for other parameters

-CatiaV5Path Path: specifies CATIA V5 Installation path

-CatiaV5EnvPath Path: specifies CATIA V5 Environment path

-CatiaV5EnvName EnvName: specifies environment file for CATIA V5

-v: verbose mode

-h: displays help.

-list: lists the configurations, products and extra products on the CD-ROM

-all: unloads all the configurations and the products on the CD-ROM

-l "list_to_unload": specifies the list of configurations and/or products to unload. You have to type the list of configurations and/or products, which you can obtain by running the command using the "list" argument. In the list, configuration names look like this: ME2.slt., and product names look like this: KIN.prd. These are the names you must type. Separate the names using a blank.
The arguments -list, -all and -l "list_to_unload" are mutually exclusive.

-allextra_prd: unloads all the extra products included with the configurations and products that are already installed or to be installed from the CD-ROM.

-lextra_prd "list_to_unload": specifies a list of extra products to unload. These extra products must be included with the configurations and products that are already installed or to be installed.

-noLang "fr ge it jp ch ko"/-noLang all: specifies user doesn't want to install language user interface files for French, German, Italian, Japanese, Simplified Chinese, Korean

-noFonts: specifies user does not want to install language-indexed fonts

-noreboot: the system will not be restarted if needed

-noDesktopIcon: does not create a startup icon on the desktop

-noStartMenuIcon: does not create a startup icon in the Start menu

-noStartMenuTools: does not create an entry in the Start menu for the administration tools

-Timeout: customizes the server timeout value

Example

The following example installs Version 5 software from scratch, creating the unload directory and importing the appropriate licenses.

To install the MD2 and DP2 configurations for the CATIA product line, type the following command, for example on Windows XP with 32-bit code:

StartB -u "C:\Program Files\Dassault Systemes\B18" -newdir -l "MD2.slt DP2.slt" -lic E:\CATIAV5_Licenses\MYCONFIG.LIC

Note: VBA is not installed automatically by the StartB batch.

You have to install VBA6 manually after a batch installation. To do so, run the command:

msiexec /q /i pathcdrom\VBA\VBA6.msi

However, note that VBA is supported on Windows XP Professional x64 Edition with Version 5 32-bit code.

Installing in Batch Mode Using the start Command on UNIX

  The start batch command lets you install Version 5 without the graphical user interface.

Note that, if your Version 5 software is delivered on more than one CD-ROM, you must copy all the software to the same directory from which you run this command.

You can:

  • copy all the software into the same folder
  • or, given that the software is distributed on several CDs ( 1, 2 ...), copy the contents of each CD into a separate folder for each CD, making sure that the name of each folder corresponds to the CD number ( 1, 2 ...) etc.

To perform a batch installation, log on as root, change directory to the appropriate directory (or CD-ROM mount point if there is only one CD-ROM) and enter the command:

./start

with at least one of the arguments below.

start Command Syntax

-u "unload_dir": specifies the unload directory. The default unload directory is: 
/usr/DassaultSystemes/B18

-newdir: creates the unload directory if it doesn't exist

-D: specifies the /CATEnv environment directory. The default environment directory is /CATENV.

-lic "pathname.lic": specifies the path and name of the nodelock license certificate to import

-env new|replace: if the environment file already exists, you can choose to replace it or create a new one

  • -env new: If you install the same level several times, the same environment is created each time, and using the same name, except that the name is incremented like this each time:
    MYPRODUCT.V5R18_1.B18.txt, MYPRODUCT.V5R18_2.B18.txt
  • -env replace: if you already installed Version 5, you may then have deleted the installation directory, in which case the environment remains; in this case, use the  "-env replace" argument to overwrite the existing initial environment and create a new one during the installation. Note that the "replace" option does not replace existing environments that you may have created using the "new" option (or using the "Create New Environment" option when installing using the GUI), and whose name is incremented, for example:
    MYPRODUCT.V5R18_1.B18.txt

-exe: runs a Version 5 session at the end of the installation

-s: silent mode

-orbixport port1: specifies the Orbix daemon port number 

-orbixbase port2: specifies the starting port number for daemon-run servers

-orbixrange: specifies the range for daemon-run servers

-CatiaV5Info/-CatiaV5Path Path -CatiaV5EnvPath Path -CatiaV5EnvName EnvName: options for CATIA V5 - ENOVIA V5 VPM interoperability

-CatiaV5Info/: used alone, setup takes default values for other parameters

-CatiaV5Path Path: specifies CATIA V5 Installation path

-CatiaV5EnvPath Path: specifies CATIA V5 Environment path

-CatiaV5EnvName EnvName: specifies environment file for CATIA V5

-orbixboot: boot Orbix daemon at restart

-backbonePorts port3 port4: specifies the ports reserved for the communication backbone - default values are 55555 and 55556

-VRPort port5: specifies the port reserved for processing events when using peripheral devices (spaceball, spacemouse, joystick); the default port for the peripheral device broker is 55557

-noSetupPorts: specifies you do not want to set up any communication ports

-DirCATIAV4: specifies CATIA V4 path for administrator home directory

-libCATIAV4 V422-1/V423-1: specifies which version of CATIA V4 to use (V422-1 or V423-1)

-DirVPM1: specifies VPM1 path for administrator home directory

-v: verbose mode

-h: displays help.

-list: lists the configurations, products and extra products on the CD-ROM

-all: unloads all the configurations and the products on the CD-ROM

-l "list_to_unload": specifies the list of configurations and/or products to unload. You have to type the list of configurations and/or products, which you can obtain by running the command using the "list" argument. In the list, configuration names look like this: ME2.slt., and product names look like this: KIN.prd. These are the names you must type. Separate the names using a blank.
The arguments -list, -all and -l "list_to_unload" are mutually exclusive.

-allextra_prd: unloads all the extra products included with the configurations and products that are already installed or to be installed from the CD-ROM.

-lextra_prd "list_to_unload": specifies a list of extra products to unload. These extra products must be included with the configurations and products that are already installed or to be installed.

-noLang "fr ge it jp ch"/-noLang all : specifies user doesn't want to install language user interface files for French, German, Italian, Japanese, Simplified Chinese, Korean

-noFonts : specifies user doesn't want to install language-indexed fonts

-Timeout: customizes the server timeout value

Reminder: if you run the command without arguments, the installation will be started using the graphical user interface.

 

Error Codes

The following error codes may appear on both Windows and UNIX for a GA installation:
 

0 Installation OK
1 Insufficient privilege
2 Bad environment
4 Bad media
5 Bad options
6 Allocation problem
7 Prerequisites KO
10 Prerequisites warning (only for 3dcom: concerns ddraw.dll)
44 LUM server to be stopped
55 Installation problem