Учебник по автоматической установке Windows XP



         

Start.cmd (до того как автор перешел на RunOnceEx способ)


CLS @echo off TITLE Windows XP SP1 - Unattended Installation

ECHO. ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registry ECHO tweaks being implemented. The computer will restart automatically ECHO once the whole process has finished!

ECHO. ECHO Removing Wallpapers and Screensavers... DEL "%systemroot%\*.bmp" DEL "%systemroot%\Web\Wallpaper\*.jpg" DEL "%systemroot%\system32\dllcache\*.scr" DEL "%systemroot%\system32\*.scr"

ECHO. ECHO Removing useless shortcuts... 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 Installing MSN Messenger 6.0.0602 Final ECHO Please wait... start /wait %systemdrive%\install\MSN\MsnMsgs.msi /qn

ECHO. ECHO Installing TweakUI 2.10 Powertoy ECHO Please wait... start /wait %systemdrive%\install\Powertoys\TweakUI.msi /qn

ECHO. ECHO Installing Task Switcher Powertoy ECHO Please wait... start /wait %systemdrive%\install\PowerToys\TaskswitchPowertoySetup.exe /s /v/qn

ECHO. ECHO Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO. ECHO Deleting ASP.NET User Account created by .NET Framework 1.1... net user aspnet /delete

ECHO. ECHO Starting installation of Applications

ECHO. ECHO Installing Diskeeper 7.0.428 ECHO Please wait... start /wait %systemdrive%\install\Applications\diskeeper\Setup.exe /s /v/qn

ECHO. ECHO Installing Flashget 1.4 ECHO Please wait... start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /S

ECHO. ECHO Registering Flashget 1.4... REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg

ECHO. ECHO Installing Kerio Personal Firewall 2.1.5 ECHO Please wait... start /wait %systemdrive%\install\Applications\kpf\Setup.exe -s




Содержание  Назад  Вперед