Jump to content

Problem with GuiRunOnce


Recommended Posts

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

Link to comment
Share on other sites


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

Link to comment
Share on other sites

%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

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

Link to comment
Share on other sites

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

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

Link to comment
Share on other sites

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

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