精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● Windows>>【系统安装与设置】>>【系统安装】>>Win98批处理安装的制作

主题:Win98批处理安装的制作
发信人: kingron()
整理人: saintrobust(2000-10-14 16:21:56), 站内信件
【 在 hhan (涵涵) 的大作中提到: 】
: 应该没这回事!有的只是通过修改.inf文件可以免敲cdkey

【 在 michelqu (<h3><marquee>ET) 的大作中提到: 】
没有,不过你可以制作一个安装批处理文件,在其中输入序列号,那么以后安装
Win98就方便很多!生成批处理的程序为MsBatch98,在Win98全版的光盘上就有,
如果找不到,可以将下列内容存为一个.inf文件如Msbacth.inf,安装时使用参数
Setup /is /ir /im /id msbatch.inf可以进行无照看安装,就是说,输入上述命
令后,你就可以去逛大街,回来后,Win98就安装好了。
内容如下:
; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;

[BatchSetup]
Version=3.0 (32-bit)
SaveDate=09-03-00

[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf

[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="QY7TT-VJ7VG-7QPHY-QXHD3-B838Q"
EBD=0
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="金龙"
Org="互联网络--网易"
Display=0

[Network]
ComputerName="Kingron"
Workgroup="Domain"
Description="Kingron's Computer"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=NWLINK, MSTCP
Services=VSERVER
Security=SHARE

[NWLINK]
Frame_Type=4

[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
DNS=0
WINS=D

[VREDIR]
LogonDomain="Domain"
ValidatedLogon=0

[VSERVER]
LMAnnounce=0
MaintainServerList=2

[OptionalComponents]
"辅助选项"=0
"辅助工具"=0
"公文包"=0
"计算器"=1
"桌面墙纸"=0
"文档模板"=0
"游戏"=0
"映象"=1
"鼠标指针"=0
"画图"=1
"快速查看"=1
"Windows Scripting Host"=0
"写字板"=1
"造字程序"=1
"输入法生成器"=0
"拨号网络"=0
"拨号网络服务器"=0
"直接电缆连接"=0
"超级终端"=0
"Microsoft Chat 2.1"=0
"Microsoft NetMeeting"=0
"电话拨号程序"=0
"虚拟专用网络"=0
"棒球"=0
"危险动物"=0
"电脑探密"=0
"丛林"=0
"达芬奇"=0
"更多的 Windows"=0
"神秘之物"=0
"大自然"=0
"科学"=0
"太空"=0
"运动"=0
"六十年代的美国"=0
"黄金时代"=0
"旅行"=0
"水底世界"=0
"Windows 98"=0
"Microsoft FrontPage Express"=0
"Microsoft VRML 2.0 浏览器"=0
"Microsoft Wallet"=0
"Personal Web Server"=1
"Real Audio Player 4.0"=0
"Web 发布向导"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=0
"波罗的海语"=0
"中欧"=0
"西里尔语"=0
"希腊语"=0
"土耳其语"=0
"音频压缩"=1
"CD 播放器"=1
"Macromedia Shockwave Director"=0
"Macromedia Shockwave Flash"=1
"媒体播放机"=0
"Microsoft NetShow Player 2.0"=0
"多媒体配音方案"=0
"声音采样"=1
"录音机"=1
"视频压缩"=1
"音量控制"=1
"其他屏幕保护程序"=0
"飞行 Windows"=0
"OpenGL 屏幕保护程序"=0
"备份"=1
"字符映射表"=1
"剪贴板查看程序"=0
"磁盘压缩工具"=0
"驱动器转换器(FAT32)"=0
"组策略"=0
"网络监视器"=0
"系统监视器"=0
"系统资源状况"=0

[Printers]

[InstallLocationsMRU]
"F:\BackUp\TNT2W9X\"

[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,
Registry.WinUpdate

[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfS
ection Delete.MSN.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfS
ection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun3,,"%25%\rundll.exe setupx.dll,InstallHinfS
ection 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 setu
px.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 Settin
gs"
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 a
dvpack.dll,LaunchINFSection %10%\msbatch.inf,Installed.Components.Adva
nced"
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, Shell.Prep
BitReg=Shell.Settings
UpdateInis=DelOEQuick.Links

[DelOEQuick.Links]
setup.ini, progman.groups,, "groupQL=..\..\Applic~1\Micros~1\Intern~1\
Quickl~1"
setup.ini, groupQL,, """Launch Outlook Express"""                ;dele
tes link

[DelOEdesktop]
setup.ini, progman.groups,, "groupOE=..\..\desktop"
setup.ini, groupOE,, """Outlook Express"""                ;deletes ico
n

[Installed.Components.Advanced]
DelFiles=OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup

[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5

[Delete.MSN.Icon]
DelReg=MSN.Icon

[MSN.Icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSp
ace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,

[DesktopLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
",Desktop,OLSFolder,"%25%\Desktop"

[OLS.Icons]
americ~1.lnk
at&two~1.lnk
compus~1.lnk
prodig~1.lnk
themic~1.lnk
aboutt~1.lnk
abouto~1.txt
services.txt

[DirCleanup]
rundll32.exe advpack.dll,DelNodeRunDLL32 %49070%\%OnlineLong%

[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,0
0,00,00
HKLM,Software\Microsoft\Windows\CurrentVersion,RegDone,1,01,00,00,00

[Registry.WinUpdate]
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoDev
MgrUpdate,0x10001,0
HKLM,Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,NoWin
dowsUpdate,0x10001,0

[Browser.Settings]
HKCU,%KEY_IEXPLORERMAIN%,"Start Page",,"about:blank"
HKCU,%KEY_IEXPLORERMAIN%,"First Home Page",,"http://home.microsoft.com
/runonce.asp"
HKCU,%KEY_IEXPLORERMAIN%,"Search Page",,"http://www.microsoft.com/isap
i/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_Su
pport",,"http://support.microsoft.com/support"

[Shell.Prep]
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,IconUnderline,
1,02,00,00,00

[Shell.Settings]
HKCU,Software\Microsoft\Windows\CurrentVersion\Explorer,IconUnderline,
1,01,0

[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
",AppData,QuickLaunch,"%25%\Application Data"

[QuickLaunch.Icons]
显示桌面.scf
查看频道.scf

[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatch
Setup,,1

[DestinationDirs]
OLS.Icons=49070,Online~1
QuickLaunch.Icons=49050,Micros~1\Intern~1\QuickL~1

[Strings]
KEY_RUNONCE="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
KEY_INSTALLEDCOMPS="SOFTWARE\Microsoft\Active Setup\Installed Componen
ts"
OnlineLong="Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"







--
[email protected]
     【  
◎■■■■】〓〓〓〓〓〓〓〓〓〓>  
         【  

※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 61.137.68.216]

[关闭][返回]