jgut Posted April 23, 2004 Posted April 23, 2004 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 offTITLE Windows XP SP1 - Unattended InstallationECHO.ECHO Over the next few minutes you will see automated installations ECHO of various sofware applications, windows updates, and registryECHO tweaks being implemented. 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 Catalog.lnk"DEL "%systemdrive%\Documents and Settings\All Users\Start Menu\Set Program Access and Defaults.lnk"ECHO.ECHO Installing TweakUI 2.10 PowertoyECHO Please wait...start /wait %systemdrive%\install\Powertoys\TweakUI.msi /qnECHO.ECHO Installing Flash and Shockwave PlayerECHO Please Wait...start /wait %systemdrive%\Install\Applications\Shockwave\Flashshockwavefull.exe /sECHO.ECHO Applying Registry Tweaks...REGEDIT /S %systemdrive%\install\RegTweaks.regECHO.ECHO Installing DirectX 9.0bECHO Please wait...start /wait %systemdrive%\install\DirectX9b\DX9NTopk.exeECHO.ECHO Installing Movie Maker 2.0ECHO Please wait...start /wait %systemdrive%\install\MovieMaker\mm20.msi /qnECHO.ECHO Installing Windows Media Player 9ECHO Please wait...start /wait %systemdrive%\install\WMP9\mpsetupxp.exe /Q:A /R:NECHO.ECHO Deleting ASP.NET User Account created by .NET Framework 1.1...net user aspnet /deleteECHO.ECHO Installing Office 2000 Disk 1ECHO Please wait...start /wait %systemdrive%\install\Applications\Office\setup.exe TRANSFORMS=Unattended1.MST /qb-ecHO.ECHO Installing Quicken 2003ECHO 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=SuppressECHO.ECHO Registering Alcohol 120%...REGEDIT /S %systemdrive%\Install\Applications\Alcohol_120\register.reg /f ECHO.ECHO Installing Partition Magic 8.0ECHO Please wait...start /wait %systemdrive%\install\Applications\PM800\setup.exe /S /V/QN -f1setup.iss /fECHO.ECHO.ECHO Installing Office 2000 Disk 2ECHO Please wait...start /wait %systemdrive%\install\Applications\Office_Disk2\setup.exe TRANSFORMS=Unattended2.MST /qb-ECHO Installing Sygate Personal Firewall ProECHO Please wait...start /wait %systemdrive%\Install\Applications\Sygate\pspf.exe /QN Reboot=SupressECHO.ECHO Registering Sygate Personal Firewall Pro...REGEDIT /S %systemdrive%\install\Applications\Sygate\offline.regECHO.ECHO Installing WinIsoECHO Please wait...start /wait %systemdrive%\install\Applications\WinISO\WinISO53.exe /VERYSILENT /SP-ECHO.ECHO Installing WinRAR 3.30ECHO Please wait...start /wait %systemdrive%\install\Applications\WinRAR\wrar330.exe /sECHO.ECHO Installing Adobe Reader 6ECHO Please wait...start /wait %systemdrive%\install\Applications\AdobeReader6\AdbeRdr60_enu_full.exe -p"-s /v\"/qn\""ECHO.ECHO Installing Goggle ToolbarECHO Please wait...start /wait %systemdrive%\install\Applications\Goggle\GoogleToolbarInstaller.exe /q /dECHO.ECHO Installing Kazza Lite K-plus-plus 2.43ECHO Please wait...start /wait %systemdrive%\install\Applications\KazaaLite\K-Lite.exe /silentECHO.ECHO Installing Lavasoft Ad-Aware 6 Build 181ECHO Please wait...start /wait %systemdrive%\install\Applications\AdAware\aaw6.exe /sECHO.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 /norebootECHO.ECHO Installing Norton System Works 2002ECHO Please wait...start /wait %systemdrive%\install\Applications\Norton\SETUP.EXE /qb REBOOT=ReallySuppress /QBECHO.ECHO Installing Sun Java VM 1.4.2ECHO 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%\DriversRD /S /Q %systemdrive%\installEXIT;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
Alanoll Posted April 23, 2004 Posted April 23, 2004 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.
[BM]Crusher Posted April 23, 2004 Posted April 23, 2004 alanoll you are too correct hehluckily 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!
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