MSFN Forum: Problems With Guirunonce And Runonceex - MSFN Forum

Jump to content



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

Problems With Guirunonce And Runonceex shutdown too early Rate Topic: -----

#1 User is offline   windopain31415 

  • Group: Members
  • Posts: 2
  • Joined: 16-February 05

Posted 16 February 2005 - 03:05 AM

Hi, I've been making some changes to my unattended install DVD and ran into a problem.

My system shutdown (which used to occurr after all my applications were installed via RunOnceEx) has began counting down as soon as my first login to the desktop occurrs. I have not changed my winnt.sif file at all.

Is there some way to ensure that the RunOnceEx.inf has finished processing before shutting down (or perhaps shutting down from RunOnceEx itself instead)?

Any help will be appreciated! Thanks,

Windopain31415


#2 User is offline   Martin Zugec 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,373
  • Joined: 24-January 04

Posted 16 February 2005 - 03:22 AM

RunOnceEx should work event after restart... Didnt U upgrade any aplication?

#3 User is offline   Incroyable HULK 

  • Slowly Turning Green...
  • Group: Super Moderator
  • Posts: 1,256
  • Joined: 05-March 04
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 16 February 2005 - 06:27 AM

The last entry of your RunOnceEx.cmd should be the Shutdown/Reboot command.

Otherwise, you have an application which is causing the Shutdown somewhere... bad switch?

#4 User is offline   windopain31415 

  • Group: Members
  • Posts: 2
  • Joined: 16-February 05

Posted 16 February 2005 - 12:08 PM

I am sure the GuiRunOnce entry is causing the shutdown, based on the message and the time delay; this message and time delay is not shown after any other shutdown.

The GuiRunOnce shutdown IS started at the same time RunOnceEx is started though. The RunOnceEx appears to be working normally (it installs about 20 applications total but only a few before the shutdown completes).

The RunOnceEx picks up near where it left off when the reboot occurrs, but I am not sure if the program it was installing when the system actually goes down does not finish installing.

I have considered two options:

1) increase the shutdown delay to 90 minutes or so, so that the shutdown does not occurr until after RunOnceEx completes or

2) remove the shutdown and always do it manually.

Either way, I would much rather know why this is happening and how to work around it, since it is not supposed to be happening this way!

#5 User is offline   Stinger12348 

  • Junior
  • Pip
  • Group: Members
  • Posts: 78
  • Joined: 31-July 03

Posted 16 February 2005 - 01:54 PM

Why don't you run the Shutdown at the end of RunOnceEx?

maybe post winnt.sif and runonceex.inf ?

#6 User is offline   lilweirddude 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 573
  • Joined: 24-August 04

Posted 16 February 2005 - 04:01 PM

what are you running from GuiRunOnce?

Share this topic:


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

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



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