MSFN Forum: $winnt$ file problems - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

$winnt$ file problems Rate Topic: -----

#1 User is offline   NukeLed 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 07-October 04

Posted 08 October 2004 - 03:12 AM

Hello,

After the installation of Windows i get an error that RunOnceEx.cmd can't be found in C:\install\RunOnceEx.cmd

But in my cleanup.cmd is writed to delete the folder: install

And when is searchd for folders and files i found: $winnt$
this file is in this folder: c:\windows\system32

I think this file calls RunOnceEx.cmd after it already is deleted.

I will ad the file so you can see what's in it.

Can somebody help me?

NukeLed

Attached File(s)




#2 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 08 October 2004 - 03:43 AM

If you have a runonceex.cmd, you should make a file called cmdlines.txt under $OEM$ folder. Enter your runonceex.cmd entry into it. Like below.
[COMMANDS]
"RunOnceEx.cmd"

Insert your cleanup.cmd at the end of the runonce.cmd.

#3 User is offline   NukeLed 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 07-October 04

Posted 08 October 2004 - 03:55 AM

i already have that and it works ok, but after i make the computer ready for delivery to the customer (by using sysprep) it says that it cannot find RunOnceEx.cmd

that's what i don't get

#4 User is offline   bean 

  • Group: Members
  • Posts: 6
  • Joined: 15-October 03

Posted 08 October 2004 - 04:02 AM

i get that too, i just told my cleanup file to delete the $winnt$ file in system32 and all is well

#5 User is offline   MHz 

  • SendToA3X v1.7
  • PipPipPipPipPipPipPip
  • Group: Members
  • Posts: 1,634
  • Joined: 02-August 04

Posted 08 October 2004 - 04:37 AM

$winnt$.inf is normal in sys32 directory.

You should have a this?

Quote

To run Cmdlines.txt during Mini-Setup
In the distribution folder, create:
%SYSTEMDRIVE%\Sysprep\i386\$OEM$

Copy Cmdlines.txt to the %SYSTEMDRIVE%\Sysprep\i386\$OEM$ folder.
In Sysprep.inf, add:
[Unattended]InstallFilesPath = C:\Sysprep\i386
Run Sysprep.

Now runonceex should be in the same folder as cmdlines.txt. %SYSTEMDRIVE%\Sysprep\i386\$OEM$ folder. So, it should be found as it is in the same directory?

Your supplied file has this
[GuiRunOnce]
"%systemdrive%\install\RunOnceEx.cmd"
You do not need guirunonce to run runonceex?
And your cleanup.cmd should be in the same directory as well? This should be run from rununceex as the last entry.
Make sense?

#6 User is offline   NukeLed 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 07-October 04

Posted 08 October 2004 - 05:00 AM

Thnxz all, i will try again and tell how it is working.

NukeLed

#7 User is offline   NukeLed 

  • Newbie
  • Group: Members
  • Posts: 25
  • Joined: 07-October 04

  Posted 08 October 2004 - 07:28 AM

Still got the same problem.

Share this topic:


Page 1 of 1
  • 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