How to perform a silent removal of the DB2 Runtime Client

Technote (FAQ)


Question

How can I perform a silent uninstall of the DB2 Runtime Client?

Cause

The DB2 Runtime Client does not support the db2unins command and is not provided with the runtime client installation. Copying the db2unins command from another DB2 product installation and it's use with a response file is not supported.

Answer

To perform a silent uninstall of a runtime client use the following Msi command.

msiexec.exe /x {product code} SILENT_MODE="ON" /qn

Runtime client product codes by version are:

    32bit Runtime Clients
    V9.7 - {D69ADB0B-B88E-4339-85BD-6B7AD104F038}
    V9.5 - {5AEE236C-0100-464B-BD2E-883AA70A5D73}
    V9.1 - {4A54CF0D-EE0D-48CB-8C96-69C720FD16C6}

    64bit Runtime Client
    v10.1 - {BD126458-3EC1-4DC3-9678-F9DF1D71DBB5}
    v9.7 - {D69ADB0B-B88E-4339-85BD-6B7AD104F039}

Example silent install command for DB2 v9.7 runtime client:

msiexec.exe /x {D69ADB0B-B88E-4339-85BD-6B7AD104F038} SILENT_MODE="ON" /qn /log "C:\uninstall.log"

For multiple installations, and to confirm product code, the product code can be located from the following Windows registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopies\<DB2COPYname>\<Product Name>\CurrentVersion\ProductCode

Example for Runtime Client installation:

HKEY_LOCAL_MACHINE\SOFTWARE\IBM\DB2\InstalledCopies\DB2COPY1\IBM Data Server Runtime Client\CurrentVersion\ProductCode

Rate this page:

(0 users)Average rating

Document information


More support for:

DB2 for Linux, UNIX and Windows
Installation - Packaging

Software version:

9.1, 9.5, 9.7, 10.1, 10.5

Operating system(s):

Windows

Reference #:

1501835

Modified date:

2014-12-05

Translate my page

Machine Translation

Content navigation