## Background Installations/Updates on Microsoft Windows

### Use

You use the SDBINST program to install/update component groups, installation profiles or individual components of the database software on Microsoft Windows. You specify all required information on the command line, along with the command for starting the installation program.

You must stop the X Server program before you update the database software. Remember that this interrupts communication between the clients and all local database instances.

### Prerequisites

● You have administrator rights for your computer.

● You have downloaded and unpacked the installation package (Unpacking the Software on Microsoft Windows).

### Procedure

1. To update an existing installation of the database system or install a newer software version in parallel:

○ Stop each individual database instance with the command:
dbmcli –d <database_name> -u <dbm_operator>,<dbm_operator_password> db_offline

○ Stop the X Server program (XServer service) with the command:
x_server stop

In the case of an initial installation, start at step 2.

2. Start the installation process for the OLTP software with the following command:
sdbinst [-b | --batch] -component_group <component_group> | -profile <inst profile>[,<inst_profile2>...] | -package <package_name>[,<package_name2...>] -indep_data <independent_data_path> - indep_prog <independent_program_path> -depend <dependent_path> [-archive_dir <directory>]

Start the installation process for the liveCache software (in SAP APO systems only) with the following command:

○ For the APO liveCache installation profile:
sdbinst [-b] -profile “APO LiveCache” -indep_data <independent_data_path> -indep_prog <independent_program_path > -depend <dependent_path>

○ For the APO LC APPS software component:
sdbinst [-b] -package “APO LC APPS” -depend <dependent_path>

For an explanation of the options, see Overview of the Options for the SDBINST Program.

You must place any names of installation profiles or software components that contain blanks in double quotation marks.

For certain installation profiles or software components, you do not need to specify the options –indep_prog, -indep_data, or –depend. If you do specify these options, the system ignores them. See the overview of options for more information.

You will receive a message informing you that the installation was successful.

### Result

The software packages have been installed and registered. You can check the result of your installation in the log.

You can now create database instances using the Installation Manager, the Database Manager CLI or the Database Manager GUI.

## See also:

Logging

Creating a Database Instance Afterwards

Database Manager CLI, db_create

Database Manager GUI, Creating a Database Instance