無人值守安裝IIS 6.0的原理分析
基本命令:
Sysocmgr.exe /i:sysoc.inf /u:c:\iis.txt
c:\iis.txt是IIS要安裝的組件列表
[Components] iis_common = ON iis_www = ON iis_asp = ON iis_inetmgr = ON aspnet= ON
包括IIS組件在內(nèi)的所有組件列表:
Mplay
Rec
Vol
fullscreenconsole
fax
wms_admin_mmc
wms_svrtyplib
wbem
dtc
com
complusnetwork
iis_common:CommonFiles - 安裝需要 IIS 程序文件
iis_inetmgr:Internet 信息服務(wù)管理單元: MMC 中安裝 IIS 管理界面
netfx
iis_www:萬維網(wǎng)服務(wù)
wms_admin_asp
wms_server
wms_isapi
rootautoupdate
autoupdate
licenseserver
certsrv_client
certsrv_server
authman
cluster
ieaccess
iehardenadmin
iehardenuser
msmq_core
msmq_localstorage
msmq_adintegrated
msmq_mqdsservice
msmq_triggersservice
msmq_httpsupport
msmq_routingsupport
bitsserverextensionsmanager:安裝 BITS 管理擴展中 Microsoft 管理控制臺 (MMC)
bitsserverextensionsisapi:安裝 IIS ISAPI 以允許上載后臺智能傳輸服務(wù) (BITS)
sakit_web
iis_asp
iis_internetdataconnector
iis_serversideincludes
iis_webdav
tswebclient:遠程桌面 Web 連接
iis_ftp:FTP 服務(wù)
iis_smtp:簡單郵件傳輸協(xié)議 (SMTP) 服務(wù)
iis_nntp:網(wǎng)絡(luò)新聞傳輸協(xié)議 (NNTP) 服務(wù)
inetprint:Internet 打印
fp_extensions:FrontPage2002ServerExtensions
appsrv_console
dtcnetwork
aspnet Asp.Net
oeaccess
mswordpad
calc
charmap
clipbook
deskpaper
mousepoint
paint
templates
imegen
chat
hypertrm
accessopt
rstorage
indexsrv_system
uddiweb
uddidatabase
uddiadmin
terminalserver
wbemmsi
snmp
wbemsnmp
netmontools
netcmak
netcps
wins
dns
dhcpserver
simptcp
ias
netcis
macprint
macsrv
lpdsvc
reminst
pop3service
pop3admin
display
ntcomponents
WMPOCM
k
scw
computeserver
netrqs
storageserver
注意:
Windows 總是尋找服務(wù)器最初安裝該媒體。 如果從 CD, 安裝服務(wù)器無人參與安裝提示對于 Windows CD。 如果要運行無人參與安裝并使用媒體, 并存儲在網(wǎng)絡(luò)共享, 必須更改為以下注冊表子項中 ServicePackSourcePath 子項 SourcePath 子項和值:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup
更改用于 ServicePackSourcePath 子項 SourcePath 子項和值對合適網(wǎng)絡(luò)共享。 路徑必須包含 i 386 文件夾。
下面是一個完整的IIS安裝文件:IISSetup.bat
第一步:更改windows安裝文件位置
第二步:生成安裝選項文件
第三步:開始安裝
echo "更改windows安裝文件的路徑" echo Windows Registry Editor Version 5.00 > c:\setupreg.reg echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup] >> c:\setupreg.reg echo "ServicePackSourcePath"="D:\\Win2003\\" >> c:\Win2003setupPath.reg echo "SourcePath"="D:\\Win2003\\" >> c:\Win2003setupPath.reg regedit /S c:\Win2003setupPath.reg del c:\Win2003setupPath.reg echo "生成IIS無人值守安裝選項文件" echo [Components] > c:\iis.txt echo iis_common = ON >> c:\iis.txt echo iis_www = ON >> c:\iis.txt echo iis_asp = ON >> c:\iis.txt echo iis_inetmgr = ON >> c:\iis.txt echo aspnet= ON >> c:\iis.txt Sysocmgr.exe /i:sysoc.inf /u:c:\iis.txt del c:\iis.txt echo IIS安裝完畢 pause
到此這篇關(guān)于無人值守安裝IIS 6.0的原理分析的文章就介紹到這了,更多相關(guān)iis內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家!
相關(guān)文章
windows server 2008 阻止惡意插件程序下載安裝到系統(tǒng)中
這篇文章主要介紹了windows server 2008 阻止惡意插件程序下載安裝到系統(tǒng)中,需要的朋友可以參考下2017-04-04WIN2008 R2 Active Directory 之二 部署企業(yè)中Windows Server 2008 R2額外
通過部署企業(yè)中第一臺Windows Server 2008 R2域控制器已經(jīng)完成了企業(yè)中Windows網(wǎng)絡(luò)域森林的建立。但是,在企業(yè)中對于AD來講,為了保證安全穩(wěn)定運行,至少需要兩臺以上的物理域控制器2013-06-06Windows服務(wù)器系統(tǒng)服務(wù)端口對照表
這篇文章主要介紹了Windows服務(wù)器系統(tǒng)服務(wù)端口對照表,需要的朋友可以參考下2014-03-03Windows服務(wù)器關(guān)閉當(dāng)先安全設(shè)置不允許下載該文件的解決方法
這篇文章主要介紹了Windows服務(wù)器關(guān)閉當(dāng)先安全設(shè)置不允許下載該文件的解決方法,需要的朋友可以參考下2016-06-06Winows Server 2019 激活碼&批量授權(quán)版KMS安裝密鑰GVLK
這篇文章主要介紹了Winows Server 2019 激活碼&批量授權(quán)版KMS安裝密鑰GVLK,本文給大家介紹的非常詳細,具有一定的參考借鑒價值,需要的朋友可以參考下2019-06-06