We have nearly the same code in our programs as well.  The only exception is
that we use Progra~1 instead of program files.  There is a known issue where
once in a while the service create will fail because of the space in Program
Files even when surrounded with quotes.  Keep in mind that every now and
then you will fine that Program files is Progra~2 as well so I am not
suggesting you use one or the other.  Just keep in mind if you find the .bat
file not working try ~1.

Kyle

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
William Boyer
Sent: Thursday, August 30, 2001 00:07
To: [EMAIL PROTECTED]
Subject: Re: Anyone have a script to install win95/98/me/2000 4.1/4.2
scheduler without using wizard?


Here are 2 .bat files I use to install the scheduler and the client acceptor
services on WinNT.

SERVICE.BAT

dsmcutil install /name:"TSM Central Scheduler Service" /password:adsm
/clientdir:"C:\Program Files\tivoli\tsm\BACLIENT" /optfile:"C:\Program
Files\tivoli\tsm\BACLIENT\DSM.OPT" /validate:Yes /autostart:yes
/node:%COMPUTERNAME%

SERVICEW.BAT

REM
REM  This file will install the TSM Remote Web Interface services
REM
REM First install and start the Client Acceptor service..
dsmcutil install CAD /name:"TSM Client Acceptor" /password:adsm
/clientdir:"C:\Program Files\tivoli\tsm\BACLIENT" /optfile:"C:\Program
Files\tivoli\tsm\BACLIENT\DSM.OPT" /autostart:yes /startnow:no
/node:%COMPUTERNAME%
REM
REM Now install the Remote Client Agent...
dsmcutil install REMOTEAGENT /name:"TSM Remote Client Agent" /password:adsm
/clientdir:"C:\Program Files\tivoli\tsm\BACLIENT" /optfile:"C:\Program
Files\tivoli\tsm\BACLIENT\DSM.OPT" /autostart:no /startnow:no
/node:%COMPUTERNAME%
REM
net start "TSM Client Acceptor"


Standard dislaimer in effect....

Bill Boyer
DSS, Inc.

-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED]]On Behalf Of
Keith Kwiatek
Sent: Thursday, August 30, 2001 11:02 AM
To: [EMAIL PROTECTED]
Subject: Anyone have a script to install win95/98/me/2000 4.1/4.2
scheduler without using wizard?


Hello,

I want to install the scheduler without having to use the wizard. Is there
an unattended install doc somewhere?

I guess I see a .bat file that runs and just installs the scheduler with
certain default settings....

The bigger picture is that I am using pkzip + self extractor to allow the
user to simply click on the .exe file, which will then extract the TSM files
to a staging directory, and then prompt the user for the TSM ID and server
name(using visual delphi), this will then write the OPT file and kick off
the install process. I pretty much have this part working.... what I need is
a short script that will install the scheduler after the install is
complete....

Thanks for any and all help.....

Keith

Reply via email to