Jump to content

Recommended Posts

Posted

:) I'm new to this Unattended thing but have recently performed my first one. Everything works fine as far as loading windows but when it comes to loading my batch files all of the applications do not load or the batchfile ends before everthing is loaded.

I have tried to use both the batch_files.cmd and the runonceex and it happens with both. Will someone please give me some idea as to what is going on? This is my batch_file command and my winnt.sif:

CLS

@echo off

TITLE Windows XP SP1 - 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 useless shortcuts...

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Windows Catalog.lnk"

DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"

ECHO.

ECHO Installing TweakUI 2.10 Powertoy

ECHO Please wait...

start /wait %systemdrive%\install\Powertoys\TweakUI.msi /qn

ECHO.

ECHO Installing Flash and Shockwave Player

ECHO Please Wait...

start /wait %systemdrive%\Install\Applications\Shockwave\Flashshockwavefull.exe /s

ECHO.

ECHO Applying Registry Tweaks...

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

ECHO.

ECHO Installing DirectX 9.0b

ECHO Please wait...

start /wait %systemdrive%\install\DirectX9b\DX9NTopk.exe

ECHO.

ECHO Installing Movie Maker 2.0

ECHO Please wait...

start /wait %systemdrive%\install\MovieMaker\mm20.msi /qn

ECHO.

ECHO Installing Windows Media Player 9

ECHO Please wait...

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

ECHO.

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

net user aspnet /delete

ECHO.

ECHO Installing Office 2000 Disk 1

ECHO Please wait...

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

ecHO.

ECHO Installing Quicken 2003

ECHO Please wait...

start /wait %SystemDrive%\Install\Quicken\setup.exe -s -f1\"%SystemDrive%\Install\Quicken\setup.iss\"

ECHO.

ECHO Installing Alcohol 120%

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\Alcohol_120\setup.exe /qn Reboot=Suppress

ECHO.

ECHO Registering Alcohol 120%...

REGEDIT /S %systemdrive%\Install\Applications\Alcohol_120\register.reg /f

ECHO.

ECHO Installing Partition Magic 8.0

ECHO Please wait...

start /wait %systemdrive%\install\Applications\PM800\setup.exe /S /V/QN -f1setup.iss /f

ECHO.

ECHO.

ECHO Installing Office 2000 Disk 2

ECHO Please wait...

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

ECHO Installing Sygate Personal Firewall Pro

ECHO Please wait...

start /wait %systemdrive%\Install\Applications\Sygate\pspf.exe /QN Reboot=Supress

ECHO.

ECHO Registering Sygate Personal Firewall Pro...

REGEDIT /S %systemdrive%\install\Applications\Sygate\offline.reg

ECHO.

ECHO Installing WinIso

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WinISO\WinISO53.exe /VERYSILENT /SP-

ECHO.

ECHO Installing WinRAR 3.30

ECHO Please wait...

start /wait %systemdrive%\install\Applications\WinRAR\wrar330.exe /s

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 Goggle Toolbar

ECHO Please wait...

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

ECHO.

ECHO Installing Kazza Lite K-plus-plus 2.43

ECHO Please wait...

start /wait %systemdrive%\install\Applications\KazaaLite\K-Lite.exe /silent

ECHO.

ECHO Installing Lavasoft Ad-Aware 6 Build 181

ECHO Please wait...

start /wait %systemdrive%\install\Applications\AdAware\aaw6.exe /s

ECHO.

ECHO Installing Nero Burning ROM v6.3.0..

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Nero\Nero6303.exe /SN=1A23-0058-4010-2386-2165-3416 /WRITE_SN /silent /noreboot

ECHO.

ECHO Installing Norton System Works 2002

ECHO Please wait...

start /wait %systemdrive%\install\Applications\Norton\SETUP.EXE /qb REBOOT=ReallySuppress /QB

ECHO.

ECHO Installing Sun Java VM 1.4.2

ECHO Please wait...

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

ECHO.

ECHO Restarting the PC in 1 minute3...

shutdown.exe -r -f -t 180 -c "Windows XP will now restart in 1 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 "%systemroot%\Cache\Adobe Reader 6.0.1\"

RD /S /Q %systemdrive%\Drivers

RD /S /Q %systemdrive%\install

EXIT

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

AutoActivate="No"

CrashDumpSetting="0"

Repartition=No

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

WaitForReboot=No

UnattendSwitch="yes"

DriverSigningPolicy=Ignore

OemPnPDriversPath=Drivers\Adaptec;Drivers\bjc7004;Drivers\cmaudio;Drivers\CanoScan;Drivers\DWL520;Drivers\nForce\3Com;Drivers\nForce\AudioDrv;Drivers\nForce\AudioUtl;Drivers\nForce\Ethernet\WinXP;Drivers\nForce\GART;Drivers\nForce\IDE\WinXP;Drivers\nForce\MemCtl;Drivers\nForce\SATA;Drivers\nforce\SMBus;Drivers\nforce\USB2;Drivers\nvidia;Drivers\toshiba

[GuiUnattended]

AdminPassword=*

EncryptedAdminPassword=NO

OEMSkipRegional=1

TimeZone=20

OemSkipWelcome=1

[userData]

ProductKey=xxxx-xxxxx-xxxxx-xxxxx-xxxxx

FullName="name"

OrgName="Home"

ComputerName="name"

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

Vrefresh=85

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=972

[identification]

JoinWorkgroup=WORKGROUP

[Components]

msnexplr=on

msmsgs=off

fax=Off

[Networking]

InstallDefaultComponents=Yes

Home_Page=http://www.comcast.net/qry/myhome

[GuiRunOnce]

%systemdrive%\install\batch_file.cmd


Posted

well, I don't know how lazy other people are, but most won't even look at this.

second, try to remember CODE tags next time, and put a line break in your OemPnPDriversPath line, so it doesn't break the forum formatting.

third, try telling which programs/sections don't seem to work. It helps to narrow down that problems then just lookin through the batch file.

Posted

alanoll you are too correct :) heh

luckily for jgut i have the tiniest bit of energy this morning to help him out a bit

skimming through this extremely briefly, it looks like a few of your installation commands are incorrect...

work out what doesn't work and look into the installation commands, look under the application switches forum for more help (try searching the application switch forum!)... if that fails, reply to this post and let us know what programs don't install at the very least!

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