Jump to content

"rundll32.exe iernonce.dll,RunOnceExProcess" does not run


Recommended Posts

Posted

I've done Unattended Windows XP CDs before, 2 major things have changed in this one, 1st, I'm using nLite 1.2.1 instead of 1.1? and 2nd I'm using the IE7 hotfix.

I am trying to use the RunOnceEx window that lists what it is installing.

This should run after adding the right keys to "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx" and then executing "rundll32.exe iernonce.dll,RunOnceExProcess".

I've installed in a virtual machine a copy my new unattended Windows, just nLite options and IE7.

I wrote this .CMD

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

REG ADD %KEY%\000 /VE /D "Testing" /f
REG ADD %KEY%\000 /V 1 /D "CMD" /f

START rundll32.exe iernonce.dll,RunOnceExProcess

Using it after the system are all loaded up, in my working Windows installation (where I'm writing this from) it works just fine, but in the VM, it just doesn't say anything and the keys in the registry are left intact, which is what happens if I try to run RunOnceEx from the installation. I'm sure it's the same problem.

I've notice that WINNT.SIF has this:

[GuiRunOnce]
"%SystemRoot%\System32\nLite.cmd"

Calling "nLite.cmd", which uses the commands that are put in the Unattended/RunOnce part of nLite 1.2.1, it works fine, but I'm concerned about RunOnceEx, I'd like to use that interface.

LAST_SESSION.INI


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...