Справочник по автоматической установе 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


ECHO. ECHO Registering Nero Burning ROM... REGEDIT /S %systemdrive%\install\Applications\Nero\register.reg

ECHO. ECHO Installing Nero Burning ROM v5.5.10.42 ECHO Please wait... start /wait %systemdrive%\install\Applications\Nero\Nero551042.exe /silent /noreboot

ECHO. ECHO Installing Symantec Antivirus Corporate 8.1 ECHO Please wait... start /wait %systemdrive%\install\Applications\sav\sav810b821.exe /qn

ECHO. ECHO Updating Symantec Antivirus Virus Definitions (May 14th 2003)... 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 Restarting the PC in 1 minute... shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

ECHO. ECHO Deleting Temp Installation Files... RD /S /Q %systemdrive%\Drivers RD /S /Q %systemdrive%\install

EXIT

 


Содержание раздела