Jump to content

Recommended Posts

Posted

I cannot seem to get my cmdlines.txt file to work and I've double checked all my settings. Could you point me in a direction to look for the errors?


Posted

Cmdlines.txt normally resides within $OEM$ folder. $OEM$ folder is inline with the I386 folder. Cmdlines.txt should start with the line below.

[COMMANDS]

If that is not helpful then you may need to supply some details of your setting arrangement.

Posted
Cmdlines.txt normally resides within $OEM$ folder. $OEM$ folder is inline with the I386 folder. Cmdlines.txt should start with the line below.

[COMMANDS]

If that is not helpful then you may need to supply some details of your setting arrangement.

cmdlines.txt looks like this:

[COMMANDS]

"\new.cmd"

"\useraccounts.cmd"

doesn't work with or without the slashes.

new.cmd looks like this

@Echo Off

SET PP=%SystemDrive%\Install\applications\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Unattended Program Installation" /f

REG ADD %KEY%\001 /VE /D "Lan Driver" /f

REG ADD %KEY%\001 /V 1 /D "%PP%landriver\SetupYukonWin.exe /S /V/qn" /f

REG ADD %KEY%\002 /VE /D "Reboot" /f

REG ADD %KEY%\002 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\003 /VE /D "Audio Driver" /f

REG ADD %KEY%\003 /V 1 /D "%PP%audiodriver\setup.exe -s" /f

REG ADD %KEY%\004 /VE /D "Reboot" /f

REG ADD %KEY%\004 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\005 /VE /D "Direct X" /f

REG ADD %KEY%\005 /V 1 /D "%PP%directx\dxinstall /s" /f

REG ADD %KEY%\006 /VE /D "Reboot" /f

REG ADD %KEY%\006 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\007 /VE /D "Intel Audio Studio" /f

REG ADD %KEY%\007 /V 1 /D "%PP%audiostudio\ias.exe /s /v/qn" /f

REG ADD %KEY%\008 /VE /D "PowerDVD" /f

REG ADD %KEY%\008 /V 1 /D "%PP%powerdvd\PowerDVD\PowerDVD\setup.exe -s" /f

REG ADD %KEY%\009 /VE /D "Reboot" /f

REG ADD %KEY%\009 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\010 /VE /D "Adobe Reader 7.0" /f

REG ADD %KEY%\010 /V 1 /D "%PP%acrobat7\setup.exe /S /v/qn" /f

REG ADD %KEY%\011 /VE /D "TPP Storage" /f

REG ADD %KEY%\011 /V 1 /D "%PP%musickeg\tppstorage\Disk1\setup.exe -s" /f

REG ADD %KEY%\012 /VE /D "Phatnoise Music Manager" /f

REG ADD %KEY%\012 /V 1 /D "%PP%musickeg\musicman\musicman.exe" /f

REG ADD %KEY%\013 /VE /D "iPod Updater" /f

REG ADD %KEY%\013 /V 1 /D "%PP%ipodstuff\ipod.exe" /f

REG ADD %KEY%\014 /VE /D "iTunes" /f

REG ADD %KEY%\014 /V 1 /D "%PP%ipodstuff\itunes1.exe" /f

REG ADD %KEY%\015 /VE /D "SpyBot Search & Destroy" /f

REG ADD %KEY%\015 /V 1 /D "%PP%spybot\spybotsd13.exe /verysilent" /f

REG ADD %KEY%\016 /VE /D "HP 1510" /f

REG ADD %KEY%\016 /V 1 /D "%PP%hp1510\hp.exe" /f

REG ADD %KEY%\017 /VE /D "Reboot" /f

REG ADD %KEY%\017 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\018 /VE /D "Auto IT" /f

REG ADD %KEY%\018 /V 1 /D "%PP%autoit\autoitinst.exe" /f

REG ADD %KEY%\019 /VE /D "Panarama Maker" /f

REG ADD %KEY%\019 /V 1 /D "%PP%panmaker\panmaker.exe" /f

REG ADD %KEY%\020 /VE /D "Office 2003" /f

REG ADD %KEY%\020 /V 1 /D "%PP%office2k3\office2k3.exe" /f

REG ADD %KEY%\021 /VE /D "Digital Image Pro 10" /f

REG ADD %KEY%\021 /V 1 /D "%PP%digimage10pro\cd1\digisuite.exe" /f

REG ADD %KEY%\022 /VE /D "Frontpage 2003" /f

REG ADD %KEY%\022 /V 1 /D "%PP%frontpage2k3\frontpage.exe" /f

REG ADD %KEY%\023 /VE /D "Reboot" /f

