Board logo

标题: 版主请看一下,怎么样才能全自动安装Win98? [打印本页]

作者: 网上游    时间: 2003-11-30 08:36     标题: 版主请看一下,怎么样才能全自动安装Win98?

[这个贴子最后由网上游在 2003/11/30 01:24pm 第 2 次编辑]

我做了一张98+Me+2000的三合一光盘,其中98和ME的安装引导IMG中的Autoexec.bat文件的安装命令如下:setup.exe /is /id /iw /ie /iv /p j,WinMe安装时是全自动的,但Win98却到如图的这一步就停了下来,要按几次回车键才能继续,各位高手看一下,是还有什么地方做得不对吗?
msbatch.inf文件已经放到win98文件夹下,autoexec.bat、config.sys和msbatch.inf的内容如下。
autoexec.bat:
@ECHO OFF
set EXPAND=YES
SET DIRCMD=/O:N
set LglDrv=27 * 26 Z 25 Y 24 X 23 W 22 V 21 U 20 T 19 S 18 R 17 Q 16 P 15
set LglDrv=%LglDrv% O 14 N 13 M 12 L 11 K 10 J 9 I 8 H 7 G 6 F 5 E 4 D 3 C
cls
call setramd.bat %LglDrv%
set temp=c:\
set tmp=c:\
path=%RAMD%:\;a:\;%CDROM%:\
copy command.com %RAMD%:\ > NUL
set comspec=%RAMD%:\command.com
copy extract.exe %RAMD%:\ > NUL
copy readme.txt %RAMD%:\ > NUL
:ERROR
IF EXIST ebd.cab GOTO EXT
echo Please insert Windows 98 Startup Disk 2
echo.
pause
GOTO ERROR
:EXT
%RAMD%:\extract /y /e /l %RAMD%: ebd.cab > NUL
echo The diagnostic tools were successfully loaded to drive %RAMD%.
echo.
IF "%config%"=="NOCD" GOTO QUIT
IF "%config%"=="HELP" GOTO HELP
LH %ramd%:\MSCDEX.EXE /D:mscd001 /L:%CDROM%
echo.
GOTO QUIT
:HELP
cls
call help.bat
echo Your computer will now restart and the startup menu will appear.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
restart.com
GOTO QUIT
:QUIT
echo To get help, type HELP and press ENTER.
echo.
rem clean up environment variables
format c:/q /autotest
%CDROM%:\win98\setup.exe /is /id /iw /ie /iv /p j
set CDROM=
set LglDrv=
config.sys:
[menu]
menuitem=CD, Setup windows 98 from CD-ROM.
menuitem=NOCD, Start computer without CD-ROM support.
menuitem=HELP, View the Help file.
menudefault=CD,0
menucolor=7,0
[CD]
device=himem.sys /testmem:off
device=oakcdrom.sys /D:mscd001
device=btdosm.sys
device=flashpt.sys
device=btcdrom.sys /D:mscd001
device=aspi2dos.sys
device=aspi8dos.sys
device=aspi4dos.sys
device=aspi8u2.sys
device=aspicd.sys /D:mscd001
[NOCD]
device=himem.sys /testmem:off
[HELP]
device=himem.sys /testmem:off
[COMMON]
files=10
buffers=10
dos=high,umb
stacks=9,256
devicehigh=ramdrive.sys /E 2048
lastdrive=z
msbatch.inf:
; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]
Version=3.0 (32-bit)
SaveDate=07-12-03
[Version]
Signature = "$CHICAGO$"
AdvancedINF=2.5
LayoutFile=layout.inf
[Setup]
Express=1
InstallDir="c:\windows"
InstallType=3
ProductKey="WHWGP-XDR8Y-GR9X3-863RP-67J2T"
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="windows"
Org="microsoft"
Display=0
[Network]
ComputerName="L3Y2W4"
Workgroup="WORKGROUP"
Display=0
PrimaryLogon=Windows
Clients=VREDIR
Protocols=MSTCP
Security=SHARE
[MSTCP]
LMHOSTS=1
LMHOSTPath="C:\WINDOWS\lmhosts"
DHCP=1
DNS=0
WINS=D
[OptionalComponents]
"辅助选项"=1
"辅助工具"=0
"公文包"=0
"计算器"=1
"桌面墙纸"=0
"文档模板"=1
"游戏"=0
"映象"=1
"鼠标指针"=0
"画图"=1
"快速查看"=0
"Windows Scripting Host"=1
"写字板"=1
"造字程序"=1
"输入法生成器"=0
"通讯簿"=1
"拨号 ATM 支持"=0
"拨号网络"=1
"拨号网络服务器"=0
"直接电缆连接"=0
"超级终端"=0
"Microsoft Chat 2.5"=0
"NetMeeting"=1
"电话拨号程序"=0
"虚拟专用网络"=0
"棒球"=0
"危险动物"=0
"电脑探密"=0
"丛林"=0
"达芬奇"=0
"更多的 Windows"=0
"神秘之物"=0
"大自然"=0
"科学"=0
"太空"=0
"运动"=0
"六十年代的美国"=0
"黄金时代"=0
"旅行"=0
"水底世界"=0
"Windows 98"=0
"Internet 连接共享"=0
"Microsoft Wallet"=0
"Personal Web Server"=1
"Web 发布向导"=0
"Web-Based Enterprise Mgmt"=0
"Microsoft Outlook Express"=1
"波罗的海语"=0
"中欧"=0
"西里尔语"=0
"希腊语"=0
"土耳其语"=0
"音频压缩"=1
"CD 播放器"=1
"Macromedia Shockwave Director"=1
"Macromedia Shockwave Flash"=1
"多媒体配音方案"=0
"声音采样"=0
"录音机"=1
"视频压缩"=1
"音量控制"=1
"其他屏幕保护程序"=0
"飞行 Windows"=1
"OpenGL 屏幕保护程序"=1
"备份"=0
"字符映射表"=0
"剪贴板查看程序"=0
"磁盘压缩工具"=0
"驱动器转换器(FAT32)"=0
"组策略"=0
"网络监视器"=0
"系统监视器"=0
"系统资源状况"=0
[Printers]
[InstallLocationsMRU]
[Install]
AddReg=RunOnce.BatchDelay,Run.Installed.Components,Skip.PCMCIA.Wizard,Registry.WinUpdate
[RunOnce.BatchDelay]
HKLM,%KEY_RUNONCE%,BatchRun1,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.MSN.Icon 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun2,,"%25%\rundll.exe setupx.dll,InstallHinfSection Delete.Welcome 4 %10%\msbatch.inf"
HKLM,%KEY_RUNONCE%,BatchRun3,,"%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, Shell.Prep
BitReg=Shell.Settings
[Installed.Components.Advanced]
DelFiles=QuickLaunch.Icons
CustomDestination=Custom.Dest
[Custom.Dest]
49050=QuickLinksLDIDSection,5
[Delete.MSN.Icon]
DelReg=MSN.Icon
[MSN.Icon]
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\explorer\Desktop\NameSpace\{4B876A40-4EE8-11D1-811E-00C04FB98EEC},,,
[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.gz163.cn"
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"
[Shell.Prep]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,01,00,00,00
HKCU,"Software\Microsoft\Internet Explorer\main",Show_ChannelBand,0,"no"
[Shell.Settings]
HKCU,"Software\Microsoft\Internet Explorer\Desktop\Components\0",Flags,0,20,1
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
查看频道.scf
[Skip.PCMCIA.Wizard]
HKLM,System\CurrentControlSet\Services\Class\PCMCIA,SkipWizardForBatchSetup,,1
[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"


作者: 网上游    时间: 2003-11-30 08:38     标题: 版主请看一下,怎么样才能全自动安装Win98?

这是第二次要按回车的地方:
作者: 网上游    时间: 2003-11-30 08:39     标题: 版主请看一下,怎么样才能全自动安装Win98?

这是第三次:
作者: 网上游    时间: 2003-11-30 08:40     标题: 版主请看一下,怎么样才能全自动安装Win98?

[这个贴子最后由网上游在 2003/11/30 12:37pm 第 1 次编辑]

第四次:
以前也是这样的,可以全自动安装,现在不知道怎么不行了。
作者: 网上游    时间: 2003-12-1 05:57     标题: 版主请看一下,怎么样才能全自动安装Win98?

昏倒!没人知道?
作者: shadowman    时间: 2003-12-1 06:25     标题: 版主请看一下,怎么样才能全自动安装Win98?

这是我用的msbatch.inf文件的内容:
; MSBATCH.INF
;
; Copyright (c) 1995-1998 Microsoft Corporation.
; All rights reserved.
;
[BatchSetup]
Version=3.0 (32-bit)
SaveDate=03-04-09
[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="ShadowMan"
Org="SONY"
Display=0
[Network]
ComputerName="ShadowMan"
Workgroup="workgroup"
Description="ShadowMan"
Display=0
PrimaryLogon=VREDIR
Clients=VREDIR
Protocols=MSTCP
Services=VSERVER
Security=SHARE
[MSTCP]
LMHOSTS=1
LMHOSTPath="c:\windows\lmhosts"
DHCP=1
DNS=0
WINS=D
[VREDIR]
LogonDomain="china"
ValidatedLogon=0
[VSERVER]
LMAnnounce=0
MaintainServerList=2
[OptionalComponents]
"辅助选项"=0
"辅助工具"=0
"公文包"=0
"计算器"=1
"桌面墙纸"=0
"文档模板"=1
"游戏"=1
"映象"=0
"鼠标指针"=0
"画图"=1
"快速查看"=0
"Windows Scripting Host"=0
"写字板"=1
"造字程序"=0
"输入法生成器"=1
"通讯簿"=1
"拨号 ATM 支持"=0
"拨号网络"=1
"拨号网络服务器"=0
"直接电缆连接"=0
"超级终端"=1
"Microsoft Chat 2.5"=0
"NetMeeting"=1
"电话拨号程序"=1
"虚拟专用网络"=0
"棒球"=0
"危险动物"=0
"电脑探密"=0
"丛林"=0
"达芬奇"=0
"更多的 Windows"=0
"神秘之物"=0
"大自然"=0
"科学"=0
"太空"=0
"运动"=0
"六十年代的美国"=0
"黄金时代"=0
"旅行"=0
"水底世界"=0
"Windows 98"=0
"Internet 连接共享"=0
"Microsoft Wallet"=0
"Personal Web Server"=0
"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
"多媒体配音方案"=0
"声音采样"=0
"录音机"=1
"视频压缩"=1
"音量控制"=1
"其他屏幕保护程序"=0
"飞行 Windows"=0
"OpenGL 屏幕保护程序"=0
"备份"=1
"字符映射表"=0
"剪贴板查看程序"=1
"磁盘压缩工具"=1
"驱动器转换器(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%\>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
[Installed.Components.Advanced]
DelFiles=OLS.Icons, QuickLaunch.Icons
CustomDestination=Custom.Dest
RunPostSetupCommands=DirCleanup
[Custom.Dest]
49070=DesktopLDIDSection,5
49050=QuickLinksLDIDSection,5
[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,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",,"about:blank"
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"
[QuickLinksLDIDSection]
HKCU,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders",AppData,QuickLaunch,"%25%\Application Data"
[QuickLaunch.Icons]
查看频道.scf
[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 Components"
OnlineLong="Online Services"
KEY_IEXPLORERMAIN="Software\Microsoft\Internet Explorer\Main"


作者: 网上游    时间: 2003-12-1 07:01     标题: 版主请看一下,怎么样才能全自动安装Win98?

那你用的安装参数是怎么样的呢?
作者: shadowman    时间: 2003-12-1 07:13     标题: 版主请看一下,怎么样才能全自动安装Win98?

我就用了 setup.exe /is 这一个参数。
作者: astaroth    时间: 2003-12-1 07:24     标题: 版主请看一下,怎么样才能全自动安装Win98?

试试这个
作者: 网上游    时间: 2003-12-1 07:43     标题: 版主请看一下,怎么样才能全自动安装Win98?

版主,我用了你的自动应答文件和安装参数还是不行,仍然在上面那几个步骤要按回车键。到底是怎么回事啊?
作者: 网上游    时间: 2003-12-2 01:42     标题: 版主请看一下,怎么样才能全自动安装Win98?

[这个贴子最后由网上游在 2003/12/01 07:53pm 第 1 次编辑]

原来是有OEM版和零售版的区别,我把OEM版的换成零售版的就好了。谢谢各位的提示。
作者: shadowman    时间: 2003-12-2 10:33     标题: 版主请看一下,怎么样才能全自动安装Win98?

我用的是联想机随机带的98光盘,不知算不算OEM版。




欢迎光临 EZB 论坛 (http://ultraiso.net/ezbbbs/) Powered by Discuz! 6.1.0