Jump to content

error with iernonce.dll


Recommended Posts

I get the following error when trying to run the runonceex registry entries:

Error in iernonce.dll

Missing entry:runonceexprocess

The 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 plague

HKLM,"%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: af37f64e79719a445aa4715d5eeb9e97

HHHHEEEEELLLP :D:D:rolleyes::)

Link to comment
Share on other sites


Figured out my prob. I was typing:

rundll32.exe iernonce.dll,runonceexprocess

instead of:

rundll32.exe iernonce.dll,RunOnceExProcess

Now I have to figure out why it doesn't run during unattended setup.

Link to comment
Share on other sites

  • 2 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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