Jump to content

Recommended Posts

Posted

Hi there,

Sorry for being such a prat and not getting this.

I need to know when exactly runonceex is called? I want to be able install all my software, drivers ( exe ), change reg settings etc, whilst using the runonceex gui.

Does this start after the 2nd reboot?

Help is appreicated

Gav


Posted

Its like this....

You run your RunOnceEX batch-file or .REG first.

Then on your next re-boot runonceex is executed.

It doesn't matter when you execute it or when it runs, as long as you just remember that simple process. Import your runonceEX into your registry one boot-up BEFORE you want it to get executed. You can also run a command to force the runonceEX to get executed right away

rundll32.exe iernonce.dll,RunOnceExProcess

I hope I explained the above in understandable manner... If you have any questions, just ask!

Posted

Yes, if you followed the "official" guide, the RunOnceEx process will be executed at the second reboot of the installation process (also known as first Logon) just before you get to the desktop.

The RunOnceEx process is designed to add the execution key and they get executed after a reboot. In the guide, cmdlines.txt is calling your RunOnceEx.cmd at stage T-12 so the entry get parsed and at the next reboot they get executed.

If you want to execute the RunOnceEx process right away without any reboot, just add this line at the bottom of you command file:

rundll32.exe iernonce.dll,RunOnceExProcess

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