Jump to content

Recommended Posts

Posted

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 follows

c:/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 again

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

FOR %%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\RunOnceEx

REG ADD %KEY% /V TITLE /D "installing software" /f

REG ADD %KEY%\000 /VE /D "Netframework 1.1" /f

REG ADD %KEY%\000 /V 1 /D "%CDROM%\software\netframework\netframework.exe /f

REG ADD %KEY%\005 /VE /D "Directx_9c_redist" /f

REG ADD %KEY%\005 /V 1 /D "%CDROM%\software\directx_9c_redist\dxsetup.exe /f

REG ADD %KEY%\010 /VE /D "Bluetooth Software" /f

REG ADD %KEY%\010 /V 1 /D "%CDROM%\software\bluetooth\setup.exe /f

REG ADD %KEY%\015 /VE /D "winrar 3.42" /f

REG ADD %KEY%\015 /V 1 /D "%CDROM%\software\winrar\wrar342.exe /s" /f

REG ADD %KEY%\020 /VE /D "Adobe Reader 7" /f

REG ADD %KEY%\020 /V 1 /D "%CDROM%\software\adobereader\AdbeRdr70_enu.exe /qn" /f

REG ADD %KEY%\025 /VE /D "Flashget 1.61" /f

REG ADD %KEY%\025 /V 1 /D "%CDROM%\software\flashget\fgf160a.exe /S" /f

REG ADD %KEY%\025 /V 2 /D "REGEDIT /S %CDROM%\software\flashget\flasget.reg" /f

REG ADD %KEY%\030 /VE /D "McAfee Antivirus Entp.8" /f

REG ADD %KEY%\030 /V 1 /D "%CDROM%\software\mcafeeantivirus\Setup.exe /QUIET /NORESTART /f

REG ADD %KEY%\035 /VE /D "McAfee AntiSpy (Plugin for Entp.8)" /f

REG ADD %KEY%\035 /V 1 /D "%CDROM%\software\mcafeeantispy\VSE80MAS.exe /qn" /f

REG ADD %KEY%\040 /VE /D "Nero Burning ROM 6.6" /f

REG ADD %KEY%\040 /V 1 /D "REGEDIT /S %CDROM%\software\nero\register.reg" /f

REG ADD %KEY%\040 /V 2 /D "%CDROM%\software\Nero\Nero-6.6.0.12.exe /silent /noreboot" /f

REG ADD %KEY%\045 /VE /D "Tune UP Utilities 2004" /f

REG ADD %KEY%\045 /V 1 /D "%CDROM%\software\tuneuputil04\TU2004TrialEN.exe -q" /f

REG ADD %KEY%\050 /VE /D "jetaudio 6.14" /f

REG ADD %KEY%\050 /V 1 /D "%CDROM%\software\jetaudio\fo-j606.exe -s" /f

REG ADD %KEY%\055 /VE /D "Agnitum OutpostPro" /f

REG ADD %KEY%\055 /V 1 /D "%CDROM%\software\agnitum\OutpostProinstall.exe /qn" /f

REG ADD %KEY%\060 /VE /D "Magic Folders" /f

REG 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" /f

REG ADD %KEY%\070 /VE /D "Sysmetrix 3.31" /f

REG ADD %KEY%\070 /V 1 /D "%CDROM%\software\sysmetrix\sysmetrix-3.31.exe -s" /S

REG ADD %KEY%\080 /VE /D "Cleaning Up and Rebooting" /f

REG ADD %KEY%\080 /V 1 /D "%CDROM%\$OEM$\CleanUp.cmd" /f

EXIT

(note:some switches for softwares might be wrong but it doesnt matter. i can correct them later.)

==================================================

usraccount.bat

==================================================

net user userxp "" /add

net localgroup Administrators userxp /add

net accounts /maxpwage:unlimited

REGEDIT /S autologon.reg

EXIT

==================================================


Posted

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.

Posted

cmdlines.txt

==================================================

=

[COMMANDS]

"useraccounts.cmd"

"REGEDIT /S regTweaks.reg"

"RunOnceEx.cmd"

==================================================

==

runonceex.bat

==================================================

Rename runonceex.bat to runonceex.cmd

Posted (edited)

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 by Marthax

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