bomek Posted September 1, 2004 Share Posted September 1, 2004 I've setup a unattended Windows 2000 cd and everything seem fine. Except one thing, cmdlines.txt is not read at all.Here is where i put the file:G:\I386\$OEM$\cmdlines.txtEven if i just do that, it don't work:[COMMANDS]"echo hello""pause"Here is a part of my winnt.sif[Unattended] UnattendMode = FullUnattended UnattendSwitch = Yes OemPreinstall = Yes OemSkipEula = Yes FileSystem = * WaitForReboot = No TargetPath = "\WINNT" DriverSigningPolicy = Ignore NonDriverSigningPolicy = Ignore Hibernation = NoAnyone run into the same thing?Thanks! Link to comment Share on other sites More sharing options...
Tsunami Posted September 1, 2004 Share Posted September 1, 2004 You have to run another batch file from cmdlines.txt. cmdlines.txt is not a batch file on it's own, it can only run other programs. Link to comment Share on other sites More sharing options...
sleepnmojo Posted September 1, 2004 Share Posted September 1, 2004 Tsunami is correct in this case. The echo and pause are part of the shell, so they shouldn't run. To run them either throw them in a cmd or bat file, or put cmd /c in front of each command. Link to comment Share on other sites More sharing options...
Alanoll Posted September 1, 2004 Share Posted September 1, 2004 Let's not forget the obvious, that if you're instlaling from CD, and booting FROM CD, then $OEM$ needs to be in the root of the CD.However, you can use CMDLINES.TXT like a command prompt, but they need to be external commands (regedit , applicaiton installs , cmd.exe) Link to comment Share on other sites More sharing options...
bomek Posted September 2, 2004 Author Share Posted September 2, 2004 Well, for the "pause", it was taken from this document (but it's for NT4):My current cmdlines.txt contain:[COMMANDS]"./logon.cmd""./ie6sp1.cmd""./mdac.cmd""./directx9.cmd""./dotnet.cmd""./wmp.cmd"So, the problem was cause my $OEM$ is in the i386 dir instead of the root??Thanks a lot! Link to comment Share on other sites More sharing options...
sleepnmojo Posted September 2, 2004 Share Posted September 2, 2004 If you do network installs, then $OEM$ goes in the i386 folder, otherwise it goes along side it, ie cdroot. The best thing to set it up for both, so both folders are in both locations. Link to comment Share on other sites More sharing options...
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