snowsquirrel Posted December 26, 2004 Share Posted December 26, 2004 My winnt.sif file for the most part works. But the following 3 sections do not work:1. The C: and D: partition are never converted from FAT32. (I created both using fdisk, before install).[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No FileSystem=ConvertNTFS TargetPath=\WINDOWS Repartition=yes2. The D & S folder is placed on C: partition.[GuiUNattended] ProfilesDir="d:\Documents and Settings" OEMSkipRegional=1 TimeZone=10 OemSkipWelcome=13. command0 is never exectued, yet I know it works because I have manually tried it, post install.[GuiRunOnce] command0="c:\install\batch_file.cmd"I researched all of these tags, and I can't seem to see what I am doing different that the KB articles.Does an unattended install leave a log anywhere so I can see what the heck has gone wrong? Is it obvious to anyone else what I have done wrong.~S Link to comment Share on other sites More sharing options...
S0mE0nesMiNd1 Posted December 27, 2004 Share Posted December 27, 2004 First and foremost (This is annoying to tell EVERYONE who ever posts their winnt.sif).......OemPreinstall=Yes <------- YOU MUST make that change. Link to comment Share on other sites More sharing options...
^_^ Posted December 27, 2004 Share Posted December 27, 2004 well, at least I figured that one out on my ownI actually read the tutorial to figure out why it wasn't precopying and then everything else would failgood tutorials, shame people don't read them Link to comment Share on other sites More sharing options...
S0mE0nesMiNd1 Posted December 27, 2004 Share Posted December 27, 2004 Kids like pictures because apparently they cant read. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 27, 2004 Share Posted December 27, 2004 Well, this is how MSFN is getting new members every days... Link to comment Share on other sites More sharing options...
Alanoll Posted December 27, 2004 Share Posted December 27, 2004 [GuiRunOnce] command0="c:\install\batch_file.cmd"Guess you don't read? [GuiRunOnce]"c:\install\batch_file.cmd"is how it should be. Link to comment Share on other sites More sharing options...
un4given1 Posted December 27, 2004 Share Posted December 27, 2004 [GuiRunOnce] command0="c:\install\batch_file.cmd"Guess you don't read?[GuiRunOnce]"c:\install\batch_file.cmd"is how it should be.If you are going to be such a jerk with something you post, you should atleast make sure you are correct about it. There is absolutely nothing wrong with using command0, command1 and so on... Test it, it works... and if you do some research on the microsoft website you will see this is referenced many times. Better luck next time... Link to comment Share on other sites More sharing options...
Drewdatrip Posted December 27, 2004 Share Posted December 27, 2004 Keep it clean and civil peepsSimadownna |Drew| Link to comment Share on other sites More sharing options...
Alanoll Posted December 27, 2004 Share Posted December 27, 2004 [GuiRunOnce] command0="c:\install\batch_file.cmd"Guess you don't read?[GuiRunOnce]"c:\install\batch_file.cmd"is how it should be.If you are going to be such a jerk with something you post, you should atleast make sure you are correct about it. There is absolutely nothing wrong with using command0, command1 and so on... Test it, it works... and if you do some research on the microsoft website you will see this is referenced many times. Better luck next time... please by all means....provide some links (and I'm not being to defensive, but I do like to know what works and what doesn't to avoid doing what I did before if indeed it was wrong)http://www.microsoft.com/resources/documen...icb_ui_ziss.asphttp://www.microsoft.com/resources/documen...gb_aut_grus.asphttp://www.microsoft.com/Resources/Documen..._guirunonce.asphttp://www.microsoft.com/resources/documen...fc_afr_lqmx.aspNot one of them use commandx="XXXX"but instead use"commandx"Also, Sorry if I was rude, didn't seem like I was....but I'll keep that into consideration from now on. Link to comment Share on other sites More sharing options...
MHz Posted December 27, 2004 Share Posted December 27, 2004 I'm neutral here, Setup Manager produces[GuiRunOnce] Command0=c:\run Command1=c:\wait Command2=c:\end1. The C: and D: partition are never converted from FAT32. (I created both using fdisk, before install).FileSystem:Specifies whether to convert the primary partition to NTFS or to leave it alone.Repartition:Specifies whether to delete all partitions on the first drive of the client computer and to reformat the drive with the NTFS file system.2. The D & S folder is placed on C: partition.Unsure, maybe a drive letter problem?3. command0 is never exectued, yet I know it works because I have manually tried it, post install.OemPreinstall=No, change to Yes would be the solution, as batch file is not copied over. Link to comment Share on other sites More sharing options...
Incroyable HULK Posted December 27, 2004 Share Posted December 27, 2004 2. The D & S folder is placed on C: partition.The second partition MUST be partitionned and formated BEFORE running your Unattended Installation. Setup won't format anything else than the Windows destination drive Link to comment Share on other sites More sharing options...
Alanoll Posted December 27, 2004 Share Posted December 27, 2004 I'm neutral here, Setup Manager produces[GuiRunOnce] Command0=c:\run Command1=c:\wait Command2=c:\endinteresting....I wonder why Microsoft doesn't agree with itself... Oh well, aslong as both works Link to comment Share on other sites More sharing options...
snowsquirrel Posted December 27, 2004 Author Share Posted December 27, 2004 With respect to OemPreinstall=no, all my files were being precopied, before the the gui part of install even comes up. The batch file is just not being run.If you are saying that with OemPreinstall=no, that nothing in $oem\$1\install should be copied, then I wonder if my winnt.sif is being ignored? That would explain a lot of things.I am new to windows, so I'll take your word for it that OemPreinstall should be set to yes. I made that change, burned the CD again, and had the same problem. All files are copied, but the GuiRunOnce section is not run. I have tried comman0="\path\to\batch.cmd" and just "\path\to\batch.cmd", but it makes no dif. Yet after install if I cut and paste my \path\to\batch.cmd" into a command window it runs fine, so it isn't a fat finger problem.I prepartition the hd and formatted C: and D: to FAT32 (I am not aware of a free tool that can do NTFS formatting. So the D: drive IS available during install. Perhaps I should set repartition to 0? That might also make the convertNTFS tag work too?The orgname, machine name, timezone, etc settings from my winnt.sif work. But it is like parts of it are ignored. It would be nice if there was a log to see what was going on, why parts of winnt.sif are rejected/ignored. Perharps one bad line is causing rest of winnt.sif to be ignored.Here is procedure I used to create CD:1. RIP MS-XP-Pro cd to win_xp_pro_sp2.2. slipstream sp23. use this sites tutorial to add win_sp_pro_sp2\$oem\$1\install\* files, and a batch file.4. use setupmgr to create a unattend.txt. 5. modified the unattend.txt according to my preferences, based on knowledge from this site.6. copy the unattend.bat to win_sp_pro\winnt.sif8. use MS's tool to create a bootable install CD (can't remmeber name of tool).I feel like I am close, but so far no cigar (on any of my 3 probs).~S Link to comment Share on other sites More sharing options...
SlimShady Posted December 27, 2004 Share Posted December 27, 2004 A tip:Make the filename uppercase: WINNT.SIFI had the same problem and that fixed it. Link to comment Share on other sites More sharing options...
^_^ Posted December 27, 2004 Share Posted December 27, 2004 My winnt.sif file for the most part works. But the following 3 sections do not work:1. The C: and D: partition are never converted from FAT32. (I created both using fdisk, before install).[Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=No FileSystem=ConvertNTFS TargetPath=\WINDOWS Repartition=yes2. The D & S folder is placed on C: partition.[GuiUNattended] ProfilesDir="d:\Documents and Settings" OEMSkipRegional=1 TimeZone=10 OemSkipWelcome=13. command0 is never exectued, yet I know it works because I have manually tried it, post install.[GuiRunOnce] command0="c:\install\batch_file.cmd"I researched all of these tags, and I can't seem to see what I am doing different that the KB articles.Does an unattended install leave a log anywhere so I can see what the heck has gone wrong? Is it obvious to anyone else what I have done wrong.~SI would be intrested in seeing your whole winnt.sif, your batch files, and the contents of your cmdlines.txtthen it would be a lot easier to diagnose what's going on.the other thing I didn't understand about your latest post was the win_sp_pro_sp2\$oem\$1\install\* pathIs that what you call the folder you have your xp setup files in? just curiousI'm sure since you made it this far, you know to make the path in your batch files identical to what is created on the C:\ drive from the $OEM$ folderjust checking the basics 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