jOhn-e Posted June 12, 2004 Share Posted June 12, 2004 CLS@echo offTITLE jOhn-e's Windows XP SP1 - Unattended InstallationECHO.ECHO Over the next few minutes you will see how much of a legend i am ECHO in making this Windows Installation hehe =)ECHO The computer will restart automaticallyECHO once the whole process has finished!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 Starting installation of DriversECHO. ECHO Installing Netcomm ADSL Modem DriversECHO Please Wait...start /wait %systemdrive%\drivers\000_network\Setup.exe /sECHO.ECHO Installing NVidia DET Drivers ECHO Please Wait...start /wait %systemdrive%\drivers\001_graphics\Setup.exe /sECHO.ECHO Installing SB LIVE! DriversECHO Please Wait...start /wait%systemdrive%\drivers\002_sound\setup.exe /sECHO Starting installation of ApplicationsECHO.ECHO Installing MSN Messenger ECHO Please wait...start /wait %systemdrive%\install\MSN\MsnMsgs.msi /QBECHO.ECHO Install MSN Messenger Plus ECHO Please Wait...start /wait %systemdrive%\install\MSNPlus\MsgPlus254.exe /SilentInstallNoSponsorECHO. ECHO Installing ICQ Pro 2003ECHO Please Wait...start /wait%systemdrive%\install\ICQ\icq.exe /spskill icq.exeECHO. ECHO Installing Winamp start /wait%systemdrive%\install\Winamp\winamp.exe /sECHO Installing TweakUI 2.10 PowertoyECHO Please wait...start /wait %systemdrive%\install\PowerToys\TweakUI.msi /qbECHO.ECHO Installing TweakUI 2.10 PowertoyECHO Please wait...start /wait %systemdrive%\install\Powertoys\TweakUI.msi /qnECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %systemdrive%\install\Applications\Nero\register.regECHO.ECHO Registering Nero Burning ROM...REGEDIT /S %systemdrive%\install\Applications\Nero\register.regECHO.ECHO Installing Nero Burning ROM v6.3.1.6ECHO Please wait...start /wait %systemdrive%\install\Applications\Nero\Nero6316.exe /silent /norebootECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.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%\DriversRD /S /Q %systemdrive%\installEXITDo u guy see anything wrong ?? It wont work for me for some reasons Link to comment Share on other sites More sharing options...
Alanoll Posted June 12, 2004 Share Posted June 12, 2004 what about it won't work? Link to comment Share on other sites More sharing options...
XtremeMaC Posted June 12, 2004 Share Posted June 12, 2004 1st does that winamp need to be pskilled as well?this shouldn't matter but u're executing the nero's registry twice.. as well as tweakui with different switches??and what's not working? Link to comment Share on other sites More sharing options...
jOhn-e Posted June 13, 2004 Author Share Posted June 13, 2004 Thanks for that just noticed it Whats the correct switches for the tweak ui ?? /qn or /qb ??Sorry but this is my first unattended XPCD Link to comment Share on other sites More sharing options...
jOhn-e Posted June 13, 2004 Author Share Posted June 13, 2004 btw do i need a 3rd party proggie for pskill ??And how do i add the pskill code in the start.cmd ??Thanks alot guy sorry my knowledge aint too good on all this .... Link to comment Share on other sites More sharing options...
Alanoll Posted June 13, 2004 Share Posted June 13, 2004 if the TweakUI you're using is truly a MSI then /qn is fine. It was just a doulbe entry, just like nero's reg.as for pskill.....you could jsut as well use taskkill/taskkill /i (processtokilll)so what doens't work? or did you just want us to critique it? Link to comment Share on other sites More sharing options...
jOhn-e Posted June 13, 2004 Author Share Posted June 13, 2004 just wanted u guy to have a look at it since it was my first and it didnt seem like it worked when i tested it...ill test it out later tonight and see how it goesthanks alot for your help Link to comment Share on other sites More sharing options...
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