Jump to content

are these switches correct?


Recommended Posts

Can u guys tell me if this batch file is allright? i think there is a wrong thing with Alcohol 120% (reboots after install)

and Direct X 9.0C, /silent switch wont work

anyone knows a solution?

or u see more mistakes i make in my batch file? i appriciate it when u tell me :rolleyes: even better with a answer to fix it :D

TIA

(sorry for my bad english)

( btw, is it possible to Install all this stuff on your own User account, normally its always ADMINISTRATOR :)

CLS

@echo off

title Custom Script file made by Nightraider, for Windows XP Sp1 With Updates UIUnattended Install!

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 Remember,Some Applications, like Alcohol 120%, Register Automaticly by Reg. Tweak, other Apps

Echo Like DU Meter need manual register.

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 DirectX 9.0c

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9c\directx9c.exe /silent

ECHO.

ECHO Installing Adobe Reader 6

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""

ECHO.

ECHO Installing MSN Messenger 6.2.0137 Final

ECHO Please wait...

start /wait %systemdrive%\install\Applications\MSN\MsnMsgs.msi /QB

ECHO Installing MSN PLus! 3.01.94 (NoSponsor)

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\MSNP\MSNPlus!_3.01.94.exe /silentinstallnosponsor

ECHO Installing .NET Framework v1.1

ECHO Please wait...

start /wait %systemdrive%\install\NetFramework\netfx.msi /qb

ECHO.

ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...

net user aspnet /delete

ECHO.

ECHO Installing Sun Java VM 1.4.2

ECHO Please wait...

start /wait %systemdrive%\install\Applications\SunJava\j2re-1_4_2_05-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1 REBOOT=ReallySuppress

ECHO.

ECHO Installing Windows Media Player 9

ECHO Please wait...

start /wait %systemdrive%\install\WMP9\MPSetupXP.exe /Q:A /R:N

ECHO.

ECHO Installing WinRAR 3.30 Corporate Edition

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\WinRar\WinRAR3.30Corp.exe /s

ECHO.

ECHO Installing Office 2003 Professional

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-

ECHO.

ECHO Installing TweakUI 2.10 Powertoy

ECHO Please wait...

start /wait %systemdrive%\install\PowerToys\TweakUI.msi /qb

ECHO.

ECHO Installing ImageResizer Powertoy

ECHO Please wait...

start /wait %systemdrive%\install\PowerToys\ImageResizerPowertoySetup.exe /s /v/qn

Echo.

Echo Installing The Google Toolbar

ECHO Please wait...

start /wait %systemdrive%\install\googletoolbar\GoogleToolbarInstaller.exe /q /d

Echo.

Echo Installing Alcohol 120%

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Alcoholl120\setup.msi INSTALLDIR="H:\Brander\Alcohol 120" /qn

ECHO.

ECHO Registering Alcohol 120%

REGEDIT /S %systemdrive%\install\Applications\Alcoholl120\Alcohol120reg.reg

ECHO.

ECHO Installing AudigyDriver

ECHO Please wait...

start /wait %systemdrive%\install\Audigy\CTZAPXX.exe /q /o /r

ECHO.

ECHO Installing SPYBOT

ECHO Please wait...

start /wait %systemdrive%\install\spybot\spybotsd13.exe /SILENT /SP /NORESTART /DIR="H:\Onderhoud\Spybot S&D\"

ECHO.

ECHO Installing Nero Burning ROM v6.3.1.17

ECHO Please wait...

start /wait %systemdrive%\install\Nero6.31.17\setup.exe /SN=1A23-0009-8030-2450-9125-7277 /WRITE_SN /SILENT /NOREBOOT

ECHO.

ECHO Installing Aida32 3.93 (Final)

ECHO Please wait...

start /wait %systemdrive%\Install\aida32\AIDA32_3.93.exe /SILENT /SP /NORESTART /DIR="H:\Onderhoud\Aida32\"

ECHO.

ECHO Registering DU Meter 3.05

Please wait...

REGEDIT /S %systemdrive%\Install\DUMeter\dumeter.reg

ECHO.

ECHO Installing DU Meter 3.05

ECHO Please wait...

start /wait %systemdrive%\Install\DUMeter\dumeter3.exe /SILENT /SP /NORESTART /DIR="H:\Internet\DU Meter\"

ECHO.

ECHO Installing Netlimiter 1.30

ECHO Please wait...

start /wait %systemdrive%\Install\Netlimiter\nlv130.exe D="H:\Internet\Netlimiter\"

Echo.

Echo Installing Winamp 5.0.4

Echo Please wait...

start /wait %systemdrive%\Install\Winamp504\winamp.msi /qb /INI="%systemdrive%\install\Winamp504\winamp.ini"

ECHO.

ECHO Installing UltraVNC 1.0 RC11b

ECHO Please wait...

start /wait %systemdrive%\Install\ultravnc\UltraVNC-100-RC11b-Setup.exe /SP /VERYSILENT /NORESTART /DIR="H:\Internet\UltraVNC\

ECHO.

ECHO Applying Registry Tweaks...

REGEDIT /S %systemdrive%\install\RegTweaks.reg

ECHO.

ECHO Restarting the PC in 2 minute...

shutdown.exe -r -f -t 120 -c "Windows XP will now restart in 2 minutes, 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

Link to comment
Share on other sites


I havent tested mine yet but i think you need this after your alcohol command

REBOOT=REALLYSUPPRESS

so that line is now.

start /wait %systemdrive%\install\Applications\Alcoholl120\setup.msi INSTALLDIR="H:\Brander\Alcohol 120" /qn REBOOT=REALLYSUPPRESS

Link to comment
Share on other sites

why not convert to runonceex.cmd

it is much cleaner to use

if u slipstream service pack2 it already had the lastest directx driver.

so no need to update it again.

I didn't notice your not even in the correct forum.

you should go to application switches.

here is a link

http://www.msfn.org/board/index.php?showtopic=20502

the moderator will most likely move your topic.

Edited by Astalavista
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...