REG ADD %KEY%\023 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\024 /VE /D "Intellitype" /f

REG ADD %KEY%\024 /V 1 /D "%PP%intellitype\intellitype.exe" /f

REG ADD %KEY%\025 /VE /D "Intellipoint" /f

REG ADD %KEY%\025 /V 1 /D "%PP%intellipoint\intellipoint.exe" /f

REG ADD %KEY%\026 /VE /D "Nero 6" /f

REG ADD %KEY%\026 /V 1 /D "%PP%nero\nero6.exe /SILENT /NOREBOOT /SN=xxxx-xxxx-xxxx-xxxx-xxxx-xxxx/WRITE_SN" /f

REG ADD %KEY%\027 /VE /D "Microsoft Money" /f

REG ADD %KEY%\027 /V 1 /D "%PP%msmoney06\setup.exe /qn" /f

REG ADD %KEY%\028 /VE /D "Antivirus" /f

REG ADD %KEY%\028 /V 1 /D "%PP%ezantivirus\avsetup.exe" /f

REG ADD %KEY%\029 /VE /D "Reboot" /f

REG ADD %KEY%\029 /V 1 /D "%PP%reboot.bat" /f

REG ADD %KEY%\030 /VE /D "Phatnoise Music Manager" /f

REG ADD %KEY%\030 /V 1 /D "%PP%musickeg\musicman\musicman.exe" /f

REG ADD %KEY%\031 /VE /D "Sun Java" /f

REG ADD %KEY%\031 /V 1 /D "%PP%sunjava\java.exe /S /v/qn" /f

REG ADD %KEY%\032 /VE /D "Setting Reboot Status for Music Manager" /f

REG ADD %KEY%\032 /V 1 /D "%PP%manage.bat" /f

REG ADD %KEY%\032 /VE /D "Shutdown" /f

REG ADD %KEY%\032 /V 1 /D "%PP%shutdown.bat" /f

EXIT

useraccounts.cmd looks like this

net user xxxxx xxxxxx /add

net localgroup Administrators xxxxx /add

net accounts /maxpwage:unlimited

REGEDIT /S autologon.reg

EXIT

and my winnt.sif looks like this:

[Data]

AutoPartition="0"

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=Yes

TargetPath=\WINDOWS

OemPnPDriversPath="Drivers\000_chipset;Drivers\001_display"

WaitForReboot="No"

DriverSigningPolicy=Ignore

UnattendSwitch="yes"

[GuiUnattended]

AdminPassword=xxxxx

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[userData]

ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

FullName="xxxx xxxx xxxx"

OrgName=""

ComputerName=xxxx

[Display]

BitsPerPel=32

Xresolution=1024

YResolution=768

AutoConfirm=1

[TapiLocation]

CountryCode=1

Dialing=Tone

AreaCode=740

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[shell]

CustomDefaultThemeFile="Windir%\resources\themes\royale.theme"

Thanks for whatever help you can provide. I can provide the directory structure if necessary. I also do not know if I should post this on this topic but the powerdvd silent install keeps asking for a reboot.

Posted (edited)

Have you got the cmd in the same directory as the CmdLines.txt

[COMMANDS]"REGEDIT /S 000.reg"

"REGEDIT /S 020.reg"

"REGEDIT /S 040.reg"

"REGEDIT /S 060.reg"

"REGEDIT /S 080.reg"

"Theme.cmd"

"RunOnceEx.cmd"

Edited by gunsmokingman
Posted
cmdlines.txt looks like this:

[COMMANDS]

"\new.cmd"

"\useraccounts.cmd"

doesn't work with or without the slashes.

Thanks for whatever help you can provide. I can provide the directory structure if necessary. I also do not know if I should post this on this topic but the powerdvd silent install keeps asking for a reboot.

Not sure of your backslash concept, but it is not a standard concept unless you forgot to add the leading period. Just remove the backslashes as not needed.

Winnt.sif is irrelevent to Cmdlines.txt operation. It could be totally missing and Cmdlines.txt will still execute.

PowerDVD will not install unless Cmdlines.txt works?

Is this a CD (or network) setup?

No current information displayed shows the problem of Cmdlines.txt not executing. If Cmdlines.txt is not in the correct spot then it will not execute. Perhaps your should show your directory structure if possible.

Posted (edited)

Hey, I finally figured it out. I had the name of the file spelled wrong. (commandlines.txt instead of cmdlines.txt) But I still can't get powerdvd to go completely unattended. It likes to halt and ask for a reboot. Thanks for the help.

Edited by mike1843

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