安装


使用无提示服务器安装方法在 Windows 系统上安装 Domino
使用 Domino 的无提示服务器安装方法安装本地服务器或远程服务器时,安装过程无需人工干预。这种安装既不需要监控安装,也不需要通过典型安装对话框提供附加输入。

在 Windows 系统上运行 Domino 的无提示服务器安装之前,请执行下列操作:

在 Win32 系统上运行无提示服务器安装

运行无提示服务器安装包括两个步骤。

1. 创建或记录响应文件,该文件中包含安装配置信息。

2. 引用响应文件,以“重放模式”运行安装。

创建无提示服务器安装的响应文件

典型(非无提示)安装在安装期间使用对话框来接收输入内容。无提示(自动)服务器安装从 InstallShield Silent 响应文件 (*.iss) 接收输入内容,而不会提示您进行输入操作。该响应文件是一个纯文本文件,由多个包含数据项的区段组成。该文件格式与 *.ini 文件类似。可以手动创建 ISS 响应文件,也可以通过记录服务器安装并将记录内容保存在响应文件中来创建 ISS 响应文件。

记录响应文件

请通过如下带有命令行参数 -r 的命令运行服务器安装:


InstallShield 将您的安装选择记录在 SETUP.ISS 文件中,并将该文件置于 C:\WINNT 文件夹下。通过 梤 开关运行 SETUP.EXE 时,该安装程序的对话框功能用于将值写入 SETUP.ISS 文件中。

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]

Result=1

# 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

Result=1

# 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

Result=1

# 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

Result=1

# 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

Result=1

# 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]

Result=1

BootOption=0

在 Win32 系统上运行无提示服务器安装

要为 Lotus Domino 自动化安装创建响应文件,必须将命令行参数传送到 SETUP.EXE。步骤 2 的表中列出并解释了命令行参数。

创建响应文件后,请执行 Domino 服务器无提示安装。

1. 将 SETUP.ISS 文件拷贝到包含 SETUP.EXE 文件的文件夹中。

2. 通过下表所示的任一个命令行参数启动服务器安装。
参数描述和示例
-s运行基本无提示服务器安装。

例如,setup.exe -s。

注意 可以同时使用 -s 和 -f1 或单独使用 -s 来运行无提示安装。

-r响应文件中的记录,您所使用的所有安装程序选择。缺省情况下,响应文件是 Windows 目录中存储的 SETUP.ISS。

例如,setup.exe -r。

注意 可以同时使用 -r 和 -f1 或单独使用 -r 来记录响应文件。

-pb要在安装期间查看进度条,请使用 -pb 开关。

例如,setup.exe -pb -s

-f1要指定等价场所和响应文件名(.iss 文件),请使用 -f1 开关。如果使用该开关,则从 <path\ResponseFile> 中指定的文件夹/文件读取响应文件。

例如,setup.exe -s -f1<path\ResponseFile>。

-f2指定无提示安装所创建的日志文件的等价场所和等价名称。缺省情况下,在 SETUP.EXE 的同一目录中创建和存储文件 SETUP.LOG。

例如,setup.exe -s -f2<path/LogFile.Log>。

SMS要避免网络连接和文件 SETUP.EXE 在无提示安装完成之前关闭,请使用 SMS 开关。SMS 开关适用于通过网络从 Windows NT 服务器启动的安装。SMS 是区分大小写的开关,只能以大写字符输入。

日志文件

除进度条外,在无提示服务器安装期间不显示任何消息,而是由日志文件 SETUP.LOG 来获取安装信息和错误消息(包括安装是否成功)。SETUP.LOG 的缺省位置与响应文件 SETUP.ISS 的缺省位置相同。可以查看 SETUP.LOG 来确定安装结果。

SETUP.LOG 包含下列三个区段:

另请参阅