[专题]自动安装盘常遇问题及相关下载
资源
在本页中,你可以看到我自己制作的光盘中所用的批处理文件和Winnt.sif文件,你可以直接把它们用到你的光盘中。
Winnt.sif:
[Data]
AutoPartition=0
MsDosInitiated="0"
UnattendedInstall="Yes"
[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=Yes
TargetPath=\WINDOWS
Repartition=No
UnattendSwitch="no"
WaitForReboot="No"
DriverSigningPolicy=Ignore
OemPnPDriversPath="\Drivers\Catalyst3_6\2KXP_INF;Drivers\Catalyst3_6\TV_Capture\WDM_XP"
[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=No
OEMSkipRegional=1
TimeZone=85
OemSkipWelcome=1
[UserData]
ProductKey=Removed
FullName=".com.cn"
OrgName="cctips"
ComputerName=ZEUS
[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=85
[TapiLocation]
CountryCode=44
Dialing=Tone
AreaCode=01379
[RegionalSettings]
LanguageGroup=1
Language=00000809
[Identification]
JoinWorkgroup=MSHOME
[Networking]
InstallDefaultComponents=Yes
[Branding]
BrandIEUsingUnattended=Yes
[URL]
Home_Page=http://cctips.nease.net
[Components]
msmsgs=off
msnexplr=off
freecell=off
hearts=off
minesweeper=off
pinball=off
solitaire=off
spider=off
zonegames=off
[Shell]
DefaultStartPanelOff = Yes
DefaultThemesOff = Yes
[GuiRunOnce]
%systemdrive%\install\main_batch.cmd
%systemdrive%\install\hotfixes.cmd
%systemdrive%\install\applications.cmd
main_batch.cmd:
CLS
@echo off
ECHO.
ECHO 接下来的几分钟里,你将会看到脚本程序自动给你安装常用的软件、
ECHO Windows Updates更新,还有注册表调整。
ECHO 全部完成后计算机会自动重新启动!
ECHO.
ECHO 复制工具...
COPY "%systemdrive%\Install\Tools\deluser.exe" "%systemroot%\"
COPY "%systemdrive%\Install\Tools\psshutdown.exe" "%systemroot%\"
COPY "%systemdrive%\Install\Tools\UPTIME.exe" "%systemdrive%\Documents and Settings\%username%"
ECHO.
ECHO 删除墙纸...
DEL "%systemroot%\Blue Lace 16.bmp"
DEL "%systemroot%\Coffee Bean.bmp"
DEL "%systemroot%\FeatherTexture.bmp"
DEL "%systemroot%\Gone Fishing.bmp"
DEL "%systemroot%\Greenstone.bmp"
DEL "%systemroot%\Prairie Wind.bmp"
DEL "%systemroot%\Rhododendron.bmp"
DEL "%systemroot%\River Sumida.bmp"
DEL "%systemroot%\Santa Fe Stucco.bmp"
DEL "%systemroot%\Soap Bubbles.bmp"
DEL "%systemroot%\Zapotec.bmp"
DEL "%systemroot%\Web\Wallpaper\Crystal.jpg"
DEL "%systemroot%\Web\Wallpaper\Friend.jpg"
DEL "%systemroot%\Web\Wallpaper\Home.jpg"
DEL "%systemroot%\Web\Wallpaper\Moon flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Peace.jpg"
DEL "%systemroot%\Web\Wallpaper\Power.jpg"
DEL "%systemroot%\Web\Wallpaper\Purple flower.jpg"
DEL "%systemroot%\Web\Wallpaper\Radiance.jpg"
DEL "%systemroot%\Web\Wallpaper\Ripple.jpg"
DEL "%systemroot%\Web\Wallpaper\Stonehenge.jpg"
DEL "%systemroot%\Web\Wallpaper\Vortec space.jpg"
DEL "%systemroot%\Web\Wallpaper\Ascent.jpg"
DEL "%systemroot%\Web\Wallpaper\Autumn.jpg"
DEL "%systemroot%\Web\Wallpaper\Azul.jpg"
DEL "%systemroot%\Web\Wallpaper\Follow.jpg"
DEL "%systemroot%\Web\Wallpaper\Red moon desert.jpg"
DEL "%systemroot%\Web\Wallpaper\Tulips.jpg"
DEL "%systemroot%\Web\Wallpaper\Wind.jpg"
ECHO.
ECHO 删除不用的快捷方式...
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Update.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"
DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"
ECHO.
ECHO 删除屏幕保护...
DEL "%systemroot%\system32\dllcache\scrnsave.scr"
DEL "%systemroot%\system32\dllcache\ss3dfo.scr"
DEL "%systemroot%\system32\dllcache\ssbezier.scr"
DEL "%systemroot%\system32\dllcache\ssflwbox.scr"
DEL "%systemroot%\system32\dllcache\ssmarque.scr"
DEL "%systemroot%\system32\dllcache\ssmypics.scr"
DEL "%systemroot%\system32\dllcache\ssmyst.scr"
DEL "%systemroot%\system32\dllcache\sspipes.scr"
DEL "%systemroot%\system32\dllcache\ssstars.scr"
DEL "%systemroot%\system32\dllcache\sstext3d.scr"
DEL "%systemroot%\system32\scrnsave.scr"
DEL "%systemroot%\system32\ss3dfo.scr"
DEL "%systemroot%\system32\ssbezier.scr"
DEL "%systemroot%\system32\ssflwbox.scr"
DEL "%systemroot%\system32\ssmarque.scr"
DEL "%systemroot%\system32\ssmypics.scr"
DEL "%systemroot%\system32\ssmyst.scr"
DEL "%systemroot%\system32\sspipes.scr"
DEL "%systemroot%\system32\ssstars.scr"
DEL "%systemroot%\system32\sstext3d.scr"
ECHO.
ECHO 复制 Windows XP 3D 屏幕保护...
COPY "%systemdrive%\Install\Powertoys\3D Windows XP.scr" "%systemroot%\system32"
ECHO.
ECHO 复制破解过的UXTheme.dll...
REN %systemroot%\System32\dllcache\uxtheme.dll uxtheme.old
COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\dllcache\"
REN %systemroot%\System32\uxtheme.dll uxtheme.old
COPY "%systemdrive%\Install\uxtheme\uxtheme.dll" "%systemroot%\System32\"
ECHO.
ECHO 安装 MSN Messenger 6.0.0602 Final
ECHO 请稍等...
start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB
ECHO.
ECHO 安装 DirectX 9.0b
ECHO 请稍等...
start /wait %systemdrive%\install\DirectX9b\dxsetup.exe /opk
ECHO.
ECHO 安装 Windows Media Player 9
ECHO 请稍等...
start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N
ECHO.
ECHO 安装 Movie Maker 2.0
ECHO 请稍等...
start /wait %systemdrive%\install\MovieMaker\mm20.msi /qn
ECHO.
ECHO 安装 TweakUI 2.10 Powertoy
COPY "%systemdrive%\install\PowerToys\TweakUI.exe" "%systemroot%\System32\"
COPY "%systemdrive%\install\PowerToys\TweakUI 2.10 Powertoy.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\"
ECHO.
ECHO 安装 Task Switcher Powertoy
ECHO 请稍等...
start /wait %systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn
ECHO.
ECHO 应用注册表设置...
REGEDIT /S %systemdrive%\install\RegTweaks.reg
ECHO.
ECHO 安装 .NET Framework v1.1
ECHO 请稍等...
start /wait %systemdrive%\install\NetFramework\netfx.msi /QB
ECHO.
ECHO 安装 Microsoft JavaVM - Build 3810
ECHO 请稍等...
start /wait %systemdrive%\install\JavaVM\msjavwu.exe /Q:A /R:N
ECHO.
EXIT
hotfixes.cmd:
CLS
@echo off
ECHO.
ECHO 安装 Windows Update 补丁程序
ECHO.
ECHO 安装 Q329115...
start /wait %systemdrive%\install\Hotfixes\Q329115_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q329048...
start /wait %systemdrive%\install\Hotfixes\Q329048_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q323255...
start /wait %systemdrive%\install\Hotfixes\Q323255_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q329834...
start /wait %systemdrive%\install\Hotfixes\Q329834_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q329170...
start /wait %systemdrive%\install\Hotfixes\Q329170_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q328310...
start /wait %systemdrive%\install\Hotfixes\Q328310_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q329390...
start /wait %systemdrive%\install\Hotfixes\Q329390_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q810833...
start /wait %systemdrive%\install\Hotfixes\Q810833_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q810577...
start /wait %systemdrive%\install\Hotfixes\Q810577_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q331953...
start /wait %systemdrive%\install\Hotfixes\Q331953_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q814995...
start /wait %systemdrive%\install\Hotfixes\Q814995_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q811630...
start /wait %systemdrive%\install\Hotfixes\Q811630_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 JScript 5.6...
start /wait %systemdrive%\install\Hotfixes\js56nen.exe /Q:A /R:N
ECHO.
ECHO 安装 Q810565...
start /wait %systemdrive%\install\Hotfixes\Q810565_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q814033...
start /wait %systemdrive%\install\Hotfixes\Q814033_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q815021...
start /wait %systemdrive%\install\Hotfixes\Q815021_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q811493...
start /wait %systemdrive%\install\Hotfixes\Q811493_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q819639...
start /wait %systemdrive%\install\Hotfixes\WindowsMedia9-KB819639-x86-ENU.exe /Q:A /R:N
ECHO.
ECHO 安装 Q817606...
start /wait %systemdrive%\install\Hotfixes\Q817606_WXP_SP2_x86_ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q823559...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823559-x86-ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q823980...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB823980-x86-ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q821557...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821557-x86-ENU.exe /Q /M /Z
ECHO.
ECHO 安装 Q329441...
start /wait %systemdrive%\install\Hotfixes\Q329441_WXP_SP2_en.exe /Q /M /Z
ECHO.
ECHO 安装 Q817287...
start /wait %systemdrive%\install\Hotfixes\Q817287.exe /Q:A /R:N
ECHO.
ECHO 安装 Q821253 Windows Error Reporting Update...
start /wait %systemdrive%\install\Hotfixes\WindowsXP-KB821253-x86-ENU.exe /Q /M /Z
ECHO.
ECHO 安装 June 2003, Cumulative Patch for IE6...
start /wait %systemdrive%\install\Hotfixes\q818529.exe /Q:A /R:N
ECHO.
ECHO 安装 April 2003, Cumulative Patch for OE6...
start /wait %systemdrive%\install\Hotfixes\q330994.exe /Q:A /R:N
ECHO.
EXIT
applications.cmd:
CLS
@echo off
ECHO.
ECHO 删除由.NET Framework 1.1创建的ASP.NET 用户帐户...
start /wait DELUSER /Q aspnet
ECHO.
ECHO 安装 Metapad 3.5...
REN %systemdrive%\WINDOWS\System32\dllcache\notepad.exe notepad.old
COPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\System32\dllcache\"
REN %systemdrive%\WINDOWS\System32\notepad.exe notepad.old
COPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\System32\"
REN %systemdrive%\WINDOWS\notepad.exe notepad.old
COPY "%systemdrive%\Install\Applications\metapad\notepad.exe" "%systemdrive%\WINDOWS\"
ECHO.
ECHO 应用 Metapad 3.5 Filters...
REGEDIT /S %systemdrive%\install\Applications\metapad\filters.reg
ECHO.
ECHO 安装 Media Player Classic 6.4.5.6...
MD "%systemdrive%\Program Files\Media Player Classic"
COPY "%systemdrive%\install\Applications\Media Player Classic\mplayerc.exe" "%systemdrive%\Program Files\Media Player Classic\"
COPY "%systemdrive%\install\Applications\Media Player Classic\Media Player Classic.lnk" "%systemdrive%\Documents and Settings\All Users\Start Menu\Programs\"
ECHO.
ECHO 安装 ATI Control Panel for Catalyst 3.6
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\ATI_CP_3_6\Setup.exe -s -f1"%systemdrive%\install\Applications\ATI_CP_3_6\setup.iss"
ECHO.
ECHO 安装 Diskeeper 7.0.428
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\diskeeper\Setup.exe /s /v/qn
ECHO.
ECHO 更新 Diskeeper 7.0.428 到 7.0.430
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\diskeeper\us_dk70_wup_build430.exe /s /v/qn
ECHO.
ECHO 安装 Flashget 1.4
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /S
ECHO.
ECHO 注册 Flashget 1.4...
REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg
ECHO.
ECHO 安装 Kerio Personal Firewall 2.1.4
ECHO Please wait...
start /wait %systemdrive%\install\Applications\kpf\Setup.exe -s -f1"%systemdrive%\install\Applications\kpf\setup.iss"
ECHO.
ECHO 安装 Nero Burning ROM v5.5.10.42
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\Nero\Nero551042.exe /silent /noreboot
ECHO.
ECHO 注册 Nero Burning ROM...
REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg
ECHO.
ECHO 安装 Symantec Antivirus Corporate 8.1
ECHO 请稍等...
start /wait %systemdrive%\install\Applications\sav\sav810b821.exe /qn
ECHO.
ECHO 更新 Symantec Antivirus 病毒定义 (2003年8月29日)...
COPY "%systemdrive%\install\Applications\sav\vd155c08.xdb.xdb" "%systemdrive%\Documents and Settings\All Users\Application Data\Symantec\Norton AntiVirus Corporate Edition\7.5\"
ECHO.
ECHO 1分钟后重启动电脑...
psshutdown.exe -r -t 60 -f -m "Windows XP 将在一分钟后重启动!"
ECHO.
ECHO 删除安装过程中的临时文件...
RD /S /Q %systemdrive%\install
RD /S /Q %systemdrive%\Drivers
ECHO.
EXIT
“为什么我用了三个批处理文件?”你问了,因为这样在你需要对现有的某个文件进行改动的时候就比较有条理。你也可以选择使用单独的一个批处理文件,这样也可以达到同样的效果。
[img]http://pic.xabar.net/generator/email/?id=asp30&mail=163.com&tc=&rc=[/img]