Category : OS/2 Files
Archive   : LW22.ZIP
Filename : INSTALL.CMD

 
Output of file : INSTALL.CMD contained in archive : LW22.ZIP
/* LiveWire 2.2 installation program */

/* Install REXX system functions */
call rxfuncadd sysloadfuncs, rexxutil, sysloadfuncs
call sysloadfuncs

/* Determine the path to LiveWire */
parse source . . argv0 .
temp = reverse(argv0)
temp = substr(temp, pos('\', temp))
if length(temp) > 3 then temp = substr(temp, 2)
CurrentPath = reverse(temp)

/* Begin installation */
ECHO OFF
call SysCls
Say "LiveWire 2.2 Release Install Program"
Say "Copyright 1994 Les Novell"
Say ""
Say "This installation script assumes that it is running from the directory"
Say "on your hard drive where you want LiveWire 2.2"
Say ""
Say "This installation program will remove all old LiveWire configuration files"
Say "(except dialing directories), create the .\PROTOCOL directory,"
Say "and install a desktop folder for LiveWire."
Say ""
Say "Press [ENTER] to perform installation, or [CTRL-BREAK] to halt"
Pull A

call SysCls
Say "Beginning installation..."
Say ""
Say "Removing any residual configuration files..."
"ERASE LW.CFG LW.ICI LW.MAC LW.MHF LW.XLT VT100.EMU 2>NUL"
Say ""
Say "Creating directory PROTOCOL..."
Say " LiveWire will search this directory for installable file transfer"
Say " protocols, including the path."
"MKDIR PROTOCOL 2>NUL"
Say ""
Say "Creating a desktop folder for LiveWire"
Say " The desktop folder will contain the program and related"
Say " documentation. It will be located in the upper left-hand"
Say " corner of your desktop. Move it wherever you like."
Say ""

/* Create the LiveWire folder */
setting="OBJECTID=;";
ret = SysCreateObject("WPFolder", "LiveWire Communications", "", setting, "U")

/* Create Registration object */
setting="OBJECTID=;"||,
"EXENAME="||CurrentPath||"\LW22.EXE;"||,
"ICONFILE="||CurrentPath||"\LWREG.ICO;"||,
"STARTUPDIR="CurrentPath";"||,
"PARAMETERS=REGISTER;"||,
"PROGTYPE=WINDOWABLEVIO;"
ret = SysCreateObject("WPProgram", "Register LiveWire", "", setting, "R")

/* Create README object */
setting="OBJECTID=;"||,
"EXENAME=E.EXE;"||,
"PARAMETERS=READ.ME;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=PM;"
ret = SysCreateObject("WPProgram", "Read Me First", "", setting, "R")

/* Create DOCUMENTATION object */
setting="OBJECTID=;"||,
"EXENAME=VIEW.EXE;"||,
"PARAMETERS=LW22.INF;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=PM;"
ret = SysCreateObject("WPProgram", "LiveWire 2.2 Manuals", "", setting, "R")

/* Create FAQ object */
setting="OBJECTID=;"||,
"EXENAME=VIEW.EXE;"||,
"PARAMETERS=LWFAQ.INF;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=PM;"
ret = SysCreateObject("WPProgram", "Frequently Asked Questions", "", setting, "R")

/* Create ORDER.FRM object */
setting="SHADOWID="||CurrentPath||"\ORDER.FRM;"
ret = SysCreateObject("WPShadow", "How to order LiveWire 2.2", "", setting, "R")

/* Create Program object */
setting="OBJECTID=;"||,
"EXENAME="||CurrentPath||"\LW22.EXE;"||,
"ICONFILE="||CurrentPath||"\LWPRG.ICO;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=WINDOWABLEVIO;"
ret = SysCreateObject("WPProgram", "LiveWire 2.2 Program", "", setting, "R")

/* Create Host Mode object */
setting="OBJECTID=;"||,
"EXENAME="||CurrentPath||"\LW22.EXE;"||,
"PARAMETERS=/Shost.cmd;"||,
"ICONFILE="||CurrentPath||"\LWHST.ICO;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=WINDOWABLEVIO;"
ret = SysCreateObject("WPProgram", "LiveWire 2.2 Host Mode", "", setting, "R")

/* Create PM File Transfer Monitor object */
setting="OBJECTID=;"||,
"EXENAME="||CurrentPath||"\LWXFER.EXE;"||,
"STARTUPDIR="CurrentPath";"||,
"PROGTYPE=PM;"
ret = SysCreateObject("WPProgram", "File Transfer Monitor", "", setting, "R")

Say "Installation complete."
Say "To configure LiveWire, double click on the LiveWire icon."
Say ""


  3 Responses to “Category : OS/2 Files
Archive   : LW22.ZIP
Filename : INSTALL.CMD

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/