home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1993 #2
/
Image.iso
/
lan
/
tkncca12.zip
/
TREN120.DSK
/
unc.dsk
/
TRNETOS2.IDP
< prev
next >
Wrap
Text File
|
1993-06-30
|
9KB
|
292 lines
.*
.* IDP for PCMCIA Token-Ring Adapters
.*
.* Change History
.*
.* 05/18/93 Tiffany Sweitzer Created
.* 06/08/93 Tiffany Sweitzer Added check for files in config.sys
.* before adding corresponding files
.* Added check for paths at beginning of
.* LIBPATH and SET DPATH
.* 06/09/93 Tiffany Sweitzer Fixed PROTMAN.OS2 statement with 2nd %d%
.* Incorporated external program to move socket
.* services and rmu in config.sys
.* 06/16/93 Tiffany Sweitzer Changed LAPS detection to use GETLAPS.EXE
.* 06/29/93 Tiffany Sweitzer Added reinstallation code
.* 06/30/93 Tiffany Sweitzer Added text screen for LAPS users
.*
:install choose=drive path='\'.
:help id='Install IBM Token-Ring 16/4 Credit Card Files for Novell (OS/2)' langid=enu.
Choose this install menu selection if your network software
uses a Novell Netware driver.
In order to use your IBM Token-Ring 16/4 Credit Card
under OS/2, you must have OS/2 2.1 or higher and
Card Services must be present for your PCMCIA socket.
See the READ.ME file for detailed information
on customizing the configuration for your system.
:ehelp.
.*--------------------------------------------------*
.* Check configuration for Card Services
.*--------------------------------------------------*
:RUN fn='cfgcheck.exe'.
:if %r% > 1
:msg sev=i type=q.
:msgtxt langid=enu.
Card Services was not found on your machine.
OS/2 2.1 or higher and Card Services are required for
this installation. Press ESC to quit.
:emsgtxt.
:emsg.
:eif.
.*--------------------------------------------------*
.* Check for OS/2 2.1 or higher
.*--------------------------------------------------*
:RUN fn='os2ver.exe'
:if %r% = 0
:msg sev=i type=q.
:msgtxt langid=enu.
Your operating system is not OS/2 2.1 or
higher, which is required for
this installation. Press ESC to quit.
:emsgtxt.
:emsg.
:eif.
.*--------------------------------------------------*
.* look for LAPS
.*--------------------------------------------------*
:RUN fn='getlaps.exe' parms='%d%'.
.* LAPS found
:if %r% = 1
:msg sev=i type=e.
:msgtxt langid=enu.
Your machine is properly configured with
OS/2 2.1 or higher and Card Services.
Press ENTER to continue.
:emsgtxt.
:emsg.
:copy fn='BT0.MSG' path='\' force=yes.
:RUN fn='nettxt.exe'.
:cancel.
.* LAPS not present
:else.
:msg sev=i type=eq.
:msgtxt langid=enu.
Your machine is properly configured with
OS/2 2.1 or higher and Card Services.
Press ENTER to continue or ESC to quit.
:emsgtxt.
:emsg.
.* copy over essential LAPS files
:copy fn='PROTOCOL.INI' path='\IBMCOM\' force=yes.
:copy fn='NWFIXUP.EXE' path='\IBMCOM\' force=yes.
:copy fn='PROTMAN.OS2' path='\IBMCOM\' force=yes.
:copy fn='LTG.MSG' path='\IBMCOM\' force=yes.
:copy fn='LT8.MSG' path='\IBMCOM\' force=yes.
:copy fn='PRO.MSG' path='\IBMCOM\' force=yes.
:copy fn='LTGH.MSG' path='\IBMCOM\' force=yes.
:copy fn='LT8H.MSG' path='\IBMCOM\' force=yes.
:copy fn='PROH.MSG' path='\IBMCOM\' force=yes.
:copy fn='NETBIND.EXE' path='\IBMCOM\PROTOCOL\' force=yes.
:copy fn='ODI2NDI.OS2' path='\IBMCOM\PROTOCOL\' force=yes.
:copy fn='ODI2NDI.NIF' path='\IBMCOM\PROTOCOL\' force=yes.
:copy fn='IBMTOKCS.OS2' path='\IBMCOM\MACS\' force=yes.
:copy fn='IBMTOKCS.NIF' path='\IBMCOM\MACS\' force=yes.
.* add to LIBPATH and DPATH
:update fn='config.sys' path='\' rename='config.s01'.
:txt find='LIBPATH=%d%\IBMCOM\DLL;' remove=check.
:etxt.
:eupdate.
:if %r% = 1
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='LIBPATH=' remove=yes insert=before.
:li.LIBPATH=%d%\IBMCOM\DLL;%o%
:etxt.
:eupdate.
:eif.
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='SET DPATH=%d%\IBMCOM;' remove=check.
:etxt.
:eupdate.
:if %r% = 1
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='SET DPATH=' remove=yes insert=before.
:li.SET DPATH=%d%\IBMCOM;%o%
:etxt.
:eupdate.
:eif.
.* remove statements if previously installed
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%\IBMCOM\PROTMAN.OS2' remove=yes.
:etxt.
:txt find='RUN=%d%\IBMCOM\PROTOCOL\NETBIND.EXE' remove=yes.
:etxt.
:txt find='DEVICE=%d%\IBMCOM\PROTOCOL\ODI2NDI.OS2' remove=yes.
:etxt.
:txt find='DEVICE=%d%\IBMCOM\MACS\IBMTOKCS.OS2' remove=yes.
:etxt.
:eupdate.
.* add statements around NetWare Requester statements
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='REM --- NetWare Requester statements BEGIN' remove=no insert=before.
:li.DEVICE=%d%\IBMCOM\PROTMAN.OS2 /I:%d%\IBMCOM
:li.RUN=%d%\IBMCOM\PROTOCOL\NETBIND.EXE
:etxt.
:eupdate.
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='RUN=%d%%p0%DDAEMON.EXE' remove=check.
:etxt.
:eupdate.
:if %r% = 0
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='RUN=%d%%p0%DDAEMON.EXE' remove=no insert=after.
:li.DEVICE=%d%\IBMCOM\PROTOCOL\ODI2NDI.OS2
:etxt.
:eupdate.
:else.
:msg sev=i type=q.
:msgtxt langid=enu.
A RUN statement for DDAEMON.EXE was not found
in your CONFIG.SYS file. Install your Novell
Netware software before performing this
installation. Press ESC to quit.
:emsgtxt.
:emsg.
:eif.
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%%p0%TOKEN.SYS' remove=check.
:etxt.
:eupdate.
:if %r% = 0
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%%p0%TOKEN.SYS' remove=yes insert=after.
:li.REM DEVICE=%d%\NETWARE\TOKEN.SYS
:etxt.
:eupdate.
:eif.
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='REM --- NetWare Requester statements END' remove=no insert=after.
:li.DEVICE=%d%\IBMCOM\MACS\IBMTOKCS.OS2
:etxt.
:eupdate.
.* fix order of LAPS and NetWare Requester if necessary
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%%p0%IBM2SS' remove=check.
:etxt.
:eupdate.
:if %r% = 1
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%%p4%ICRMU' remove=check.
:etxt.
:eupdate.
:if %r% = 1
:msg sev=i type=e.
:msgtxt langid=enu.
Socket Services and the Resource Map Utility
are not installed on your machine. Refer to
the READ.ME file on this diskette for more
information. Press ENTER to continue.
:emsgtxt.
:emsg.
:else.
:msg sev=i type=e.
:msgtxt langid=enu.
Socket Services is not installed on
your machine. Refer to the READ.ME file on
this diskette for more information.
Press ENTER to continue.
:emsgtxt.
:emsg.
:eif.
:else.
:update fn='config.sys' path='\' rename='config.sys'.
:txt find='DEVICE=%d%%p4%ICRMU' remove=check.
:etxt.
:eupdate.
:if %r% = 1
:msg sev=i type=e.
:msgtxt langid=enu.
The Resource Map Utility is not installed on
your machine. Refer to the READ.ME file on
this diskette for more information. Press
ENTER to continue.
:emsgtxt.
:emsg.
:else.
.* this program moves both device statements to the bottom of CONFIG.SYS
:RUN fn='move2bot.exe' parms='%d%'.
:eif.
:eif.
.* modify PROTOCOL.INI with user's chosen address
:copy fn='UINST.VAR' path='\' force=yes.
:copy fn='AT0.MSG' path='\' force=yes.
:RUN fn='getaddr.exe'.
:update fn='uinst.var' path='\' rename='uinst.var'.
:txt find='ADDRESS=' remove=check.
:etxt.
:eupdate.
:if %r% = 0
:update fn='uinst.var' path='\' rename='uinst.var'.
:txt find='ADDRESS=' remove=yes.
:etxt.
:eupdate.
:update fn='protocol.ini' path='\ibmcom\' rename='protocol.io1'.
:txt find='Netaddress = "T400000000001"' remove=no insert=after.
:li. Netaddress = "T%o%"
:etxt.
:txt find='Netaddress = "T400000000001"' remove=yes.
:etxt.
:eupdate.
:eif.
:eif.
:msg sev=i type=e.
:msgtxt langid=enu.
The installation is complete. Your old
CONFIG.SYS and PROTOCOL.INI files were saved
as CONFIG.S01 and PROTOCOL.I01 . Press ENTER
to return to the main menu and then press F3
to exit.
:emsgtxt.
:emsg.
:einstall.