『第
2 楼』:
自动安装98先准备一个自动应答文件的
98.INF
[BatchSetup]
Version=3.0 (32-bit)
SaveDate=02-22-03
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf
[Setup]
Express=1
InstallDir="C:\Windows"
InstallType=3
ProductKey="QY7TT-VJ7VG-7QPHY-QXHD3-B838Q"
EBD=1
ShowEula=0
ChangeDir=0
OptionalComponents=1
Network=1
System=0
CCP=0
CleanBoot=0
Display=0
DevicePath=0
NoDirWarn=1
TimeZone="China"
Uninstall=0
NoPrompt2Boot=1
[System]
Locale=L0804
SelectedKeyboard=KEYBOARD_00000409
[NameAndOrg]
Name="FastSLZ"
Org="HOME"
Display=0
[Network]
ComputerName="FastSLZ-OEM"
Workgroup="WORKGROUP"
Description="FastSLZ"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=MSTCP
Security=SHARE
[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\Windows\lmhosts"
DHCP=1
DNS=0
WINS=D
[VREDIR]
LogonDomain="china"
ValidatedLogon=0
[OptionalComponents]
"辅助选项"=1
"辅助工具"=0
"公文包"=1
"计算器"=1
"桌面墙纸"=0
"文档模板"=1
"游戏"=1
"映象"=1
"鼠标指针"=1
"画图"=1
"快速查看"=1
"Windows Scripting Host"=1
"写字板"=1
"造字程序"=1
"输入法生成器"=1
"通讯簿"=1
"拨号 ATM 支持"=0
"拨号网络"=1
"拨号网络服务器"=0
"直接电缆连接"=1
"超级终端"=0
"Microsoft Chat 2.5"=0
"NetMeeting"=1
"电话拨号程序"=1
"虚拟专用网络"=0
"棒球"=0
"危险动物"=1
"电脑探密"=0
"丛林"=0
"达芬奇"=0
"更多的 Windows"=1
"神秘之物"=1
"大自然"=0
"科学"=0
"太空"=0
"运动"=0
"六十年代的美国"=0
"黄金时代"=0
"旅行"=0
"水底世界"=1
"Windows 98"=1
"Internet 连接共享"=0
"Microsoft Wallet"=0
"Personal Web Server"=1
"Web 发布向导"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=0
"波罗的海语"=0
"中欧"=0
"西里尔语"=0
"希腊语"=0
"土耳其语"=0
"音频压缩"=1
"CD 播放器"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"多媒体配音方案"=1
"声音采样"=1
"录音机"=1
"视频压缩"=1
"音量控制"=1
"其他屏幕保护程序"=0
"飞行 Windows"=1
"OpenGL 屏幕保护程序"=1
"备份"=1
"字符映射表"=0
"剪贴板查看程序"=1
"磁盘压缩工具"=0
"驱动器转换器(FAT32)"=1
"组策略"=1
"网络监视器"=1
"系统监视器"=1
"系统资源状况"=1
[Printers]
[InstallLocationsMRU]
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Registry.WinUpdate
[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Regwiz 4 %10%\msbatch.inf"
[Run.Installed.Components]
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,,,">Batch 98 - General Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchSetupx,StubPath,,"%25%\rundll.exe setupx.dll,InstallHinfSection Installed.Components.General 4 %10%\msbatch.inf"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,,,"ICW"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\BatchSetupx,StubPath,,"%24%\progra~1\intern~1\connec~1\icwconn1 /restoredesktop
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,,,">Batch 98 - Advanced Settings"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>BatchAdvpack,StubPath,,"%25%\rundll32.exe advpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Advanced"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,,,">Batch 98 - Windows Update"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,IsInstalled,1,01,00,00,00
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,Version,,"3,0,0,0"
HKLM,%KEY_INSTALLEDCOMPS%\>Batchwu,StubPath,,"wupdmgr.exe -shortcut"
[Installed.Components.General]
AddReg=Browser.Settings, Security.Settings
[DelOEdesktop]
setup.ini, progman.groups,, "groupOE=..\..\desktop"
setup.ini, groupOE,, """Outlook Express""" ;deletes icon
[Installed.Components.Advanced]
DelFiles=QuickLaunch.Icons
CustomDestination=Custom.Dest
[Custom.Dest]
49050=QuickLinksLDIDSection,5
[Delete.Welcome]
DelReg=Registry.Welcome
[Registry.Welcome]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Welcome,,
[Delete.Regwiz]
AddReg=Registry.Regwiz
[Registry.Regwiz]
HKLM,Software\Microsoft\Windows\CurrentVersion\Welcome\Regwiz,@,1,01,00,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00
[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDevMgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWindowsUpdate,0x10001,0
[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"http://www.google.com/"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
HKLM,%KEY_IEXPLORERMAIN%,"Search Bar",,"http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch"
HKCU, "SOFTWARE\Microsoft\Internet Explorer\Help_Menu_URLs","Online_Support",,"http://support.microsoft.com/support"
[Security.Settings]
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3",CurrentLevel,1,00,00,01,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4",CurrentLevel,1,00,00,01,00
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
查看频道.scf
[DestinationDirs]
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1
[Strings]
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Components"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main" 然后在DOS下执行
SMARTDRV 4096 2048 /X
X:\SETUP.EXE X:\98.INF /IS /IE
|