July 12, 200521 yr hello friens i need a little help. though i have searched the forum and related sites there's something wrong with my unattended CD. heres the story; windows installs itself as i want creating the user and logs on. but it doesnt start runonceex.bat . I think theres something wrong at cmdlines.txt or runonceex.bat but i cant see the mistake. All i wanna do is an unattended CD which installs everything from CD.and reg tweaks to be executed for all users.can you show me whats wrong with my files and/or folders pls?And here's the details;the structure of folders are as followsc:/xpcd | 1386(and inside my winnt.sif) | OEM(and inside outologon.reg, regtweaks.reg, cmdlines.txt, cleanup.bat, runonceex.bat, useraccounts.bat) | SOFTWARE(inside software folders)and the details of my files are as follows againwinnt.sif===================================================;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=no[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes UnattendSwitch="yes" TargetPath=\WINDOWS Repartition=No FileSystem=* WaitForReboot=No DriverSigningPolicy=Ignore OemPnPDriversPath="Drivers\000_chipset;Drivers\001_network;Drivers\002_graphics"[GuiUnattended] AdminPassword=* EncryptedAdminPassword=No OEMSkipRegional=1 TimeZone=130 OemSkipWelcome=1[userData] ProductID=xxxxxxxxxxxxxxxxxxxxxxxxx FullName="user" OrgName="useruser" ComputerName=*[TapiLocation] CountryCode=90[RegionalSettings] LanguageGroup=6[identification] JoinWorkgroup=WORKGROUP[Networking] InstallDefaultComponents=Yes[Components] fax=on msmsgs=off accessopt=off dialer=off freecell=off hearts=off media_clips=off mplay=off msnexplr=off pinball=off rec=off zonegames=off Chat =off[shell] DefaultStartPanelOff = Yes [WindowsFirewall] Profiles = WindowsFirewall.TurnOffFirewall[WindowsFirewall.TurnOffFirewall] Mode = 0=================================================autologon.reg==================================================Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]"DefaultUserName"="user""DefaultPassword"="""AutoAdminLogon"="1"===================================================cmdlines.txt===================================================[COMMANDS] "useraccounts.cmd" "REGEDIT /S regTweaks.reg""RunOnceEx.cmd"====================================================runonceex.bat===================================================cmdow @ /HID@echo offFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "installing software" /fREG ADD %KEY%\000 /VE /D "Netframework 1.1" /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\software\netframework\netframework.exe /fREG ADD %KEY%\005 /VE /D "Directx_9c_redist" /fREG ADD %KEY%\005 /V 1 /D "%CDROM%\software\directx_9c_redist\dxsetup.exe /fREG ADD %KEY%\010 /VE /D "Bluetooth Software" /fREG ADD %KEY%\010 /V 1 /D "%CDROM%\software\bluetooth\setup.exe /fREG ADD %KEY%\015 /VE /D "winrar 3.42" /fREG ADD %KEY%\015 /V 1 /D "%CDROM%\software\winrar\wrar342.exe /s" /fREG ADD %KEY%\020 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\020 /V 1 /D "%CDROM%\software\adobereader\AdbeRdr70_enu.exe /qn" /fREG ADD %KEY%\025 /VE /D "Flashget 1.61" /fREG ADD %KEY%\025 /V 1 /D "%CDROM%\software\flashget\fgf160a.exe /S" /fREG ADD %KEY%\025 /V 2 /D "REGEDIT /S %CDROM%\software\flashget\flasget.reg" /fREG ADD %KEY%\030 /VE /D "McAfee Antivirus Entp.8" /fREG ADD %KEY%\030 /V 1 /D "%CDROM%\software\mcafeeantivirus\Setup.exe /QUIET /NORESTART /fREG ADD %KEY%\035 /VE /D "McAfee AntiSpy (Plugin for Entp.8)" /fREG ADD %KEY%\035 /V 1 /D "%CDROM%\software\mcafeeantispy\VSE80MAS.exe /qn" /fREG ADD %KEY%\040 /VE /D "Nero Burning ROM 6.6" /fREG ADD %KEY%\040 /V 1 /D "REGEDIT /S %CDROM%\software\nero\register.reg" /fREG ADD %KEY%\040 /V 2 /D "%CDROM%\software\Nero\Nero-6.6.0.12.exe /silent /noreboot" /fREG ADD %KEY%\045 /VE /D "Tune UP Utilities 2004" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\software\tuneuputil04\TU2004TrialEN.exe -q" /fREG ADD %KEY%\050 /VE /D "jetaudio 6.14" /fREG ADD %KEY%\050 /V 1 /D "%CDROM%\software\jetaudio\fo-j606.exe -s" /fREG ADD %KEY%\055 /VE /D "Agnitum OutpostPro" /fREG ADD %KEY%\055 /V 1 /D "%CDROM%\software\agnitum\OutpostProinstall.exe /qn" /fREG ADD %KEY%\060 /VE /D "Magic Folders" /fREG ADD %KEY%\060 /V 1 /D "%CDROM%\software\magicfolders\mfx.exe /qn" /f;REG ADD %KEY%\065 /VE /D "Nokia PC Suit 6.5" /f;REG ADD %KEY%\065 /V 1 /D "%CDROM%\software\nokia\Nokia_PC_Suite_65_gsm_tr.exe -s" /fREG ADD %KEY%\070 /VE /D "Sysmetrix 3.31" /fREG ADD %KEY%\070 /V 1 /D "%CDROM%\software\sysmetrix\sysmetrix-3.31.exe -s" /SREG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\080 /V 1 /D "%CDROM%\$OEM$\CleanUp.cmd" /fEXIT(note:some switches for softwares might be wrong but it doesnt matter. i can correct them later.)==================================================usraccount.bat==================================================net user userxp "" /addnet localgroup Administrators userxp /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXIT==================================================
July 12, 200521 yr Well first off... your directories seem a little wrong the way you've posted them. You should have an i386 folder (not 1386) and what you have as OEM should be $OEM$. For more info on this, look here.
July 12, 200521 yr cmdlines.txt===================================================[COMMANDS] "useraccounts.cmd" "REGEDIT /S regTweaks.reg""RunOnceEx.cmd"====================================================runonceex.bat==================================================Rename runonceex.bat to runonceex.cmd
July 12, 200521 yr I found this on a forum , if you're interested. It seems that *.cmd is only for use within XP/2000 as it automatically associates with CMD which *.bat doesn't do. Also, *.bat files are executed by CMD.exe indirectly as Command.com is the program that handles *.bat files and then passes your file to cmd.exe. Edited July 12, 200521 yr by Marthax
Create an account or sign in to comment