NukeLed Posted October 8, 2004 Posted October 8, 2004 Hello,After the installation of Windows i get an error that RunOnceEx.cmd can't be found in C:\install\RunOnceEx.cmdBut in my cleanup.cmd is writed to delete the folder: installAnd when is searchd for folders and files i found: $winnt$this file is in this folder: c:\windows\system32I 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_winnt_.inf
MHz Posted October 8, 2004 Posted October 8, 2004 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.
NukeLed Posted October 8, 2004 Author Posted October 8, 2004 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.cmdthat's what i don't get
bean Posted October 8, 2004 Posted October 8, 2004 i get that too, i just told my cleanup file to delete the $winnt$ file in system32 and all is well
MHz Posted October 8, 2004 Posted October 8, 2004 $winnt$.inf is normal in sys32 directory.You should have a this?To run Cmdlines.txt during Mini-SetupIn 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\i386Run 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?
NukeLed Posted October 8, 2004 Author Posted October 8, 2004 Thnxz all, i will try again and tell how it is working.NukeLed
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now