Jump to content

Recommended Posts

Posted

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.cmd

befor 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 ?

thanks

Negerle


Posted

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.

Posted

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.

Posted
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 :)

Posted

hi,

im surely the file called main_batch.cmd ... not main_batch.cmd.txt

i 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

Posted

%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 ?

Posted

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 help

negerle

Posted

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.

Posted

im surley the file main_batch.cmd ist in the directory on

CDROM:\$OEM$\$1\Install\main_batch.cmd

the path in the winnt.sif file is %systemdrive%\Install\main_batch.cmd

but 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

Posted

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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...