home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
DATABASE
/
SMS-1.ZIP
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-06-04
|
10KB
|
253 lines
ECHO OFF
CLS
ECHO $hareware Marketing $ystem Installation program
ECHO ---------------------------------------------------------------
echo Note: Installation diskette should now be in A: floppy drive.
echo Installation does NOT adjust CONFIG.SYS or AUTOEXEC.BAT.
ECHO ---------------------------------------------------------------
echo Part A or diskette A contains the menu driven information part
echo of this package. It is installed first and occupies about 500K
echo and will NOT fit on a standard 360K low density floppy but
echo will fit on these floppies: 1.2M, 1.44M, 720K or a hard drive
echo which is the preferred installation method.
ECHO ---------------------------------------------------------------
echo Part B contains a highly compressed mailing list which will
echo unpack to produce a LARGE 1.5 MEG mailing list and is usually
echo manually copied to a hard drive later and expanded to full
echo 1.5 Meg size. Its use is discussed in a tutorial you should
echo read which is contained in Part A we will unpack shortly.
ECHO ---------------------------------------------------------------
ECHO Press A if installing to a floppy drive larger than 360K
ECHO Press B if installing to a hard drive
ECHO Press Q to quit or abort process
ECHO ---------------------------------------------------------------
inkey A65,a65,B66,b66,Q81,q81
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 66 GOTO LABELB
IF ERRORLEVEL 65 GOTO LABELA
:LABELB
CLS
REM Hard Drive setup
ECHO ---------------------------------------------------------------
ECHO Hard drive installation will prepare a directory named \SMS on
echo your hard drive and install files to that area. Installation
echo program assumes drive A: contains SMS part A and is the SOURCE
echo DRIVE. Hard drive will be the TARGET drive to which files will
echo be unpacked. If you have an old copy of SMS data on your hard
echo drive which is important to you, you may wish to quit/abort
echo and backup that older copy of SMS for archival purposes first.
ECHO ---------------------------------------------------------------
echo What hard drive letter will you install TO as your target?
ECHO ---------------------------------------------------------------
echo press C for Hard drive C:
echo press D for Hard drive D:
echo press E for Hard drive E:
echo press F for Hard drive F:
echo press G for Hard drive G:
echo press Q to quit
inkey Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 71 goto HDG
IF ERRORLEVEL 70 GOTO HDF
IF ERRORLEVEL 69 GOTO HDE
IF ERRORLEVEL 68 GOTO HDD
IF ERRORLEVEL 67 GOTO HDC
:HDC
cls
C:
CD\
MD SMS
ECHO If a previous version of the SMS package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer SMS data files.
A:
SMSDATA C:\sms\
CLS
ECHO Installation of part A is now complete. Part B contains
echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
echo about using this mailing list database BEFORE you use it
echo This tutorial is contained in newly unpacked part A.
echo ------------------------------------------------------------
echo Press Q to quit. Installation complete.
echo To run SMS: change to your hard drive subdirectory C:\SMS
echo then type SMS to start
echo ----------------------------------------------------------
inkey q81,Q81
if errorlevel 81 goto quit
GOTO QUIT
:HDD
cls
D:
CD\
MD SMS
ECHO If a previous version of the SMS package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer SMS data files.
A:
smsdata D:\sms\
CLS
ECHO Installation of part A is now complete. Part B contains
echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
echo about using this mailing list database BEFORE you use it
echo This tutorial is contained in newly unpacked part A.
echo ------------------------------------------------------------
echo Press Q to quit. Installation complete.
echo To run SMS: change to your hard drive subdirectory D:\SMS
echo then type SMS to start
echo ----------------------------------------------------------
inkey q81,Q81
if errorlevel 81 goto quit
GOTO QUIT
:HDE
cls
E:
CD\
MD SMS
ECHO If a previous version of the SMS package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer SMS data files.
A:
smsdata E:\sms\
CLS
ECHO Installation of part A is now complete. Part B contains
echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
echo about using this mailing list database BEFORE you use it
echo This tutorial is contained in newly unpacked part A.
echo ------------------------------------------------------------
echo Press Q to quit. Installation complete.
echo To run SMS: change to your hard drive subdirectory E:\SMS
echo then type SMS to start
echo ----------------------------------------------------------
inkey q81,Q81
if errorlevel 81 goto quit
GOTO QUIT
:HDF
cls
F:
CD\
MD SMS
ECHO If a previous version of the SMS package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer SMS data files.
A:
smsdata F:\sms\
CLS
ECHO Installation of part A is now complete. Part B contains
echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
echo about using this mailing list database BEFORE you use it
echo This tutorial is contained in newly unpacked part A.
echo ------------------------------------------------------------
echo Press Q to quit. Installation complete.
echo To run SMS: change to your hard drive subdirectory F:\SMS
echo then type SMS to start
echo ----------------------------------------------------------
inkey q81,Q81
if errorlevel 81 goto quit
GOTO QUIT
:HDG
cls
G:
CD\
MD SMS
ECHO If a previous version of the SMS package is already
ECHO installed, answer yes to all prompts to overwrite old files
ECHO with the newer SMS data files.
A:
smsdata G:\sms\
CLS
ECHO Installation of part A is now complete. Part B contains
echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
echo about using this mailing list database BEFORE you use it
echo This tutorial is contained in newly unpacked part A.
echo ------------------------------------------------------------
echo Press Q to quit. Installation complete.
echo To run SMS: change to your hard drive subdirectory G:\SMS
echo then type SMS to start
echo ----------------------------------------------------------
inkey q81,Q81
if errorlevel 81 goto quit
GOTO QUIT
:LABELA
CLS
echo ------------------------------------------------------------
ECHO Installation will produce one floppy diskette on TARGET
echo drive B:, D: or E: which MUST be one of following the
echo size(s): 720K, 1.44M, 1.2M. It will NOT be possible to unpack
echo the large SMS program files onto a low density 360K drive!
echo Contact author for custom 360K version which is available.
echo Next step assumes SOURCE drive A: contains files to be
echo unpacked and TARGET drive B:, D: or E: contains a blank
echo formatted diskette LARGER than 360K.
echo ------------------------------------------------------------
echo press B for Floppy drive B:
echo press D for Floppy drive D:
echo press E for Floppy drive E:
echo press Q to quit
echo ------------------------------------------------------------
INKEY B66,b66,d68,D68,e69,E69,q81,Q81
IF ERRORLEVEL 81 GOTO abort
IF ERRORLEVEL 69 GOTO fe
IF ERRORLEVEL 68 GOTO fd
IF ERRORLEVEL 66 GOTO fb
:fb
cls
smsdata b:\
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from B: drive, label it:
echo "SMS Main program, start with: SMS at DOS prompt"
echo The second diskette or part B contains a large mailing
echo list over 1.5 meg in size in the self-unpacking file
echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
echo the author of this package for the special "floppies only"
echo version of the mailing list which is a custom product.
echo You may RUN the newly installed floppy with the unpacked SMS
echo program using the command SMS at the DOS prompt.
echo --------------------------------------------------------------
pause
goto quit
:fd
cls
smsdata d:\
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from D: drive, label it:
echo "SMS Main program, start with: SMS at DOS prompt"
echo The second diskette or part B contains a large mailing
echo list over 1.5 meg in size in the self-unpacking file
echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
echo the author of this package for the special floppies only
echo version of the mailing list which is a custom product.
echo You may RUN the newly installed floppy with the unpacked SMS
echo program using the command SMS at the DOS prompt.
echo --------------------------------------------------------------
pause
goto quit
:fe
cls
smsdata e:\
CLS
echo --------------------------------------------------------------
ECHO Remove diskette from E: drive, label it:
echo "SMS Main program, start with: SMS at DOS prompt"
echo The second diskette or part B contains a large mailing
echo list over 1.5 meg in size in the self-unpacking file
echo DATABASE.EXE and CANNOT be unpacked to floppies. Contact
echo the author of this package for the special floppies only
echo version of the mailing list which is a custom product.
echo You may RUN the newly installed floppy with the unpacked SMS
echo program using the command SMS at the DOS prompt.
echo --------------------------------------------------------------
pause
goto quit
:QUIT
CLS
ECHO Installation of SMS program now complete.
ECHO Be sure to register or subscribe - support the shareware concept!
ECHO See the file REGISTER.TXT within the main program for details.
GOTO END
:ABORT
cls
ECHO Installation process aborted
:END