First off I've follow the tutorial to make the unattended cd. So I make one and tested with VMWare. The install of xp went well but the error part is where it attemp to install the softwares. It give me the error of wrong path of the software. Below is my batch_file.cmd
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 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 Applying Registry Tweaks... REGEDIT /S %systemdrive%\install\RegTweaks.reg ECHO. ECHO Deleting ASP.NET User Account created by .NET Framework 1.1... net user aspnet /delete ECHO. ECHO Starting installation of Applications ECHO. ECHO Installing Lavasoft Ad-Aware SE Pro v1.03 ECHO Please wait... start /wait %systemdrive%\install\Applications\AdAware\aawsepro.exe /s ECHO. ECHO Installing Alcohol 120% ECHO Please wait... start /wait %systemdrive%\install\Applications\Alcohol120\setup.exe /qn ECHO. ECHO Installing AVG Anti-Virus v7... SET SETUP="%systemdrive%\Install\Applications\AVG7\avgsetup.exe" [COLOR=blue]%SETUP% /SCRIPT_FILE "%systemdrive%\Install\Applications\AVG7\avgsetup.ini" %1 %2 %3 %4 %5 %6 %7 %8 %9[/COLOR] ECHO. ECHO Installing Flashget v1.6 ECHO Please wait... start /wait %systemdrive%\install\Applications\flashget\fgf140.exe /S ECHO. ECHO Registering Flashget v1.6... REGEDIT /S %systemdrive%\install\Applications\flashget\register.reg ECHO. ECHO Installing Kazaa Lite Mega Codec v1.01 ECHO Please wait... start /wait %systemdrive%\install\Applications\K-Lite Mega Codec\klmcodec101.exe /Silent ECHO. ECHO Installing Nero 6.3.1.6... ECHO Please wait... start /wait %systemdrive%\install\Applications\Nero\Nero6316.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx /WRITE_SN ECHO. ECHO Installing Spybot Search & Destroy v1.2 ECHO Please wait... start /wait %systemdrive%\install\Applications\SpyBot\spybotsd12.exe /Silent ECHO. ECHO Installing SpywareBlaster v3.1 ECHO Please wait... start /wait %systemdrive%\install\Applications\Spywareblaster\spywareblastersetup.exe /verysilent ECHO. ECHO Installing Sygate Personal Firewall Pro v5.5 Build 2637 ECHO Please wait... start /wait %systemdrive%\install\Applications\Sygate\pspf.msi /QN Reboot=Supress ECHO. ECHO Installing Winamp v5.04 Pro ECHO Please wait... start /wait %systemdrive%\install\Applications\Winamp5\winamp504_pro.exe /S ECHO. ECHO Registering Winamp v5.04 Pro... REGEDIT /S %systemdrive%\install\Applications\Winamp\register.reg ECHO. ECHO Installing Window Washer 5 ECHO Please wait... start /wait %systemdrive%\install\Applications\Window Washer\windowwasher5setup.exe /S ECHO. ECHO Installing WinDVD 6 ECHO Please wait... start /wait %systemdrive%\install\Applications\WinDVD\WinDVD6.exe /S ECHO. ECHO Installing WinRAR 3.30 ECHO Please wait... start /wait %systemdrive%\install\Applications\WinRAR\wrar330.exe /s ECHO. 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%\Drivers RD /S /Q %systemdrive%\install EXIT
and here is my winnt.sif
;SetupMgrTag [Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=yes [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" TargetPath=\WINDOWS [GuiUnattended] AdminPassword="pass" EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=20 OemSkipWelcome=1 [Display] BitsPerPel=32 Xresolution=1024 Yresolution=768 Vrefresh=85 [UserData] ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx FullName="TEST" OrgName="TESTING" ComputerName=* [TapiLocation] CountryCode=1 Dialing=Tone AreaCode=612 [RegionalSettings] LanguageGroup=10,9,14,1 [Identification] JoinWorkgroup=WORKGROUP [Networking] InstallDefaultComponents=No [NetAdapters] Adapter1=params.Adapter1 [params.Adapter1] INFID=* [NetClients] MS_MSClient=params.MS_MSClient [NetProtocols] MS_TCPIP=params.MS_TCPIP [params.MS_TCPIP] DNS=Yes UseDomainNameDevolution=No EnableLMHosts=Yes AdapterSections=params.MS_TCPIP.Adapter1 [params.MS_TCPIP.Adapter1] SpecificTo=Adapter1 DHCP=Yes WINS=No NetBIOSOptions=0 [Components] msmsgs=off msnexplr=off zonegames=off [GuiRunOnce] %systemdrive%\install\batch_file.cmd
the part that gets me is that the RegTweaks.reg work but the software won't install with error wrong path. My xp is install in Drive E:/ I've set up the $OEM$ and all it subfolder accordingly to the tutorial. [E:\XPCD\$OEM$\$1\Install\Apllications] in that path is where I put the softwares in.
p.s
I've read throught the forum and came across with "RunOnceEx.cmd" I like the GUI of it but I'm very limited on programming and languages. So if anybody can convert my batch_file.cmd to RunOnceEx.cmd I would greatly appreciated. For now I'm very confusing about this unattended project.
If I'm doing anything wrong of making this project pls do tell me what's wrong and how to fix it. Any help or comment or clarification is greatly appreciated. Thank You.



Help
Back to top









