Negerle Posted August 21, 2003 Share Posted August 21, 2003 Hi,I dont know, where the problem is.created a unattended xp cd (version: german)on the cdrom is the directory: \$OEM$\$1\install \drivers\<original windows cd + sp1a>in the directory \$OEM$\$1\install is the file main_batch.cmd.In the unattendet files -> winnt.sif is the entry:[GuiRunOnce] %systemdrive%\install\main_batch.cmdbefor the Win XP finish, execute normale the file %systemdrive%\install\main_batch.cmd it this correct ? but i became a failed message on the screen... dont find the file c:\install\main_batch.cmd... why its so ???can anyone help me ?thanksNegerle Link to comment Share on other sites More sharing options...
b0r3d Posted August 21, 2003 Share Posted August 21, 2003 Check that you have saved your batch file as batch.cmd and not batch.txt or batch.cmd.txt. Its a common mistake to make. Link to comment Share on other sites More sharing options...
webmedic Posted August 21, 2003 Share Posted August 21, 2003 Make sure yousved it wiht the cmd ending and not the txt ending. If you dojnt have this set in your visual settings windows will not show you the ending of your files. Link to comment Share on other sites More sharing options...
b0r3d Posted August 21, 2003 Share Posted August 21, 2003 Make sure yousved it wiht the cmd ending and not the txt ending. If you dojnt have this set in your visual settings windows will not show you the ending of your files.beat you Link to comment Share on other sites More sharing options...
webmedic Posted August 21, 2003 Share Posted August 21, 2003 yea and I'm so tired my spelling is getting really bad. Link to comment Share on other sites More sharing options...
Negerle Posted August 21, 2003 Author Share Posted August 21, 2003 hi,im surely the file called main_batch.cmd ... not main_batch.cmd.txti think the directory \$OEM$\$1\install\main_batch.cmd is wrong to call %systemdrive%\install\main_batch.cmd."CDROM:\$OEM$\$1\install" = "%systemdrive%"It dont work !!Negerle Link to comment Share on other sites More sharing options...
b0r3d Posted August 21, 2003 Share Posted August 21, 2003 %systemdrive% = <drive where you installed windows>The batch files arent supposed to run until windows itself has been fully installed.If the error you are getting tells you that it cant find the file, it means there must be a typo there somewhere.Have you tried double clicking the batch file, and seeing if it runs correctly ? Link to comment Share on other sites More sharing options...
Negerle Posted August 21, 2003 Author Share Posted August 21, 2003 Hi,When die Windows install finished, and i go on the cdrom in the directory \$OEM$\$1\install\ and double click the file ... dont work - error message . Its the same error, who start the batch from winnt.sif (GuiRunOnce).I dont think it work when i start the batch manual, the batch file is in the Directory $OEM$\$1\install. the windows copy the $OEM$\$1\install to %systemdrive%\install but i think the copy its not korrekt.I readed same of posts, i dont know what i make false.I have a full unattent install but i must choose the partition and in the ending of installing choose the username.mybe is this the error ???thanks for the helpnegerle Link to comment Share on other sites More sharing options...
b0r3d Posted August 21, 2003 Share Posted August 21, 2003 You are getting an error because you are trying to run it off the CD.If you have the batch file in the GUIRUNONCE section of your winnt.sif file, make sure that the files in the $OEM$\$1 directory are being copied to the \install directory on %sytemdrive%.For example. If you have placed your batch file in $OEM$\$1\Install on your CD, they will automatically be copied to your %systemdrive%. Check that the paths in your winnt.sif file are consistant to that of your actual directory structure. Link to comment Share on other sites More sharing options...
Negerle Posted August 21, 2003 Author Share Posted August 21, 2003 im surley the file main_batch.cmd ist in the directory on CDROM:\$OEM$\$1\Install\main_batch.cmdthe path in the winnt.sif file is %systemdrive%\Install\main_batch.cmdbut the Installing of Windows dont find the %systemdrive%\Install\main_batch.cmd.mybe the copy from CDROM to %systemdrive%\Install dont work ??it this possible ?Negerle Link to comment Share on other sites More sharing options...
b0r3d Posted August 21, 2003 Share Posted August 21, 2003 Where is your $OEM$ folder placed on your CD? Link to comment Share on other sites More sharing options...
Aaron Posted August 21, 2003 Share Posted August 21, 2003 is OemPreinstall=Yes in [unattended]? Link to comment Share on other sites More sharing options...
Negerle Posted August 21, 2003 Author Share Posted August 21, 2003 the $OEM$ is place on my cd.is OemPreinstall=Yes in [unattended]? --> im not surely i think i have no (im at work)when i have no in the Unattendet file is this false ?negerle Link to comment Share on other sites More sharing options...
Aaron Posted August 21, 2003 Share Posted August 21, 2003 when its on "No", it won't copy the contents of your $oem$ directories to the relevant directories on the system drive. This might explain why you're getting file not found errors. Link to comment Share on other sites More sharing options...
Robbedoeske Posted August 21, 2003 Share Posted August 21, 2003 i had this problem too, you MUST create the $OEM$ directory inside i386if you don't do this, you must specify the path to $OEM$ in your unattended answerfile 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