gamehead200 Posted June 14, 2005 Share Posted June 14, 2005 OK, so I've slimmed down my install to about 150MB using nLite and gosh's method (yes, both of them). My unattended install works fine, except for the fact that cmdlines.txt is not getting parsed. I have my $OEM$ folder on the root of the CD. Here are the contents of my winnt.sif file:[Data]Autopartition = 0MsDosInitiated = 0UnattendedInstall = Yes[Unattended]UnattendMode = FullUnattendedUnattendSwitch = NoOemPreinstall = YesOemSkipEula = YesFileSystem = *WaitForReboot = NoNoWaitAfterTextMode = 1NoWaitAfterGUIMode = 1TargetPath = WindowsDriverSigningPolicy = IgnoreNonDriverSigningPolicy = Ignore[Display]Xresolution = 1024Yresolution = 768BitsPerPel = 32Vrefresh = 60[GuiUnattended]EncryptedAdminPassword = NoAdminPassword = "123456"TimeZone = 035OEMSkipRegional = 1OemSkipWelcome = 1[Components]Indexsrv_system = Off[UserData]ProductKey = "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"ComputerName = SLIM-XPFullName = "Your Mom"OrgName = "Home"[RegionalSettings]Language = 0409[Networking]InstallDefaultComponents = Yes[Identification]JoinWorkgroup = HOMEEverything looks fine to me. OemPreinstall is set to YES, so everything in the $OEM$ folder, in theory, should do something, right?Here is my cmdlines.txt:[COMMANDS]"useraccounts.cmd""REGEDIT32.EXE /S tweaks.reg"And my useraccounts.cmd:net user Michael nottellingyou /addnet localgroup Administrators Michael /addnet accounts /maxpwage:unlimitedEXITAll I'm trying to do is basic stuff. Adding a user account and adding some registry tweaks. None of this happens during the install. I've tried different things for the past few days, reinstalling XP on VMware about 20 times, but NOTHING works.One more thing; All the files (cmdlines.txt, useraccounts.cmd, tweaks.reg) are in the $OEM$ folder. What am I doing wrong!? Link to comment Share on other sites More sharing options...
Marthax Posted June 14, 2005 Share Posted June 14, 2005 Could you perhaps show a screenshot of your XPCD folder with all the files in it and how the folders are arranged? Link to comment Share on other sites More sharing options...
esanford Posted June 14, 2005 Share Posted June 14, 2005 If it's anything like my experience with cmdlines.txt, the only way I could get it to work at all was to use this syntax:[COMMANDS]command1="useraccounts.cmd"command2="REGEDIT32.EXE /S tweaks.reg"-Eric Link to comment Share on other sites More sharing options...
gamehead200 Posted June 14, 2005 Author Share Posted June 14, 2005 Remember, now... I used nLite as well as gosh's method... Also, the winnt.sif file is working fine in the BOOT folder...The BOOT folder has all the files necessary to partition the drive, etc. Also includes the setup file, txtsetup.sif...The I386 folder has all the necessary XP files to be installed.The rest of the files in the root of the CD are for my CD's menu, such as DELOAD.BIN, DISKEM1X.BIN, LOADER.BIN, and DISKEMU.CMD... The DAT files are Disk images... If you don't know how gosh's method works, I suggest you read his tutorial:http://gosh.msfnhosting.comSee screeny: Link to comment Share on other sites More sharing options...
gamehead200 Posted June 14, 2005 Author Share Posted June 14, 2005 I've finally figured it out... I chose an option in nLite that removes the net.exe file... Just... I don't know which component removes it and I'd rather not use the box to keep files... Anyone know what option removes net.exe? (I know, this should be in the nLite forum, but it started off with cmdlines.txt not working) Edit: I was removing Command-Line Tools without thinking... Hopefully it will work this time! Link to comment Share on other sites More sharing options...
Alanoll Posted June 15, 2005 Share Posted June 15, 2005 GO GAMEHEAD200!!! 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