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 computer, 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.

Note that the default installation path can be:

C:\Program Files\Dassault Systemes\B211

Note that you cannot first install a GA level in compressed form, then install a hot fix in normal installation mode. In this particular case, you have to reinstall everything in compressed form.

Note: The commands in the following steps reference the CATIA brand, but software belonging to the other brands can also be distributed in the same way.

  1. Log on as administrator onto a computer, install the software in the following folder, for example on 32-bit Windows XP:

    C:\Program Files\Dassault Systemes\B211

  2. Compress the software using a compression software product, and send it to the remote 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\B211

  5. You will need to install the VC8 and VC9 Runtime prerequisites on each client computer (if not already installed). They have to be installed before running any Version 6 executable programs on this platform.

    To install VC8, open a 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 commands for 32-bit Windows:

    msiexec /i InstallDSSoftwarePrerequisites_x86.msi /q 
    msiexec /i InstallDSSoftwareVC9Prerequisites_x86.msi /q 
    

    and the following commands for 64-bit Windows:

    msiexec /i InstallDSSoftwarePrerequisites_x86_x64.msi /q
    msiexec /i InstallDSSoftwareVC9Prerequisites_x86_x64.msi /q
    

  6. Create the runtime environment on the client, for example:

    From the directory:

    E:\Program Files\Dassault Systemes\B211\intel_a\code\bin

    run the following command:

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

    where "MyEnvironment" is the name of the environment, "MyEnvDirectory" is the name of the folder that will contain the environment.

  7. Run the following command:

    setcatenv -tools -cs CATIA -e MyEnvironment -d MyEnvDirectory

    to set up the Start > All Programs >CATIA> Tools menu with the appropriate tools.

  8. If you want to record and replay macros, and Microsoft VSTA or Microsoft Visual Basic for Applications (VBA), Version 6.0 are not already installed on your client, you have to install VSTA and/or VBA manually from the product CD-ROM.

    For example, run the commands:

    set STARTDIR = pathcdrom
    pathcdrom\INTEL\VBAIDEinst.exe
    pathcdrom\WIN64\VBAIDEinst.exe

    msiexec /q /i pathcdrom\VSTA\vsta_aide.msi

  9. To activate OLE support, in a Command Prompt window go to the following directory:

    E:\Program Files\Dassault Systemes\B211\intel_a\code\bin 
    E:\Program Files\Dassault Systemes\B211\win_b64\code\bin 

    then run the following command using the syntax indicated:

    DSYAdmRegSrv -set CATIA -env MyEnvironment -direnv MyEnvDirectory

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

  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\B211\intel_a\code\bin
    E:\Program Files\Dassault Systemes\B211\win_b64\code\bin

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

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

    For more information about these port numbers, refer to Setting Backbone and Peripheral Device Broker Port Numbers

  12. Start a session by double-clicking the environment icon on the desktop or by selecting the command to start the product from the Start > All Programs menu.

    Make sure that you have set up your licenses before starting a session.

  13. If you want to delete the environment and deactivate OLE support, run the following commands:

    To update the registry:

    DSYAdmRegSrv -unset -env MyEnvironment -direnv MyEnvDirectory

    To delete the Start menu entries:

    delcatenv -tools -cs CATIA -e MyEnvironment -d MyEnvDirectory

    To delete the reference environment:

    delcatenv -d MyEnvDirectory -e MyEnv -a global -desktop yes -cs CATIA