Jump to content

Recommended Posts

Posted

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 off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\prepare.cmd" /f

REG ADD %KEY%\010 /VE /D "Installing MSN Messenger 6 Final" /f

REG ADD %KEY%\010 /V 1 /D "%systemdrive%\apps\MsnMsgs.msi /QB"

REG ADD %KEY%\020 /VE /D "Office 2003 Professional" /f

REG 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" /f

REG ADD %KEY%\030 /V 1 /D "%systemdrive%\install\cleanup.cmd" /f

EXIT

I 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 me

Thanks


Posted

it would most likely end up in %systemdrive%\windows\system32

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

Posted

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.

Posted

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.

Posted

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...