tIlldEath Posted April 4, 2006 Posted April 4, 2006 am new to the unattended cdscant make the cmdlines.txt worki have this line in my winnt.sif[GuiRunOnce];"%systemdrive%\cmdlines.txt"and i have the file located in >$OEM$\$1\cmdlines.txtso what am doing wrong ??
mkh Posted April 4, 2006 Posted April 4, 2006 helloYou must type :[GuiRunOnce]"%systemdrive%\cmdlines.txt"good luck
oioldman Posted April 4, 2006 Posted April 4, 2006 the;will have something to do with it.Remove it and see what happens
MHz Posted April 4, 2006 Posted April 4, 2006 (edited) Cmdlines.txt is placed in: "$OEM$\Cmdlines.txt"Sample contents of Cmdlines.txt[COMMANDS]"RegEdit /s RegTweaks.reg"Edit:Setup will look for this file by default at T-12, so do not worry about calling it from anywhere. Edited April 4, 2006 by MHz
tIlldEath Posted April 4, 2006 Author Posted April 4, 2006 i've moved my cmdlines file to the root of the $OEM$ directory, but it didnt seem to workas i've got an error saying something like the [c:\cmdlines.txt is missing ] i've also removed the ";" from this line [;"%systemdrive%\cmdlines.txt"]now am putting the cmdlines.txt back to the "$1" folder and re-installingwill keep u posted, thx
RogueSpear Posted April 4, 2006 Posted April 4, 2006 I can tell you with absolute confidence that Mhz was correct in stating that it goes into $OEM$ and that setup will look for it automatically. Perhaps the contents of your cmdlines.txt file has errors in it and that's why it's not working.
tIlldEath Posted April 4, 2006 Author Posted April 4, 2006 (edited) here is my cmdlines.txt[COMMANDS]"RunOnceEx.cmd""useraccounts.cmd""REGEDIT /S hkcu.reg""REGEDIT /S Install\Soft.reg"sorry, am not an expert Edited April 4, 2006 by tIlldEath
RogueSpear Posted April 4, 2006 Posted April 4, 2006 Well it certainly looks fine.. are you also putting the two .cmd and two .reg files in $OEM$ ?
MHz Posted April 4, 2006 Posted April 4, 2006 Your Cmdlines.txt is fine. You just need to add it into the root of $OEM$.Do not have an entry in Winnt.sif to execute Cmdlines.txt.Note: Cmdlines.txt will execute at T-12, even without a Winnt.sif file used.
tIlldEath Posted April 4, 2006 Author Posted April 4, 2006 thx to u guys am now almost 70% closer to what i want my problem was that the 2 .cmd, and .reg where in the folder called $1.when i moved them to the root of the $oem$ it worked like a charmthx very very very much guys for the help
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