Upgrade from CADP CAPI to CADP for C
This section covers the following upgrade procedures:
Upgrading CADP CAPI to CADP for C on Linux
Prior to upgrading CADP CAPI to CADP for C, save your existing configuration by backing up the CADP_CAPI.properties
file to another folder.
After the upgrade:
A
backup
folder is created in the installation directory ofCipherTrust/CADP_for_C/
.A copy of the
CADP_CAPI.properties
file with previous configurations and thesample
folder (containing the CADP CAPI code samples) are added to thebackup
folder.
For more information about the CADP for C installed directory, refer to the CADP for C Installed Directory.
Using Installation Script
For instructions on how to upgrade CADP CAPI to CADP for C, follow the installation procedure mentioned in Using (Linux) Installation Script. At Step 7, specify the path to the folder in which CADP CAPI is installed. This is the folder in which the CADP for C program files will be installed.
For example:
Install CADP for C to path [/opt]:<install_folder>
For example:
Install CADP for C to path [/opt]:/home/user1/CAPI_17_FEB
After the upgrade, the installation directory CipherTrust/CADP for C/
is added to the folder you specified in Step 7.
Silent Upgrade
Update the cadp_for_c_basic.conf
file for the latest CADP for C package and run the following command:
sudo ./install.sh -c utilities/cadp_for_c_basic.conf -d /home/CADP_for_C -y
Refer to Silent Installation for details.
Upgrading CADP CAPI to CADP for C on Windows
Prior to upgrading CADP CAPI to CADP for C, save your existing configuration by backing up the CADP_CAPI.properties
file to another folder.
After the upgrade:
A
backup
folder is created in the installation directory ofCipherTrust/CADP_for_C/
.A copy of the
CADP_CAPI.properties
file with previous configurations and thesample
folder (containing the CADP CAPI code samples) are added to thebackup
folder.
For more information about the CADP for C installed directory, refer to the CADP for C Installed Directory.
Using GUI-based Installation
When upgrading CADP CAPI to CADP for C, use the setup executable (setup.exe
) file for the installation of CADP for C. There is only one difference between the upgrade procedure from CADP CAPI to CADP for C and installation procedure for CADP for C. During the initial part of the upgrade, the installation wizard detects that CADP CAPI is installed and displays the following dialog box after the Welcome page initally displays:
Click Yes to continue with the upgrade from CADP CAPI to CADP for C. Then from the Welcome page, click Next. At this point, the remaining steps are the same as described in the installation procedure in Using (Windows) GUI-Based Installation. Continue with Step 2 within the installaton procedure to complete the upgrade procedure.
Silent Upgrade
Update the cadp_for_c_basic.conf
file for the latest CADP for C package and run the following command:
setup.exe /s /v"/qn CONFIGPATH=<path of cadp_for_c_basic.conf file>"
For example:
setup.exe /s /v"/qn CONFIGPATH=C:\Users\Administrator\Desktop\cadp_for_c_basic.conf"
Refer to Silent Installation for details.
Note
Samples are not a part of the CADP for C package anymore. It can be downloaded from other source.