Hello, Januk Aggarwal!
>> I could simply tell the Server to run the_bat.exe when they log in.
>> The executable would kill an already running version of the bat and
>> then install without prompts and then start the new version of the
>> Bat!
JA> Use the /EXIT command line switch for the main TB program, then run
JA> the installation and rerun TB. It is a three line batch file:
JA> start /w X:\Path\thebat.exe /NoLogo /EXIT
JA> start /w X:\"Some other Path"\the_bat.exe
JA> X:\Path\thebat.exe
Well, this way is not perfect:
1. The setup can start _before_ TB is shut down. /EXIT command works
as follows: if a copy of TB is already running, then the second copy
(that which was run with /EXIT parameter) sends a command to shutdown
to the first copy and shut down itself immediately. So, the second
copy (you wait for the end of the _second_ copy in the batch file,
don't you?) may end before the first copy exits (remember about
actions on exit like folder compressing, cleaning, etc. - they can
take a long time sometimes).
The only way I know is to insert a pause between the two commands for
a minute or so...
2. The setup won't be silent. To run _upgrade_ silently use UNRAR
utility or command-line version of RAR archiver (www.rarsoft.com).
Actually, the_bat.exe setup file is a self-extracting RAR archive, so
all you have to do to upgrade is to extract its contents into TB
directory.
--
Best regards, | The Bat! 1.49 S/N E9230B5C
Andrew | Russian Windows 95 4.0 Build 1111 B
http://www.mml.nsi.ru/~alovetski/ - small (two languages only) LNG files
+ LNG file manipulation utility (with sources) to create custom LNG files!
--
--------------------------------------------------------------
View the TBBETA archive at http://tbbeta.thebat.dutaint.com
To send a message to the list moderation team double-click HERE:
<mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBBETA, double-click HERE:
<mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------
You are subscribed as : [email protected]