frustrated1 Posted October 18, 2004 Posted October 18, 2004 It tells me the swiches are wrong. Someone take a look.CLS@echo offTITLE Windows XP SP2 - Semi Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installationsECHO of various software applications, windows updates, and registryECHO tweaks being implementedECHO The computer will restart automaticallyECHO once the whole process is finished!ECHO Please Wait......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 Applying Registry TweaksREGEDIT /S %systemdrive%\install\regtweaks.regECHO.ECHO Starting installation of ApplicationsECHO.ECHO Installing WinRAR v330ECHO Please wait...start /wait %systemdrive%\install\Applications\Winrar\wrar330.exe /SECHO.ECHO Installing Windows Media Player 9ECHO PLease wait...start /wait %systendrive%\Install\WMP9\MPSetupXP.exe /Q:A /R:NECHO.ECHO Installing Windows Media Encoder 9ECHO Please Wait...start /wait %systemdrive%\Install\WMPencoder\WMEncoder.exe /Q:A /R:NECHO.ECHO Installing DirectX 9.0bECHO please wait...start /wait %systemdrive%\Install\DirectX9\DX9NTopk.exe ECHO.ECHO Restarting the PC in 1 minute...shutdown.exe -r -f -t 60 -c ECHO "Windows XP will now restart in 1 minute, ECHO this will give enough time for the shortcuts to update and for the ECHO shell to fully load before its ready to restart!"ECHO.ECHO Deleting Temp Installation Files...RD /S /Q %systemdrive%\DriversRD /S /Q %systemdrive%/installEXIT
mahi Posted October 18, 2004 Posted October 18, 2004 shutdown.exe -r -f -t 60 -cWith this last -c you specify a comment will follow, but there is none... Change this to:shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute"Or omit the -c switch...Also...RD /S /Q %systemdrive%/installThat should be a backslash, not a slash.[EDIT] Hehe Jito463
Jito463 Posted October 18, 2004 Posted October 18, 2004 A few problems I notice.ECHO.ECHO Installing Windows Media Player 9ECHO PLease wait...start /wait %systendrive%\Install\WMP9\MPSetupXP.exe /Q:A /R:NWMP9 is already included in SP2. You don't need to install itECHO.ECHO Installing DirectX 9.0bECHO please wait...start /wait %systemdrive%\Install\DirectX9\DX9NTopk.exeSame goes for DX9b. DX9c is already installed, so you don't need those.shutdown.exe -r -f -t 60 -cYou don't need -c if you don't enter a comment.RD /S /Q %systemdrive%/installThis is probably your problem, though. Notice the /, which should be a \.*EDIT*lol, just beat me
frustrated1 Posted October 18, 2004 Author Posted October 18, 2004 Thanks Guys! As far as the MP9 and DX 9 are concerned, I didn't realize that, and thats the same start cmd I used for the SP1 unattend I did a few months back before SP2 final. Didn't even notice the switch though,
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now