dukeleto Posted August 14, 2004 Posted August 14, 2004 I have been using my slipstreamed and unnattended win XP SP1 install cd for ages and it always works fine.When I run the one I have done now in SP2.. using the same runonceex.cmd file listed here:cmdow @ /HID@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\001 /VE /D "Preparing Installation..." /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /fREG ADD %KEY%\010 /VE /D "Installing MSN Messenger 6 Final" /fREG ADD %KEY%\010 /V 1 /D "%systemdrive%\apps\MsnMsgs.msi /QB"REG ADD %KEY%\020 /VE /D "Office 2003 Professional" /fREG ADD %KEY%\020 /V 1 /D "%systemdrive%\apps\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-"REG ADD %KEY%\030 /VE /D "Cleaning Up and Rebooting" /fREG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\cleanup.cmd" /fEXITI get this error:c:\install>cmdow @ /hid'cmdow' is not recognized as an internal or external command, operable program or batch file.The it lists "The operation completed successfully" for times, I'm assuming for each of the four steps in my runonceex.cmd file.But the thing is.. none of my actions run, which is odd.. as I have not changed a thing in this file and it works perfectly on my SP1 unnattended.The only change I have made to this install is to put the hacked files in for the tcip and wfp etc... If any one has any clues, please tell meThanks
dukeleto Posted August 14, 2004 Author Posted August 14, 2004 How do I find that out... which directory should it be in ?Wouldn't it be in the same place as the one on SP1?
Alanoll Posted August 14, 2004 Posted August 14, 2004 it would most likely end up in %systemdrive%\windows\system32Keep in mind cmdow.exe does NOT ship with XP. You MUST download it. And yes the "Operation COmpleted Successfully" is the importing of the keys.After importing the RunOnceEX keys, did you restart the computer?
visaversa Posted August 14, 2004 Posted August 14, 2004 place a copy in $OEM$\$$\SYSTEM32 so it get copied to %systemdrive%\windows\system32 during xp installcmdow.exe
dukeleto Posted August 14, 2004 Author Posted August 14, 2004 Thanks heaps for the help guys, and for the file.This is the odd part... I've been using the same runonceex.cmd file for ages, and I've never put the file in that folder before... the only two files I have in there are for my oem info etc.So why has this just cropped up now?Thanks.
Denney Posted August 14, 2004 Posted August 14, 2004 Where did you put the CMDOW.EXE file on the original CD? Putting it in the same place on the new CD should fix your problem.
dukeleto Posted August 14, 2004 Author Posted August 14, 2004 This is the first time i've ever heard of this file.. and I've read all of the unnattended stuff on msfn.org..So i've been using my SP1 unattended with that same runonceex.cmd file and it installed the apps perfectly every time...so i can not explain why this is.edit:i just did a search with hidden files shown on the C:\WINDOWS\system32 on my current XP Pro sytem, and that file does not exist
visaversa Posted August 14, 2004 Posted August 14, 2004 are you sure, then that error must have been on this build (sp1) also no?
dukeleto Posted August 14, 2004 Author Posted August 14, 2004 No, my SP1 unnattended works perfectly.
Denney Posted August 15, 2004 Posted August 15, 2004 @dukeleto: You MUST of had that "file not found" error on SP1 because the "CMDOW.EXE" file is NOT included with Windows.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now