MSFN Forum: error with iernonce.dll - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

error with iernonce.dll Rate Topic: -----

#1 User is offline   mraeryceos 

  • Member
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 11-April 04

Posted 18 May 2004 - 09:51 PM

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

Quote

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: :)


#2 User is offline   mraeryceos 

  • Member
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 11-April 04

Posted 18 May 2004 - 09:56 PM

BTW, the cd never spins up. One of the registry entries above correctly reads E:\$OEM$\registry.bat, where E:\ is the cdrom drive

#3 User is offline   mraeryceos 

  • Member
  • PipPip
  • Group: Members
  • Posts: 177
  • Joined: 11-April 04

Posted 19 May 2004 - 03:43 PM

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.

#4 User is offline   homiebrah 

  • You think you know so much.
  • PipPipPip
  • Group: Members
  • Posts: 351
  • Joined: 06-June 03

Posted 28 May 2004 - 01:06 PM

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.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy