Jump to content

Recommended Posts

Posted

Can anyone tell me how to pause runonceex ?

I have intellipoint and intellitype in my runonceex and they lanuch another process so only one successfully installs. I know there's sleep.exe on the MSFN's unattended site but that's for batch install.


Posted

I run a series of VBscripts in my runonceex, but you could just as easily run batch files I assume. You could stick that sleep command in the batch file.

Posted

i use a batch file to send ping commands during a minute.

@echo off
cmdow @ /HID
PING -n 61 127.0.0.1>nul
exit

you only need CMDOW to hide the batch window :)

Posted

or if you want to pause until you tell it to start again (as opposed to a pre-determind amount of time)... just create a batch file (open notepad, save as *.cmd) and put in the following:

@echo off
pause

This will bring up a command window that will say 'Press any key to continue' which of course means it will 'pause' until you 'Press any key'!

Posted

Looking into learning AutoIt. It is a nice scripting tool that can allow you to do many things rather easily. It has the ability to launch a program and not quit until another process is finished.

Posted

as was mentioned the sleep command does work, just add an entry in the runonce like this

REG ADD %KEY%\025 /VE /D "Sleep for 30 seconds" /f
REG ADD %KEY%\025 /V 1 /D "%systemdrive%\install\sleep.cmd" /f

Then in the files sleep.cmd

sleep 30

That way you can adjust how long. It will not contiune running if you put it in the right spot. (make sure you modify the \025 to put it in the right spot in your runonce.

Posted
as was mentioned the sleep command does work, just add an entry in the runonce like this

However, its not a native windows command (at least not to XP), so youll have to download the program, which can be found on the Unattended Downloads page.

Posted

You are correct I forgot, also remember after downloading it to put it into the $OEM$\$$\System32 directory so that it will be available from where ever you wish to call it. sorry.

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