找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2150|回复: 1

来自于微软的关于制作win2000oem安装文件的制作说明

[复制链接]
发表于 2005-12-13 10:14:36 | 显示全部楼层 |阅读模式
无人参与安装的应答文件示例
Microsoft? Windows? 2000 无人参与安装使用称为应答文件的 ASCII 文本文件提供数据,否则这些数据就要在您运行安装向导时交互输入。使用无人参与安装选项时,应答文件在 Winnt.exe 或 Winnt32.exe 命令行上指定。(关于何时使用哪个命令行的详细信息,参见本书附录 B“安装命令”。)
本附录包含适合一般安装配置的应答文件示例。可以自定义 Windows 2000 默认应答文件 (Unattend.txt) 或以本附录提供的示例为基础写一个新文件。
本附录内容
应答文件格式
应答文件关键字及其值
应答文件示例
在 Resource Kit (资源工具包) 中的相关信息
* 有关安装命令的详细信息,参见本书附录 B“安装命令”。
应答文件格式
应答文件由节标题、关键字和每个关键字的值组成。大多数节标题是预定义的,但有些也可由用户定义。如果安装程序不需要,就不必在应答文件中指定所有可能的关键字。无效关键字值在安装后会产生错误或导致不正确的操作。文件格式如下:
[section_name]
节包含关键字和这些关键字的相应值。每个关键字和值都由一个空格、一个等号和一个空格隔开。以下是一个示例:
key = value
中间有空格的值通常需要在两边加双引号。以下是一个示例:
key = "value with spaces"
有些节没有关键字而只包含一个值的列表。以下是一个示例:
[OEMBootFiles]
Txtsetup.oem
注释行以分号作为开始。
; This is an example of a comment line.
应答文件关键字及其值
应答文件中的每个关键字必须有赋给它的值,有些关键字是可选项,有些有默认值,这些默认值在关键字被省略时使用。
关键字的值是文本字符串,除非指定成数字。如果指定成数字,这个值是十进制的,除非另有规定。
备注 关键字不分大小写,既可以大写,也可以小写。
关于应答文件关键字及其值的详细信息,参见 Windows 2000 操作系统 CD 中的《Microsoft Windows 2000 Guide to Unattended Setup》(Unattend.doc)。Unattend.doc 文件是 \Support\Tools 文件夹中 Deploy.cab 文件的一部分。在 Windows 98 或 Windows 2000 中,使用 Windows 资源管理器将这个文档解压缩。在 Windows 的更早版本或 MS-DOS 中,使用 Extract 命令访问该文件。
应答文件示例
本节提供的应答文件示例是一些配置中通常使用的关键字的安装配置的举例。这些文件只是些例子,根据您单位的情况做适当的修改。
备注 在下面的应答文件中,使用斜体字部分表明用户必须提供要求的信息。
同时,为引起每个节的注意,节的名称是粗体字;但是在您的应答文件中不必按照这个格式。
示例 1 — 默认 Unattend.txt
以下应答文件是 Windows 2000 CD 上提供的默认 Unattend.txt 文件。
; Microsoft Windows 2000 Professional, Server, Advanced Server
; ? 1994–1999 Microsoft Corporation.All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Professional and Windows 2000 Server so
; that the Setup program runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
OemPreinstall = No
TargetPath = Winnt
Filesystem = LeaveAlone
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid using spaces in the ComputerName
; value.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[GuiUnattended]
; Sets the TimeZone.For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004."Be sure to use the
; numeric value that represents your own time zone.To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "5"
[GuiRunOnce]
; List the programs that you want to start when you log on to the
; computer for the first time.
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 70
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
[Identification]
; Identifies your workgroup. It is recommended that you avoid
; using spaces in this value.
JoinWorkgroup = "YourWorkgroup"
示例 2 — 使用 CD-ROM 的 Windows 2000 Professional 的无人参与安装
以下应答文件从 CD-ROM 安装 Microsoft? Windows? 2000 Professional。要让这个应答文件正常工作,必须把它命名为 Winnt.sif 并拷到软盘上。
; Microsoft Windows 2000 Professional
; ? 1994–1999 Microsoft Corporation.All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Professional so that the Setup program runs
; without requiring user input.
;
[Data]
; This section is required when you perform an unattended installation
; by starting Setup directly from the Windows 2000 installation CD-ROM.
Unattendedinstall = Yes
; If you are running Unattended Setup from the CD-ROM, you must set the
; Msdosinitiated key to 0.
Msdosinitiated = "0"
; AutoPartition allows Windows 2000 Unattended Setup to choose a
; partition to install to.
AutoPartition = 1
[Unattended]
UnattendMode = FullUnattended
; The OemPreinstall key tells Unattended Setup that the installation is
; being performed from distribution shares if the value is set to Yes.
OemPreinstall = Yes
TargetPath = Winpro
FileSystem = LeaveAlone
; If the OemSkipEula key is set to Yes, it informs Unattended Setup that
; the user should not be prompted to accept the End User License
; Agreement (EULA). A value of Yes signifies agreement to the EULA and
; should be used in conjunction with the terms of your license
; agreement.
OemSkipEula = Yes
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
; The OemSkipWelcome key specifies whether the welcome page in the
; wizard phase of Setup should be skipped. A value of 1 causes the page
; to be skipped.
OemSkipWelcome = 1
; The OemSkipRegional key allows Unattended Setup to skip
; RegionalSettings when the final location of the computer is unknown.
OemSkipRegional = 1
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid using spaces in the
; ComputerName value.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 60
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
示例 3 — 安装和配置 Windows 2000 并配置 Microsoft Internet Explorer 的代理设置
以下应答文件安装和配置 Microsoft? Internet Explorer,配置代理设置。
; Microsoft Windows 2000 Professional, Server, Advanced Server
; ? 1994–1999 Microsoft Corporation. All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Professional and Windows 2000 Server so
; that the Setup program runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
TargetPath = Windows
FileSystem = LeaveAlone
OemPreinstall = Yes
OemSkipEula = Yes
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
OemSkipWelcome = 1
; The OemSkipRegional key allows Unattended Setup to skip
; RegionalSettings when the final location of the computer is unknown.
OemSkipRegional = 1
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid using spaces in the
; ComputerName value.
ComputerName = "YourComputername"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "50"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 60
[Components]
; This section contains keys for installing the components of
; Windows 2000. A value of On installs the components, and a
; value of Off prevents the component from being installed.
iis_common = On
iis_inetmgr = Off
iis_www = Off
iis_ftp = Off
iis_htmla = Off
iis_doc = Off
iis_pwmgr = Off
iis_smtp = On
iis_smtp_docs = Off
Mts_core = On
; The Fp key installs Front Page Server Extensions.
Fp = On
Msmq = Off
; If you set the TSEnable key to On, Terminal Services is installed on
; Windows 2000 Server.
TSEnable = On
; If you set the TSClients key to On, the files required to create
; Terminal Services client disks are installed. If you set this key
; to On, you must also set the TSEnable key to On.
TSClients = On
; TSPrinterDrivers and TSKeyboardDrivers are optional keys. If enabled,
; they require additional disk space.
TSPrinterDrivers = Off
TSKeyboardDrivers = Off
Netoc = On
Reminst = On
Certsrv = Off
Rstorage = Off
Indexsrv_system = On
Certsrv_client = Off
Certsrv_server = Off
Certsrv_doc = Off
Accessopt = On
Calc = On
Cdplayer = On
Charmap = On
Chat = Off
Clipbook = On
Deskpaper = On
Dialer = On
Freecell = Off
Hypertrm = On
Media_blindnoisy = On
Media_blindquiet = On
Media_clips = On
Media_jungle = On
Media_musica = On
Media_robotz = On
Media_utopia = On
Minesweeper = Off
Mousepoint = Off
Mplay = On
Mswordpad = On
Objectpkg = On
Paint = On
Pinball = Off
Rec = On
Solitaire = Off
Templates = On
Vol = On
[TapiLocation]
CountryCode = "1"
Dialing = Pulse
; Indicates the area code for your telephone. This value should
; be a 3-digit number.
AreaCode = "Your telephone area code"
LongDistanceAccess = 9
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
[Identification]
JoinDomain = YourCorpNet
DomainAdmin = YourCorpAdmin
DomainAdminPassword = YourAdminPassword
[NetOptionalComponents]
; This section contains a list of the optional network
; components to install.
Wins = Off
Dns = Off
Dhcpserver = Off
ils = Off
Snmp = Off
Lpdsvc = Off
Simptcp = Off
Netmontools = On
Dsmigrat = Off
[Branding]
; This section brands Microsoft Internet Explorer with custom
; properties from the Unattended answer file.
BrandIEUsingUnattended = Yes
[URL]
; This section contains custom URL settings for Microsoft
; Internet Explorer. If these settings are not present, the
; default settings are used. Specifies the URL for the
; browser';s default home page. For example, you might use the
; following: Home_Page = www.microsoft.com.
Home_Page = YourHomePageURL
; Specifies the URL for the default search page. For example, you might
; use the following: Search Page = www.msn.com
Search_Page = YourSearchPageURL
; Specifies a shortcut name in the link folder of Favorites.
; For example, you might use the following: Quick_Link_1_Name =
; "Microsoft Product Support Services"
Quick_Link_1_Name = "Your Quick Link Name"
; Specifies a shortcut URL in the link folder of Favorites. For example,
; you might use this: Quick_Link_1 = http://support.microsoft.com/.
Quick_Link_1 = YourQuickLinkURL
[Proxy]
; This section contains custom proxy settings for Microsoft
; Internet Explorer. If these settings are not present, the default
; settings are used. If proxysrv:80 is not accurate for your
; configuration, be sure to replace the proxy server and port number
; with your own parameters.
HTTP_Proxy_Server = proxysrv:80
Use_Same_Proxy = 1
Proxy_Enable = 1
Proxy_Override = <local>
示例 4 — 安装和配置带两个网卡的 Windows 2000 Server
以下应答文件安装带两个网卡的 Microsoft? Windows? 2000 Server;一个网卡使用动态主机配置协议 (DHCP),另一个使用静态信息。
; Microsoft Windows 2000 Server, Advanced Server
; ? 1994–1999 Microsoft Corporation. All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Server or Windows 2000 Advanced Server so
; that the Setup program runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
TargetPath = Winnt
Filesystem = ConvertNTFS
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "50"
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid the use of spaces in the
; ComputerName value.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 70
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
[Identification]
JoinDomain = YourCorpNet
DomainAdmin = YourCorpAdmin
DomainAdminPassword = YourAdminPassword
[NetAdapters]
; In this example, there are two network adapters, Adapter01
; and Adapter02. Note that the adapter specified here as 01 is not
; always local area network (LAN) connection 1 in the user interface.
Adapter01 = Params.Adapter01
Adapter02 = Params.Adapter02
[Params.Adapter01]
; Specifies which adapter is number one. Note that the InfID key
; must match a valid PNP ID in the system. For example, a valid
; PNP ID might look like the following: InfID = "pci\ven_0e11&dev_ae32"
InfID = "Your_PNP_ID_for_Adapter01"
[Params.Adapter02]
; Specifies which adapter is number two. Note that the InfID key must
; match a valid PNP ID in the system. For example, a valid PNP ID
; might look as follows: InfID = "pci\ven_8086&dev_1229&subsys_00018086"
InfID = " Your_PNP_ID_for_Adapter02"
[NetClients]
; Installs the Client for Microsoft Networks.
MS_MSClient = params.MS_MSClient
[Params.MS_MSClient]
[NetProtocols]
; Installs only the TCP/IP protocol.
MS_TCPIP = params.MS_TCPIP
[params.MS_TCPIP]
; This section configures the TCP/IP properties.
AdapterSections = Params.MS_TCPIP.Adapter01,params.MS_TCPIP.Adapter02
[Params.MS_TCPIP.Adapter01]
; Adapter01 uses DHCP server information.
SpecificTo = Adapter01
DHCP = Yes
Wins = Yes
[Params.MS_TCPIP.Adapter02]
; Adapter02 uses static TCP/IP configuration.
SpecificTo = Adapter02
IPAddress = 1.1.1.1
SubnetMask = 255.255.248.0
DefaultGateway = 2.2.2.2
DHCP = No
Wins = No
[NetServices]
; Install File and Print services.
MS_Server = Params.MS_Server
[Params.MS_Server]
示例 5 — 安装带网络负载平衡的 Windows 2000 Advanced Server
以下应答文件安装带网络负载平衡的 Microsoft? Windows? 2000 Advanced Server。
; Microsoft Windows 2000 Advanced Server
; ? 1994–1999 Microsoft Corporation. All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Advanced Server so that the
; Setup program runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
TargetPath = Windows
FileSystem = ConvertNTFS
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
AdvServerType = Servernt
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "50"
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid the use of spaces in the
; COMPUTERNAME VALUE.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 70
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents=Yes
[Identification]
JoinDomain = YourCorpNet
DomainAdmin = YourCorpAdmin
DomainAdminPassword = Your AdminPassword
[NetAdapters]
; In this example, there are two network adapters, Adapter01
; and Adapter02. Note that the adapter specified here as 01 is not
; always local area network (LAN) connection 1 in the user interface.
; The network adapters in this example are not identical.
Adapter01 = Params.Adapter01
Adapter02 = Params.Adapter02
[NetBindings]
Enable = MS_WLBS, Adapter01
Enable = MS_TCPIP, Adapter02
[Params.Adapter01]
; Specifies which adapter is number one.
PseudoAdapter = No
PreUpgradeInstance = E100B1
; Note that the InfID key must match a valid PNP ID in the
; system. For example, a valid PNP ID might look like the
; following: InfID = PCI\VEN_8086&DEV_1229.
InfID = Your_PNP_ID_for_Adapter01
BusType = PCI
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = "Connection1"
[Params.Adapter02]
; Specifies which adapter is number two.
PseudoAdapter = No
PreUpgradeInstance = El90x2
; Note that the InfID key must match a valid PNP ID in the
; system. For example, a valid PNP ID might look like the
; following: InfID = PCI\VEN_10b7&DEV_9050
InfID = Your_PNP_ID_for_Adapter02
BusType = PCI
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = "Connection2"
[NetProtocols]
MS_TCPIP = Params.MS_TCPIP
MS_NetMon = Params.MS_NetMon
[Params.MS_TCPIP]
AdapterSections = params.MS_TCPIP.Adapter01,params.MS_TCPIP.Adapter02
[Params.MS_TCPIP.Adapter01]
SpecificTo = Adapter01
DNSServerSearchOrder = 192.31.56.150
Wins = Yes
WinsServerList = 192.31.56.150
NetBIOSOptions = 0
DHCP = No
IPAddress = 192.31.56.90,192.31.56.91
SubnetMask = 255.255.255.0,255.255.255.0
DefaultGateway = 192.31.56.150
[Params.MS_TCPIP.Adapter02]
SpecificTo = Adapter02
DNSServerSearchOrder = 192.31.56.150
Wins = Yes
WinsServerList = 192.31.56.150
NetBIOSOptions = 0
DHCP = No
IPAddress = 192.31.56.92
SubnetMask = 255.255.255.0
DefaultGateway = 192.31.56.150
[Params.MS_NetMon]
[Params.MS_WLBS]
; This section contains keys specific to setting the properties of
; Network Load Balancing.
HostPriority = 1
ClusterModeOnStart = 0
ClusterIPAddress = 192.31.56.91
ClusterNetworkMask = 255.255.255.0
DedicatedIPAddress = 192.31.56.90
DedicatedNetworkMask = 255.255.255.0
ClusterName = cluster.domain.com
MulticastSupportEnable = 0
MaskSourceMAC = 1
RemoteControlCode = 0x00000000
RemoteControlUDPPort = 2504
RemoteControlEnabled = 1
Ports = 80,80,Both,Multiple,None,Equal,443,443,Both,Multiple,Single,Equal
AliveMsgPeriod = 2000
AliveMsgTolerance = 10
NumActions = 50
NumPackets = 100
NumAliveMsgs = 10
DescriptorsPerAlloc = 512
MaxDescriptorAllocs = 512
ConnectionCleanupDelay = 300000
NBTSupportEnable = 1
[NetClients]
MS_MSClient = Params.MS_Client
[Params.MS_Client]
[NetServices]
MS_Server = Params.MS_Server
MS_WLBS = Params.MS_WLBS
[Params.MS_Server]
Optimizations = Balance
[NetOptionalComponents]
Netmontools = 1
示例 6 — 安装带 Windows 群集的 Windows 2000 Advanced Server
以下应答文件安装带 Windows 群集的 Windows 2000 Advanced Server。
; Microsoft Windows 2000 Advanced Server.
; ? 1994–1999 Microsoft Corporation. All rights reserved.
;
; Sample Answer File for Unattended Setup
;
; This file contains information about how to automate the installation
; or upgrade of Windows 2000 Advanced Server so that the Setup program
; runs without requiring user input.
;
[Unattended]
UnattendMode = FullUnattended
TargetPath = Advsrv
FileSystem = ConvertNTFS
OemPreinstall = Yes
OemSkipEula = Yes
[GuiUnattended]
; Sets the TimeZone. For example, to set the TimeZone for the
; Pacific Northwest, use a value of "004." Be sure to use the
; numeric value that represents your own time zone. To look up
; a numeric value, see the Unattend.doc file on the Windows 2000 CD.
TimeZone = "YourTimeZone"
; It is recommended that you change the administrator password
; before the computer is placed at its final destination.
AdminPassword = AdminPassword
; Tells Unattended Setup to turn AutoLogon on and log on once.
AutoLogon = Yes
AutoLogonCount = 1
AdvServerType = Servernt
OemSkipWelcome = 1
; The OemSkipRegional key allows Unattended Setup to skip
; RegionalSettings when the final location of the computer is unknown.
OemSkipRegional = 1
[LicenseFilePrintData]
; This section is used for server installs.
AutoMode = "PerServer"
AutoUsers = "50"
[UserData]
FullName = "Your user name"
OrgName = "Your organization name"
; It is recommended that you avoid the use of spaces in the
; ComputerName value.
ComputerName = "YourComputer_name"
; To ensure a fully unattended installation, you must provide a value
; for the ProductId key.
ProductId = "Your product ID"
[Display]
BitsPerPel = 8
XResolution = 800
YResolution = 600
VRefresh = 70
[Networking]
; When you set the value of the InstallDefaultComponents key
; to Yes, Setup will install default networking components.
; The components to be set are TCP/IP, File and Print Sharing,
; and Client for Microsoft Networks.
InstallDefaultComponents = Yes
[Identification]
JoinDomain = YourCorpNet
DomainAdmin = YourCorpAdmin
DomainAdminPassword = YourAdminPassword
[NetAdapters]
; In this example there are three network adapters, Adapter 01,
; Adapter 02, and Adapter 03. The adapter specified here as 01 is not
; always LAN connection 1 in the user interface. The network adapters
; in this example are not identical.
Adapter01 = Params.Adapter01
Adapter02 = Params.Adapter02
Adapter03 = Params.Adapter03
[Params.Adapter01]
; Specifies which adapter is number one.
; Note that the NetCardAddress key must match a valid address of the
; adapter in the system. For example, a valid address might look like
; the following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = CorpNet
[Params.Adapter02]
; Specifies which adapter is number two. Note that the
; NetCardAddress key must match a valid address of the adapter
; in the system. For example, a valid address might look like the
; following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = VendorNet
[Params.Adapter03]
; Specifies which adapter is number three. Note that the
; NetCardAddress key must match a valid address of the adapter
; in the system. For example, a valid address might look like the
; following: NetCardAddress = 0x00C04F778A5A
NetCardAddress = YourNetCardAddress
; The ConnectionName key specifies the name for the network connection
; associated with the network adapter that you are installing.
ConnectionName = PrivateNet
[NetClients]
; Installs the Client for Microsoft Networks.
MS_MSClient = Params.MS_MSClient
[Params.MS_MSClient]
[NetProtocols]
; Installs only the TCP/IP protocol.
MS_TCPIP = Params.MS_TCPIP
[Params.MS_TCPIP]
; This section configures TCP/IP properties.
AdapterSections = Params.MS_TCPIP.Adapter01,params.MS_TCPIP.Adapter02,params.MS_TCPIP.Adapter03
[Params.MS_TCPIP.Adapter01]
; CorpNet on Adapter01 uses DHCP server information.
SpecificTo = Adapter01
DHCP = Yes
DNSServerSearchOrder = 172.31.240.226, 172.31.240.225
DNSSuffixSearchOrder = CorpNet, dns.domain.com
DNSDomain = CorpNet
[Params.MS_TCPIP.Adapter02]
; VendorNet on Adapter02 uses local DHCP information.
SpecificTo = Adapter02
DHCP = Yes
[Params.MS_TCPIP.Adapter03]
; PrivateNet on Adapter03 uses static information.
SpecificTo = Adapter03
DHCP = No
WINS = No
IPAddress = 10.2.0.41
SubnetMask = 255.255.0.0
DefaultGateway = 2.2.2.2
DNSServerSearchOrder = 10.2.0.253, 10.2.0.254
[NetServices]
; Installs File and Print services.
MS_Server = Params.MS_Server
[Params.MS_Server]
[Components]
; Installs Windows Clustering and Administration components on
; Advanced Server when you set the value to On.
Cluster = On
[Cluster]
Name = CorpCluster
Action = Form
Account = CorpAdmin
Domain = CorpNet
IPAddr = 172.31.240.227
Subnet = 255.255.248.0
Network = CorpNet,ALL
Network = VendorNet,ALL
[GuiRunOnce]
; You can automate the running of Cluscfg.exe by placing Cluscfg.exe
; in the [GuiRunOnce] section of the Unattended answer file. This
; executes Cluscfg.exe and configures clustering on the first startup
; after GUI mode Setup has completed.
; You must include the full path to the program between the quotes.
"%Windir%\Cluster\Cluscfg.exe –unattend"
[NetOptionalComponents]
NETMONTOOLS = 1
发表于 2005-12-14 08:35:09 | 显示全部楼层

来自于微软的关于制作win2000oem安装文件的制作说明

不错,可供参考.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1|闽公网安备35020302032614号 )

GMT+8, 2026-4-16 19:42

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表