MSFN Forum: Question about RunonceEX.cmd - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

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

Question about RunonceEX.cmd Rate Topic: -----

#1 User is offline   erik_demon 

  • Master Chief
  • PipPip
  • Group: Members
  • Posts: 253
  • Joined: 22-August 04

Posted 12 October 2004 - 01:53 AM

I Recently made my first unnattended disk, and it all works great. Now I want to change the simple commandprompt window to a better looking RunonceEX type of window.

In general, this is not a problem. The only problem is with the Sleep command.

I have a program, called gemevoice server, and it has a very enoying "press ok to exit" window at the end of the installation (no switches availble). Herefore I don't use "start /wait" command. But i use the methode that you see here bellow.

ECHO.
ECHO Installeren Gamevoice Server
ECHO Een Moment AUB. . .
CD %systemdrive%\install\Applications\Gamevoice_server
start %systemdrive%\install\Applications\gamevoice_server\servinst.exe
sleep 5
taskkill /IM servinst.exe /F


As I understand it correctly, runonceEX will install the entire programm before continuing, so that means that it would be the same as "start /wait". In that case My installation would stop at the "press ok to exit" window.

Is there a way to let runonceEX know that it needs to go to the next line, so that the taskkill can end the installation, or should I make gamevoice_server.cmd and use the code below?

REG ADD %KEY%\050 /VE /D "Gamevoice Server" /f
REG ADD %KEY%\050 /V 1 /D "%systemdrive%install\Applications\gamevoice_server\gamevoice_server.cmd" /f


#2 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 12 October 2004 - 04:24 AM

create a batch file that run the install program...guesstimate how long it takes to install and set sleep for the time plus about 30 seconds after...I usually set sleep for 60 (seconds) but sometimes you may need a higher setting...in the batch, use this

start %systemdrive%\install\Applications\gamevoice_server\servinst.exe
sleep xx
taskkill /IM servinst.exe /F


notice that there isnt a /wait...in fact, you could prolly remove the "start " from the beginning

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