MSFN Forum: Problem with GuiRunOnce - MSFN Forum

Jump to content



  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Problem with GuiRunOnce Help me !! Rate Topic: -----

#1 User is offline   Negerle 

  • Group: Members
  • Posts: 7
  • Joined: 18-August 03

Posted 21 August 2003 - 12:58 AM

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


#2 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 01:01 AM

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.

#3 User is offline   webmedic 

  • fixer of things broken
  • PipPipPipPip
  • Group: Members
  • Posts: 621
  • Joined: 15-August 03

Posted 21 August 2003 - 01:02 AM

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.

#4 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 01:05 AM

webmedic, on Aug 21 2003, 05:02 PM, said:

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

#5 User is offline   webmedic 

  • fixer of things broken
  • PipPipPipPip
  • Group: Members
  • Posts: 621
  • Joined: 15-August 03

Posted 21 August 2003 - 01:11 AM

yea and I'm so tired my spelling is getting really bad.

#6 User is offline   Negerle 

  • Group: Members
  • Posts: 7
  • Joined: 18-August 03

Posted 21 August 2003 - 01:46 AM

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

#7 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 01:54 AM

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

#8 User is offline   Negerle 

  • Group: Members
  • Posts: 7
  • Joined: 18-August 03

Posted 21 August 2003 - 02:34 AM

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

#9 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 02:42 AM

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.

#10 User is offline   Negerle 

  • Group: Members
  • Posts: 7
  • Joined: 18-August 03

Posted 21 August 2003 - 03:00 AM

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

#11 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 03:02 AM

Where is your $OEM$ folder placed on your CD?

#12 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01
  • OS:ME
  • Country: Country Flag

Posted 21 August 2003 - 03:26 AM

is OemPreinstall=Yes in [Unattended]?

#13 User is offline   Negerle 

  • Group: Members
  • Posts: 7
  • Joined: 18-August 03

Posted 21 August 2003 - 03:43 AM

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

#14 User is offline   Aaron 

  • The MSFN Banana
  • Group: Patrons
  • Posts: 5,767
  • Joined: 17-August 01
  • OS:ME
  • Country: Country Flag

Posted 21 August 2003 - 05:10 AM

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.

#15 User is offline   Robbedoeske 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 20-August 03

Posted 21 August 2003 - 05:45 AM

i had this problem too, you MUST create the $OEM$ directory inside i386

if you don't do this, you must specify the path to $OEM$ in your unattended answerfile

#16 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 05:49 AM

According to my knowledge the $OEM$ directory must not be created inside the i386 directory, but along side it.

ie.
CDROM:\$OEM$\$1 ... etc.
CDROM:\i386\

Not
CDROM:\i386\$OEM$

but i could be wrong :)

#17 User is offline   Robbedoeske 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 20-August 03

Posted 21 August 2003 - 05:57 AM

that's what the guide said idd, but i tried it and it didn't work untill i placed $OEM$ inside my i386 folder :)

#18 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 06:04 AM

*shrugs*
Strange :)

#19 User is offline   Robbedoeske 

  • Newbie
  • Group: Members
  • Posts: 12
  • Joined: 20-August 03

Posted 21 August 2003 - 06:09 AM

http://support.microsoft.com/support/kb/ar...s/q254/0/78.asp


Create a $oem$\$1\Drivers folder in the I386 folder. ...


if microsoft says it, it's true !!!!!! :rolleyes:


lol :)

#20 User is offline   b0r3d 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 821
  • Joined: 03-August 03

Posted 21 August 2003 - 06:21 AM

If Microsoft says it, then it must be a load of bollocks :)

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy