QUOTE
CLS
@echo off
TITLE Windows XP SP2 - 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 Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\NetFramework\netfx.msi /qb
ECHO.
ECHO Installing MSN Messenger 6.0.0602 Final
ECHO Please wait...
start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB
ECHO.
ECHO Installing Windows Media Player 10
ECHO Please wait...
start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"
ECHO.
ECHO Installing WinRAR 3.42
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinRAR\wrar342.exe /s
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
@echo off
TITLE Windows XP SP2 - 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 Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\NetFramework\netfx.msi /qb
ECHO.
ECHO Installing MSN Messenger 6.0.0602 Final
ECHO Please wait...
start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QB
ECHO.
ECHO Installing Windows Media Player 10
ECHO Please wait...
start /wait %systemdrive%\install\WMP10\MP10Setup.exe /q:A /c:"setup_wm.exe /Q /R:N /DisallowSystemRestore"
ECHO.
ECHO Installing WinRAR 3.42
ECHO Please wait...
start /wait %systemdrive%\install\Applications\WinRAR\wrar342.exe /s
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
I'd assume my batch file is at fault but can't seem to work out where I've gone wrong, if someone could help it would be much appreciated.
Thanks - Oliver.