Jump to content

problem with start.cmd urgent


Recommended Posts

I made an unattended xp and it tells me can`t finf the files in the paths specified

did anyone have this problem?

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.

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\Applications\Applications\msn\MsnMsgs.msi /qn

ECHO.

ECHO Installing Acrobat reader 6

ECHO Please wait...

start /wait ""%SystemDrive%\Install\Applications\Acrobat_reader_6\ar6.msi /qn

ECHO.

ECHO Registering Nero Burning ROM...

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

ECHO.

ECHO Installing Nero Burning ROM 63120

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\Nero6\Nero63120.exe /SILENT

ECHO.

ECHO Installing SpyBot Search & Destroy

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\Spybot\spybotsd12.exe /verysilent

ECHO.

ECHO Registering sun java...

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

ECHO.

ECHO Installing Sun Java VM 1.4.2.05

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\sun_java\j2re-1_4_2_05-windows-i586-p.exe /s /v /qb IEXPLORER=1 REBOOT=ReallySuppress

ECHO.

ECHO Installing WinISO 5.3

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\Winiso5.3\WinISO.exe /VERYSILENT /SP-

start taskkill /F /IM WinISO.exe

ECHO.

ECHO Installing winrar 3.3

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\winrar\wrar330.exe /s

ECHO.

ECHO Installing winamp 5

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\winamp\Winamp.exe /qb Xagent=0 Xname=m Xkey=Q3MBN-XLD86-CJYNP-P2SXD Xlibrary=0 Xhotkey=1 Xaudio=1 Xvideo=1 Xvisual=1 Xextra=1 Xwma=1 Xmid=1 Xmod=1 Xogg=1 Xaac=1 Xmp3enc=1 Xmp4=1 Xcdplay=1 Xsonic=1 Xcddb=1 Xwav=1

ECHO.

ECHO Registering sygate 5.5...

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

ECHO.

ECHO Installing sygate 5.5

ECHO Please wait...

start /wait %SystemDrive%\Install\Sygate5.5\spf.exe /QN Reboot=Supress

ECHO.

ECHO Installing clonecd

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Clone\CloneCDSilent.exe SetupCloneCD4322.exe

ECHO.

ECHO Installing adaware pro

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\Ad-aware_pro\aawsepro.exe /S

start /wait taskkill /IM Adaware.exe /F

start /wait taskkill /IM hh.exe /F

start /wait taskkill /IM Ad-Aware.exe /F

ECHO.

ECHO Installing kaspersky5

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\Kaspersky5\kav5.0.149.4_personalen.exe /S /N

ECHO.

ECHO Installing Windows media player 10

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\WMP10\mp10setup.exe /Q:A /R:N /P:#e

ECHO.

ECHO Installing shockwave 10

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\shockwave\Shockwave_Installer_Full.exe /s

ECHO.

ECHO Installing xvid 1.02

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\xvid\XviD-1.0.2-29082004.exe /VERYSILENT /SP-

ECHO.

ECHO Installing ac3 filter

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\ac3\ac3filter_0_63b.exe /S

ECHO.

ECHO Registering bsplayer...

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

ECHO.

ECHO Installing bsplayer

ECHO Please wait...

start /wait %SystemDrive%\Install\Applications\bsplayer\bsplayer.exe /S /D=c:\program files\BSplayer >nul

EXIT

Link to comment
Share on other sites


1. Use Code Tags

2. Did the files get copied over to %systemdrive%? DO you have the directories to be copie din $OEM$\$1? Do you have OEMPREINSTALL=YES in your winnt.sif

3. Remove your serial and whatnot from your code.

4. Use a search. Or better yet, look at the FAQ on the unattended site. :)

Glancing through some more....

Your SunJAVA won't install properly, as

/v /qb IEXPLORER=1 REBOOT=ReallySuppress

is not correct, should be

/v"/qb IEXPLORER=1 REBOOT=ReallySuppress"

If you go with the " " around your statements, like

start /wait "something.exe" /S

try to use it ONLY when there are whitespaces("Program FIles" for instance) in your paths. If you do use quotes, be sure to also use

start "" /wait "something.exe" /S

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...