Distributing the Software in Compressed Form

This task explains how to distribute the software in compressed form to another computer. The idea is to perform an installation on a server, compress the code, send the compressed code to another computer, decompress it and perform local operations on the computer to be able to run the decompressed code.

The default installation path can be:

C:\Program Files\Dassault Systemes\B27 (64-bit code on Windows, x64 Edition)
C:\Program Files\(x86)\Dassault Systemes\B27 (32-bit code on Windows, x64 Edition)

  Note that you cannot first install a GA level in compressed form, then install a service pack in normal installation mode. In this particular case, you have two solutions:
  • reinstall everything in compressed form
  • or use the CATDeltaInstall utility.
1. On the server computer, install the Version 5 software in the following folder, for example on Windows:

C:\Program Files\Dassault Systemes\B27

2. Compress the software using a popular compression software product (for example, WinZip), and send it to the client computer on which it is to be used.
3. Log on as administrator onto the client computer on which you want to use the software.
4. Once you have retrieved the compressed package, extract it to a folder, for example:

E:\Program Files\Dassault Systemes\B27

5. You will need to install the VC8 Runtime prerequisite on each client computer. This has to be installed before running any Version 5 executable programs on this platform.

To do so, open an elevated Command Prompt window, go to the first CD-ROM folder, then to the folder:

INTEL (32-bit media)
WIN64 (64-bit media)

and run the following command:

msiexec /i InstallDSSoftwarePrerequisites_x86_x64.msi /q

6. You will need to install the VC9 Runtime prerequisite on each client computer. This has to be installed before running any Version 5 executable programs on this platform.

To do so, open an elevated Command Prompt window, go to the first CD-ROM folder, then to the folder:

INTEL (32-bit media)
WIN64 (64-bit media)

and run the following command:

msiexec /i InstallDSSoftwareVC9Prerequisites_x86_x64.msi /q

7. Create the runtime environment on the client, for example using the paths for Windows.

To do so, you have two possibilities:

  • from the directory E:\Program Files\Dassault Systemes\B27\win_b64\code\bin, run the following command:

setcatenv -p "E:\Program Files\Dassault Systemes\B27" -e MyEnvironment -d MyEnvDirectory -a global -desktop yes -cs MyProductLine

where MyEnvironment is the name of the environment, MyEnvDirectory is the name of the folder containing the environment and "MyProductLine" is the name of the product line.

  • or, use the Start > Programs > MyProductLine > Tools > Environment Editor V5-6R2017 command. In this case:
  1. Select the Environment > New command to display the New Environment dialog box.
  2. Select the Options menu, then the Set Global Storage Directory command, and set the environment storage directory to the same location you set in step 8.
  3. Enter the same environment name you also set in step 8.
  4. Enter the path of the shared installation folder on the server as follows:
    E:\Program Files\Dassault Systemes\B27
  5. Select Global for the Mode.
  6. Select your Product Line.
  7. Click OK.

In both cases, a global environment is created on the client computer which can be used by all users who log onto the client.

Instead of creating an environment on the client computer, you can use access the environment on another computer via the network. For more details, refer to step 10b in Accessing the Software From a Thin Client.

8. In a Command Prompt window, go to the following directory:

E:\Program Files\Dassault Systemes\B27\win_b64\code\bin (64-bit code on Windows)
E:\Program Files (x86)\Dassault Systemes\B27\win_b64\code\bin (32-bit code on Windows)

Set the variable DSY_NO_HKCU_REGISTRATION to TRUE (set DSY_NO_HKCU_REGISTRATION =TRUE) to run the following command correctly. The activation of this variable forces the registration of OLE information to be in install mode and not in execution mode.

then run the following command using exactly the syntax indicated, depending on whether you are running CATIA, ENOVIA DMU Navigator or DELMIA:

V5Regserver –set PRODUCT_LINE –env MyEnvironment -d MyEnvDirectory

where MyEnvironment is the name of the environment, and MyEnvDirectory the name of the folder containing the environment, if you intend to create an environment on the client as described in step 9.

This activates OLE support which ensures that double-clicking Version 5 document icons on the client will run a Version 5 session.

9. Run the following command:

setcatenv -tools -cs MyProductLine

to set up the Start > Programs > MyProductLine > Tools menu containing the Batch Management V5-6R2017, Environment Editor V5-6R2017,  Nodelock Key Management V5-6R2017, Printers V5-6R2017, Settings Management V5-6R2017 and Software Management V5-6R2016 commands.

10. If you require extended font support, run the following command:

VE0IFONT.exe -env MyEnvironment -direnv MyEnvDirectory

from the directory:

E:\Program Files\Dassault Systemes\B27\win_b64\code\bin (64-bit code on Windows)

E:\Program Files (x86)\Dassault Systemes\B27\win_b64\code\bin (32-bit code on Windows)

For more information, refer to "Using and Customizing Fonts" in your Infrastructure Users Guide.

11. If you want to record and replay macros, and Microsoft Visual Basic for Applications (VBA), Version 7.1 is not already installed on your client, you have to install VBA manually from the installed runtime view.

Install the VC10 runtime which is a prerequisite for VBA installation:

To do so, open an elevated Command Prompt window, go to the first CD-ROM folder, then to the folder:

INTEL (32-bit media)
WIN64 (64-bit media)

and run the following command:

msiexec /i InstallDSSoftwareVC10Prerequisites_x86_x64.msi /q

To install VBA7 on all Windows platforms, run the following commands:

DSVBA71Installer.exe /install [/norestart] /log "Path_LOG"

from the directory:

E:\Program Files\Dassault Systemes\B27\win_b64\VBA (64-bit code on Windows)

E:\Program Files (x86)\Dassault Systemes\B27\win_b64\VBA (32-bit code on Windows)

12. If you need access to the communications backbone and peripheral device broker, the associated port numbers must be set up on the client.

Used to support process interoperability (for example, between CATIA and DMU), the backbone needs to be set up on each computer running applications which need to communicate.

To set up the ports using the default values, for example for Windows:

  1. Log on as administrator.
  2. Open a command prompt window and go to the installation directory, for example:

    E:\Program Files\Dassault Systemes\B27\win_b64\code\bin
  3. Enter the command:

    setV5Ports

    \\Server\\Program Files\Dassault Systemes\B27\win_b64\code\bin\BBDemonService -create

where, Server is the name of the server machine. The UNC path must be used imperatively.

For more information about the communications backbone, refer to Communications Backbone Files.

13. If you created a runtime environment on the client, start a session by double-clicking the environment icon on the desktop or by selecting the command to start the product from the Start > Programs menu.

Make sure that you have set up your licenses (either network or nodelocked) before starting a session.

14. If you want to delete the environment created on the client, run the following commands.

To update the registry (deactivate OLE support):

V5Regserver –unset

To delete the reference environment:
delcatenv -d MyEnvDirectory -e MyEnv -a global -desktop yes -cs MyProductLine

To delete the Start menu entries:
delcatenv -tools -cs  MyProductLine

Note: There is no issue between VBA 6.5 and 7.1 on the same machine. Automation usage on multiple level on the same machine can not be done in parallel but only consecutively and with unregistering the first version before registering the new one to switch from Rn to Rn+x.

In the V5Rn installation directory, in a command prompt window, run the following command: 
catstart -run "V5RegServer -unset env MyV5Environment DirEnv MyV5EnvDirectory”

In the V5Rn+x installation directory, in a command prompt window, run the following command: 
catstart -run "V5RegServer -set ProductLine env MyV5Environment DirEnv MyV5EnvDirectory”