mraeryceos Posted May 19, 2004 Share Posted May 19, 2004 I get the following error when trying to run the runonceex registry entries:Error in iernonce.dllMissing entry:runonceexprocessThe runonceex reg entries where successfully merged by right-click install of runoncex.inf:[Version]Signature="$Windows NT$"[SourceDisksNames];Windows XP and later syntax:;diskid = disk-description[,[tag-or-cab-file],[unused,path],[flags][,tag-file]]1 = %cdname%,%cdtagfile%,,\$OEM$[DefaultInstall]AddReg=RunXP[RunXP];http://support.microsoft.com/?kbid=232509 avoid microsoft help like the plagueHKLM,"%RunOnceEx%\",Title,0,"Another Day in Paradise"HKLM,"%RunOnceEx%\",Flags,0x00010001,20;This one I edited the default on the graphics driver inf;HKLM,"%RunOnceEx%\01",,,"Adjusting Display";HKLM,"%RunOnceEx%\01",1,,"%1%\$OEM$\1365VidChng.exe 1600x1200x32@75 -q"HKLM,"%RunOnceEx%\98",,,"Registry Settings"HKLM,"%RunOnceEx%\98",1,,"%1%\$OEM$\registry.bat"HKLM,"%RunOnceEx%\99",,,"Cleanup on Isle 9"HKLM,"%RunOnceEx%\99",1,,"%11%\cmd.exe /c del /Q """%16386%\Remote Assistance.lnk"""HKLM,"%RunOnceEx%\99",2,,"%11%\cmd.exe /c del /Q """%16406%\Windows Catalog.lnk"""HKLM,"%RunOnceEx%\99",3,,"%11%\cmd.exe /c del /Q """%16406%\Set Program Access and Defaults.lnk"""HKLM,"%RunOnceEx%\99",4,,"%11%\cmd.exe /c del /Q """%16406%\Windows Update.lnk"""HKLM,"%RunOnceEx%\99",5,,"%11%\cmd.exe /c ping 127.0.0.1 -n 7 -w 1000 > %systemroot%\Temp\null"[Strings]cdname = "Windows XP Professional CD-ROM"cdtagfile = "\win51ip"Run = "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"RunOnceEx = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx"md5 for iernonce.dll: af37f64e79719a445aa4715d5eeb9e97HHHHEEEEELLLP Link to comment Share on other sites More sharing options...
mraeryceos Posted May 19, 2004 Author Share Posted May 19, 2004 BTW, the cd never spins up. One of the registry entries above correctly reads E:\$OEM$\registry.bat, where E:\ is the cdrom drive Link to comment Share on other sites More sharing options...
mraeryceos Posted May 19, 2004 Author Share Posted May 19, 2004 Figured out my prob. I was typing:rundll32.exe iernonce.dll,runonceexprocessinstead of:rundll32.exe iernonce.dll,RunOnceExProcessNow I have to figure out why it doesn't run during unattended setup. Link to comment Share on other sites More sharing options...
homiebrah Posted May 28, 2004 Share Posted May 28, 2004 I received the same error message when running the following commands straight from cmdlines.txt:"rundll32 setupapi,InstallHinfSection XP 128 runonceex.inf""rundll32.exe iernonce.dll,RunOnceExProcess"The location of runonceex.inf was in the $OEM$ folder, but it was not being read for some reason. The second command generated the error message you saw.To fix it, I modified the path of the first command by adding a .\ in front of runonceex.inf and having both command run in a .cmd file called upon by cmdlines.txt. It ran flawlessly with no errors.I would check your command lines for any quote, if you are running it the same way. I'm not sure if the quotes in cmdlines.txt drive the two command crazy or not. Link to comment Share on other sites More sharing options...
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