IBM数据客户端服务器的无声安装



我正在尝试在Windows上使用IBM数据服务器客户端的无声安装。我可以通过GUI进行安装而不会出现任何错误。使用静音安装,我在日志文件中有以下条目。

MSI(S)(40:2C)[11:39:25:095]:产品:IBM数据服务器客户端-DB2Copy1-安装操作失败。

MSI(S)(40:2C)[11:39:25:107]:Windows安装程序安装了产品。产品名称:IBM数据服务器客户端-DB2Copy1。产品版本:11.1.0.1527。产品语言:1033。制造商:IBM。安装成功或错误状态:1603。

从setup.exe出现的路径中用于安装的命令

 setup /f /l C:logsdb1.log /u C:UsersAdministratormy.rsp

有什么提示我如何进行数据服务器客户端的无声安装?

编辑 - 添加响应文件

PROD=CLIENT
LIC_AGREEMENT=ACCEPT
FILE=C:Program FilesIBMSQLLIB
INSTALL_TYPE=TYPICAL
LANG=EN
INSTANCE=DB2
DB2.NAME=DB2
DEFAULT_INSTANCE=DB2
DB2.TYPE=CLIENT
DB2_EXTSECURITY=YES
DB2_USERSGROUP_NAME=DB2USERS
DB2_ADMINGROUP_NAME=DB2ADMNS
RSP_FILE_NAME=C:UsersAdministratorDocumentsPROD_CLIENT.rsp
DB2_COPY_NAME=DB2COPY1
DEFAULT_COPY=YES

跟踪文件上的错误

string =试图打开注册表密钥的错误 ibm db2 disabledca {e7d2bea2-df58-46bf-94a4a4-c40537e312c2}&quot

我在打开注册表条目中有多次出现类似的错误

编辑2

带有跟踪打开的日志文件。

  MSI (s) (0C:68) [16:36:14:238]: Note: 1: 1708 
  MSI (s) (0C:68) [16:36:14:238]: Product: IBM Data Server Client - DB2COPY1             -- Installation operation failed.
  MSI (s) (0C:68) [16:36:14:238]: Windows Installer installed the product. Product Name: IBM Data Server Client - DB2COPY1. Product Version: 11.1.0.1527. Product Language: 1033. Manufacturer: IBM. Installation success or error status: 1603.
  MSI (s) (0C:68) [16:36:14:238]: Attempting to delete file C:WindowsInstaller64a90c.mst
  MSI (s) (0C:68) [16:36:14:238]: Unable to delete the file. LastError = 32
  MSI (s) (0C:68) [16:36:14:253]: Deferring clean up of packages/files, if any exist
  MSI (s) (0C:68) [16:36:14:253]: Attempting to delete file C:WindowsInstaller64a90c.mst
  MSI (s) (0C:68) [16:36:14:253]: MainEngineThread is returning 1603
  MSI (s) (0C:1C) [16:36:14:253]: RESTART MANAGER: Session closed.
  MSI (s) (0C:1C) [16:36:14:253]: No System Restore sequence number for this installation.
  === Logging stopped: 3/6/2019  16:36:14 ===
  MSI (s) (0C:1C) [16:36:14:253]: User policy value 'DisableRollback' is 0
  MSI (s) (0C:1C) [16:36:14:253]: Machine policy value 'DisableRollback' is 0
  MSI (s) (0C:1C) [16:36:14:253]: Incrementing counter to disable shutdown. Counter after increment: 0
  MSI (s) (0C:1C) [16:36:14:253]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2 
  MSI (s) (0C:1C) [16:36:14:253]: Note: 1: 1402 2: HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionInstallerRollbackScripts 3: 2 
  MSI (s) (0C:1C) [16:36:14:253]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
  MSI (s) (0C:1C) [16:36:14:253]: Destroying RemoteAPI object.
  MSI (s) (0C:B4) [16:36:14:253]: Custom Action Manager thread ending.
  MSI (c) (FC:58) [16:36:14:269]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
  MSI (c) (FC:58) [16:36:14:269]: MainEngineThread is returning 1603
  === Verbose logging stopped: 3/6/2019  16:36:14 ===

问题的原因是DB2客户端fixpack中的问题。

它总是有助于使用相关IBM-Software的当前版本(最新的FixPack)。当出现故障症状似乎没有明显的解释时,尤其如此。在这种情况下,最新版本的DB2数据服务器客户端(在写作时)为v11.1.4.4,可从IBM Fix Central下载。

单独,有两行导致DB2安装程序报告错误,它们是" db2.type = client"one_answers" rsp_file_name = ...."行。这些错误在主日志文件中不可见,只能通过仔细检查TraceFile进行明显的检查,尽管这些错误并未导致在Windows Server 2012上安装失败。

对于Windows,如果您看不到日志文件中的错误,则有必要在设置命令行上使用TraceFile(/T TraceFile)选项。Linux用户将直接在日志文件中看到响应文件问题。

注意跟踪文件中的假阳性错误消息 - 即使安装成功完成,您也可以在跟踪文件中看到错误。因此,请务必先检查主日志文件以查看完成站,并在需要有关错误的更多详细信息时查看TraceFile,并注意谨慎查看TraceFile中的所有错误。Windows的DB2无声安装技术似乎不如Linux/Unix。

最新更新