Uninstalling Version 5

On Windows

This task explains how to remove the Version 5 files on Windows.

Note that you are not able to selectively uninstall a configuration or product.

Uninstalling relies on Windows-compliant tools enabling anyone familiar with Windows procedures and concepts to uninstall the software without assistance.

Prior to removing the software, you must remove any user environments you may have created after the initial installation using the tools described in Customizing Your Environment on Windows.
1. Log on as an administrator.

You must belong to the Administrators group, or have the privileges assigned to the Administrators group. Otherwise, you will not be able to uninstall the software.

2. On the Windows desktop, select the Start->Control Panel, then double-click the Add/Remove Programs control.

The Add/Remove Programs dialog box appears.

3. Select the item Dassault Systemes Software B18 from the list.

The dialog box looks something like this (depending on the software installed on your computer):


 

  4. Click the Change/Remove... button.

A message informs you that the folder:

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)

is going to be removed, and prompts you to confirm that you want to continue and remove all the software.

You can also use this command to remove the online documentation. The item name for the English documentation will be, for example:

Dassault Systemes Doc English CATIA_P3 B18

5. Click Yes to confirm.

ALL the installed configurations and products will be removed. The program removes:

  • the installation folder
  • all desktop items: environment icon, all entries in the Start->(All) Programs menu
  • the last environment created
  • all registry entries

except for the components specified in What Is Not Removed?

You may be prompted to kill any running processes (including Orbix) which use the version you are uninstalling. If this is the case, click the Yes button when prompted. However, running services (for example, the BBdemon backbone service) are killed automatically.

 

Killing Processes from the Command Line

Should the need arise to kill Version 5 processes manually, proceed as follows:

  1. Log on as administrator.
  2. Open a Command Prompt window.
  3. Go to the installation directory:
    C:\Program Files\Dassault Systemes\B18\intel_a\code\bin (Windows XP Pro)
    C:\Program Files\Dassault Systemes\B18\win_b64\code\bin (64-bit code on Windows XP Professional x64 Edition)
    C:\Program Files (x86)\Dassault Systemes\B18\intel_a\code\bin (32-bit code on Windows XP Professional x64 Edition)
     
  4. Enter the command:
    KillV5Process

    This command stops all Version 5 processes attached to the current concatenation of processes (including Orbix), and stops all services (for example, the Backbone service).

    which outputs the following, for example (Windows XP Pro):

    KillV5Process
    CATInstallPath = C:\Program Files\Dassault Systemes\B18\intel_a

    Processes listed below have been killed:

    C:\Program Files\Dassault Systemes\B18\intel_a\code\bin\CATSTART.exe
    C:\Program Files\Dassault Systemes\B18\intel_a\code\bin\runORbix.EXE
    C:\Program Files\Dassault Systemes\B18\intel_a\code\bin\orbixd.exe
    KillV5Process - End

What Is Not Removed?

Note that the following components and products are not removed:

  • the fonts installed with the software
  • any system libraries installed to update your system
  • Microsoft Visual Basic for Applications (VBA)
  • certain registry keys (for external partners software)
  • lines added to the file:
    %windir%\system32\drivers\etc\services
    for the communications backbone
  • user and administrator settings.

The entries in the Start->(All) Programs menu will not be removed if they still contain environments created using the tools described in Customizing Your Environment on Windows.

If you delete the installation folder instead of uninstalling cleanly using the Add/Remove Programs control via the Start->Control Panel command, your registry will be corrupted. Before, when you attempted to reinstall, you were blocked. Now, a message will prompt you to click the OK button if you want to automatically clean up the registry and continue the installation.

Uninstalling in Batch Mode

You can also uninstall in batch mode by executing a command file.

  1. Open a command prompt (MS-DOS) window.
  2. Enter the following command:

    Unload_Dir\DSUninstall.bat

    where "Unload_dir" may be, for example:

    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)

    This command removes the software in the same way as the Add/Remove Programs control. However, note that the procedure automatically kills any running processes (including Orbix) which use the version you are uninstalling. However, running services (for example, the BBdemon backbone service) are killed automatically.

On UNIX

This task explains how to remove the Version 5 files from your workstation on UNIX.

Prior to removing the software, you must first kill any running processes then remove any user environments you may have created after the initial installation using the tools described in Customizing Your Environment on UNIX.

End users who set up their own user environments using the setcatenv command can only remove them using the delcatenv command.

  1. Log on as root.
  2. Kill all running Version 5 processes.

Killing Processes from the Command Line

Should the need arise to kill Version 5 processes manually, proceed as follows:

  1. Log on as root.
  2. Go to the installation directory:

    /usr/DassaultSystemes/B18/OS/code/command

  3. Enter the command:

    ./catstart -run  KillV5Process -env MyEnv -direnv MyEnvDirectory

    This command stops all Version 5 processes attached to the current concatenation of processes (including Orbix), and lists all processes killed. This is an output example:

    Starting KillV5Process program. Please wait...
    KillV5Process
    CATInstallPath = /usr/DassaultSystemes/B18/aix_a
    Processes listed below have been killed:
    /usr/DassaultSystemes/B18/aix_a/code/bin/orbixd -u -s
    KillV5Process - End

    Note, however, one important restriction: processes started using "./" will not be detected.

  4. Delete the environments.

    Environments are deleted in two steps, both involving the use of the delcatenv command.

    1. First, remove action files and document icons.
    2. Then, remove environment text files and associated icons.

    The command is located in the directory:

    /usr/DassaultSystemes/B18/OS/code/command

    where "OS" is:

    • aix_a
    • hpux_b
    • solaris_a.

    The files deleted are described in About the Environment Created on Your Workstation on UNIX.

    Run the following commands one after the other:

    ./catstart -env CATIA.V5R18.B18 -direnv $HOME/CATEnv -run "delcatenv -d $HOME/CATEnv -e CATIA.V5R18.B18 -unregserver"

    ./catstart -env
    CATIA.V5R18.B18 -direnv $HOME/CATEnv -run "delcatenv -d $HOME/CATEnv -e CATIA.V5R18.B18 -a global -desktop yes"

    Note: The -d option is not necessary if you chose to install your environment in the proposed default directory, i.e. /CATEnv . However, if you chose to install your environment in a different directory, you must specify the -d option and the path of your environment directory.

    The message:

    Unintegration Complete

    confirms that the operation has been successful.

    Note that environments cannot be deleted using simple operating system commands. The delcatenv command is essential for removing all trace of environments in the desktop environment.

  5. Only when all environments and running processes have been deleted, you can then delete the installation directory using the command:

    rm -rf /usr/DassaultSystemes/B18

What Is Not Removed?

Note that the following are not removed:

  • lines added to the files:
    /etc/services
    for the communications backbone and:
    /etc/inetd.conf
    for the CATSysDemon process
  • user and administrator settings
  • on Solaris, the file:

    /etc/rc2.d/S99orbixdsyyyy-mm-dd_hh:mm:ss:OK

    which is installed if you checked the option Boot Orbix daemon at restart. If this is the case, delete the file.