home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
windows
/
sbinst.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-07-19
|
2KB
|
76 lines
@echo off
cls
type top.asc
if "%1"=="" goto hela
if exist %1\prog1.exe goto hela
if exist %1\NUL goto cok
echo .
echo %1 Does Not Exist - Create it ? [y/n]
choice YyNn
if errorlevel=4 goto end
if errorlevel=3 goto end
md %1
cls
type top.asc
:cok
choice 1234
if errorlevel=4 goto end
if errorlevel=3 goto help
if errorlevel=2 goto cdat1
if errorlevel=1 goto cprog
:cprog
cls
if exist %1\prog1.exe goto hela
echo Copying Trial Version Programs, Please Wait...
copy prog1.exe %1 >nul
%1\prog1 %1
del %1\prog1.exe
cls
cls
:cdat1
cls
if exist %1\trialdat.exe goto hela
if not exist trialdat.exe goto cdat2
echo Copying Example Files, Please Wait...
copy trialdat.exe %1 >nul
%1\trialdat %1
del %1\trialdat.exe
cls
goto dosit
:cdat2
cls
echo DATA FILES DO NOT EXIST ON THE DISK! Please contact Precision Software
echo at (214) 929-4888 IMMEDIATELY to request a new disk.
echo .
echo This installation procedure is being aborted...
echo .
goto end
:hela
echo NO DESTINATION DIRECTORY SPECIFIED OR DESTINATION NOT VALID
echo Press Any Key for Help
echo View Installation Instructions, Return to Main Menu and Abort Installation
Pause >nul
:help
cls
type help.asc
echo Press any key to return to Main Menu
pause >nul
cls
type top.asc
goto cok
:dosit
echo Installation Completed
echo Enter Windows and run SB4W.EXE from the File Manager (or MS-DOS Executive).
echo .
echo You may also install the Superbase icon in Program Manager (Windows 3.0 only)
echo By running Windows Setup. See your Windows User Guide for instructions.
echo .
echo Are you using Microsoft Windows 3.0 in Standard or Enhanced Mode ? [y/n]
choice YyNn
if errorlevel 4 goto end
if errorlevel 3 goto end
del %1\WIN87EM.EXE
:end
set curdir=
cls