安装
在 Windows 系统上运行 Domino 的无提示服务器安装之前,请执行下列操作:
运行无提示服务器安装包括两个步骤。
1. 创建或记录响应文件,该文件中包含安装配置信息。
2. 引用响应文件,以“重放模式”运行安装。
创建无提示服务器安装的响应文件
典型(非无提示)安装在安装期间使用对话框来接收输入内容。无提示(自动)服务器安装从 InstallShield Silent 响应文件 (*.iss) 接收输入内容,而不会提示您进行输入操作。该响应文件是一个纯文本文件,由多个包含数据项的区段组成。该文件格式与 *.ini 文件类似。可以手动创建 ISS 响应文件,也可以通过记录服务器安装并将记录内容保存在响应文件中来创建 ISS 响应文件。
记录响应文件
请通过如下带有命令行参数 -r 的命令运行服务器安装:
Lotus Domino 的响应文件样例
在创建您自己的响应文件时,请使用下面的响应文件样例作为指南。
# This is a sample response file for Lotus Domino
# All response files begin with a silent header.The silent header allows
# InstallShield to identify the file as a legitimate response file.It
# also helps to verify that the file corresponds to an setup created
# with the proper version of InstallShield.
[InstallShield Silent]
# The Version=v5.00.000 line indicates the version of the InstallShield
# Silent response file, not the version of InstallShield.
# Always use v5.00.000
Version=v5.00.000
File=Response File
# The application header is the second block of information in the
# response file, immediately following the silent header.The
# application header identifies the product being installed.
[Application]
Name=Domino
Version=6.0
Company=Lotus
Lang=0009
# Any global settings used by the installer appear here.
[File Transfer]
OverwriteReadOnly=NoToAll
# The next block of information is the dialog box sequence.
# The dialog box sequence section lists all dialog boxes you would need to
# use in a normal setup (including custom dialog boxes), in the order in
# which they would appear.
[DlgOrder]
Count=7
Dlg0=SdWelcome-0
Dlg1=SdLicense-0
Dlg2=SdRegisterUser-0
Dlg3=SdAskDestPath-0
Dlg4=SdSetupType-0
Dlg5=SdSelectFolder-0
Dlg6=SdFinishReboot-0
# The last block of information is the dialog box data.This
# is a collection of sections containing the values returned by each dialog
# box identified in the dialog box sequence section.Each dialog box has
# its own section.The values listed are the same values that the
# dialog box returns in a normal, user input-driven setup.
# SdWelcome is the initial dialog box that is displayed.
[SdWelcome-0]
Result=1
# SdLicense is the dialog box that displays the license agreement.
[SdLicense-0]
# SdRegisterUser is the dialog box that displays information about the user
# installing Domino.
# It is only used for display.
[SdRegisterUser-0]
szName=Jane Doe
szCompany=IBM
# SdAskDestPath is the dialog box which prompts for the path to install
# Domino to.
# szDir is the location of the Program Files.
# szDir1 is the location of the DataFiles.
# gUpgrade=0 for clean installs and =1 for upgrades.
[SdAskDestPath-0]
szDir=C:\Lotus\Domino
szDir1=C:\Lotus\Domino\Data
gUpgrade=0
# SdSetypType is the dialog box which prompts for the install type.
# szSetupType can be one of the following values, which correspondes to a
# radio button in this dialog
# Domino Utility Server
# Domino Messaging Server
# Domino Enterprise Server
[SdSetupType-0]
szSetupType=Domino Messaging Server
bCustomize=0
# SdSelectFolder is the dialog box which prompts for the menu item name
# that is used on the Program Files menu.
# szFolder is the value used.
[SdSelectFolder-0]
szFolder=Lotus Applications
# SdFinishReboot is the last dialog box displayed after the install has
# finished.
# BootOption controls wether or not the machine reboots after the install
# has finished.
# the bOpt1 and bOpt2 items are not used.
[SdFinishReboot-0]
BootOption=0
在 Win32 系统上运行无提示服务器安装
要为 Lotus Domino 自动化安装创建响应文件,必须将命令行参数传送到 SETUP.EXE。步骤 2 的表中列出并解释了命令行参数。
创建响应文件后,请执行 Domino 服务器无提示安装。
1. 将 SETUP.ISS 文件拷贝到包含 SETUP.EXE 文件的文件夹中。
2. 通过下表所示的任一个命令行参数启动服务器安装。
例如,setup.exe -s。
注意 可以同时使用 -s 和 -f1 或单独使用 -s 来运行无提示安装。
例如,setup.exe -r。
注意 可以同时使用 -r 和 -f1 或单独使用 -r 来记录响应文件。
例如,setup.exe -pb -s
例如,setup.exe -s -f1<path\ResponseFile>。
例如,setup.exe -s -f2<path/LogFile.Log>。
除进度条外,在无提示服务器安装期间不显示任何消息,而是由日志文件 SETUP.LOG 来获取安装信息和错误消息(包括安装是否成功)。SETUP.LOG 的缺省位置与响应文件 SETUP.ISS 的缺省位置相同。可以查看 SETUP.LOG 来确定安装结果。
SETUP.LOG 包含下列三个区段: