August 21, 200323 yr 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
August 21, 200323 yr 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.
August 21, 200323 yr 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.
August 21, 200323 yr 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
August 21, 200323 yr Author 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
August 21, 200323 yr %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 ?
August 21, 200323 yr Author 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
August 21, 200323 yr 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.
August 21, 200323 yr Author 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
August 21, 200323 yr Author 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
August 21, 200323 yr 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.
August 21, 200323 yr 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
Create an account or sign in to comment