home *** CD-ROM | disk | FTP | other *** search
- #-------------------------------------------------------------------------
- #
- # FILE
- # INSTALL.ORI
- # V2 installation script language interpreter file.
- #
- # DESCRIPTION
- # Installation file for the DOS Tools Utilities disk.
- #
- # MODIFIED
- # MRMILLER
- #
- #-------------------------------------------------------------------------
-
- #-------------------------------------------------------------------------
- # Generate symbols for Disk Volume label and Jacket label for disks.
- #-------------------------------------------------------------------------
- .LABELGEN
- u
- V60 UTIL %u
- Tools Utilities Disk %u
-
- .FILES -NOCOPY
- INSTALL.ORI 8131
-
- .DISK_USAGE=20
- .PRODUCT_NAME=Tools Utilities
- .PRODUCT_VERSION=1.0.9.0.2
- .PRODUCT_NUMBER=2
- .SUPP_REQUIRED=6.0.31.0.1
-
- .CHECKREG %PRODUCT_NUMBER%
- PRODUCT
- VERSION
-
- .CHECKREG 34
- SUPPORT
- SUPP_VERSION
-
- .IF (%SUPPORT%=="" || %SUPP_VERSION% < %SUPP_REQUIRED%)
- .MESSAGE
- %WARNING%
-
- You have not installed Required Support Files %SUPP_REQUIRED%.
- Please install Required Support Files %SUPP_REQUIRED% or later
- and then install %PRODUCT_NAME%.
-
- .PAUSE
- .EXIT
- .ENDIF
-
- .<CHECK_INST>
-
- .IF (%INSTALL_CHECKED%!=1)
- .IF (%PRODUCT%=="")
- .IF (%DISK_USAGE% > %FREE_SPACE%)
-
- .SELECTPROMPT
- USER_RESP
- There is insufficient disk space on drive %ORACLE_DISK%: to install this product.
- Would you like to attempt to install anyway?
- <DISK_SPACE_HELP>
- 1 No
- 2 Yes
-
- .IF (%USER_RESP%==1 || %USER_RESP%==999)
- .EXIT
- .ENDIF
- .ENDIF
-
- .ELSE
- .SELECTPROMPT
- USER_RESP
- %PRODUCT_NAME% has already been installed.
- Would you like to reinstall it?
- <REINSTALL_HELP>
- 1 No
- 2 Yes
-
- .IF (%USER_RESP%==1 || %USER_RESP%==999)
- .EXIT
- .ENDIF
- .ENDIF
- .ENDIF
-
- .<RUNEXITL>
- .SELECTPROMPT
- RUNEXIT
- SQL*Forms, SQL*Menu, and SQL*ReportWriter can be linked with user
- exits. User exits are programs written in C which can be called
- from your ORACLE application. If you plan to write user exits, you
- must install user exit support now and while you are installing any
- ORACLE tools you intend to relink.
- <RUNEXITHELP>
- 1 Install support for user exits
- 2 Do not install support for user exits
-
- .IF (%RUNEXIT%==999)
- .IF (%INSTALL_CHECKED%!=1 && (%DISK_USAGE%>%FREE_SPACE% || %PRODUCT%!=""))
- .GOTO <CHECK_INST>
- .ELSE
- .EXIT
- .ENDIF
- .ENDIF
-
- .SELECTPROMPT
- USER_RESP
- Will you be using a Color or Monochrome monitor?
- <HELP2>
- 1 Color
- 2 Monochrome
-
- .IF (%USER_RESP%==999)
- .GOTO <RUNEXITL>
- .ENDIF
-
- .MONITOR=%USER_RESP%
-
- .CLEARSCREEN
-
- .MESSAGE
- %NORMAL% Copying Oracle*Terminal executable into %ORACLE_HOME%\PBIN...
-
- .FILES
- ORATERM.PXE 461063 %ORACLE_HOME%\PBIN\ORATERM.PXE
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\ORATERM.COM >NUL
-
- .MESSAGE
- %NORMAL% Copying message files into %ORACLE_HOME%\DBS....
-
- .FILES
- OTMUS.MSB 4096 %ORACLE_HOME%\DBS\OTMUS.MSB
- IAPUS.MSB 20480 %ORACLE_HOME%\DBS\IAPUS.MSB
- MNUUS.MSB 12800 %ORACLE_HOME%\DBS\MNUUS.MSB
- ICOUS.MSB 3584 %ORACLE_HOME%\DBS\ICOUS.MSB
- IFPUS.MSB 2048 %ORACLE_HOME%\DBS\IFPUS.MSB
- TYPUS.MSB 3072 %ORACLE_HOME%\DBS\TYPUS.MSB
- OTHLPUS.R 155648 %ORACLE_HOME%\DBS\OTHLPUS.R
- OT.R 32768 %ORACLE_HOME%\DBS\OT.R
- COLOR.R 49152 %ORACLE_HOME%\DBS\COLOR.R
- MONO.R 49152 %ORACLE_HOME%\DBS\MONO.R
-
- .IF (%MONITOR%==1)
- .FILES
- COLOR.R 49152 %ORACLE_HOME%\DBS\ORATERM.R
- .ELSE
- .FILES
- MONO.R 49152 %ORACLE_HOME%\DBS\ORATERM.R
- .ENDIF
-
-
- .MESSAGE
- %NORMAL% Copying Demo files into %ORACLE_HOME%\DBS...
-
- .FILES
- DEMOBLD.SQL 22217 %ORACLE_HOME%\DBS\DEMOBLD.SQL
- DEMODROP.SQL 542 %ORACLE_HOME%\DBS\DEMODROP.SQL
-
- .MESSAGE
- %NORMAL% Creating batch files in %ORACLE_HOME%\BIN...
-
- .WRITEFILE
- %ORACLE_HOME%\BIN\DEMOBLD.BAT
- ECHO OFF
- ECHO
- REM
- REM Usage: DEMOBLD USERNAME PASSWORD
- REM
- IF NOT .%%1 == . GOTO DEMOBLD
- ECHO Usage: DEMOBLD Username Password
- GOTO EXIT
- :DEMOBLD
- IF EXIST %ORACLE_HOME%\DBS\DEMOBLD.SQL GOTO CONTINUE
- ECHO Error - could not access %ORACLE_HOME%\DBS\DEMOBLD.SQL
- GOTO EXIT
- :CONTINUE
- ECHO Building demonstration tables. Please wait.
- INSTLOAD %%1/%%2 %ORACLE_HOME%\DBS\DEMOBLD.SQL %ORACLE_HOME%\DBS\DEMOBLD.LOG
- IF NOT ERRORLEVEL 1 GOTO EXIT
- ECHO Error - Could not run %ORACLE_HOME%\DBS\DEMOBLD.SQL
- ECHO See %ORACLE_HOME%\DBS\DEMOBLD.LOG for more info.
- :EXIT
-
- .WRITEFILE
- %ORACLE_HOME%\BIN\DEMODROP.BAT
- ECHO OFF
- ECHO
- REM
- REM Usage: DEMODROP USERNAME PASSWORD
- REM
- IF NOT .%%1 == . GOTO DEMODROP
- ECHO Usage: DEMODROP Username Password
- GOTO EXIT
- :DEMODROP
- IF EXIST %ORACLE_HOME%\DBS\DEMODROP.SQL GOTO CONTINUE
- ECHO Error - could not access %ORACLE_HOME%\DBS\DEMODROP.SQL
- GOTO EXIT
- :CONTINUE
- ECHO Dropping demonstration tables. Please wait.
- INSTLOAD %%1/%%2 %ORACLE_HOME%\DBS\DEMODROP.SQL %ORACLE_HOME%\DBS\DEMODROP.LOG
- IF NOT ERRORLEVEL 1 GOTO EXIT
- ECHO Error - Could not run %ORACLE_HOME%\DBS\DEMODROP.SQL
- ECHO See %ORACLE_HOME%\DBS\DEMODROP.LOG for more info.
- :EXIT
-
- .IF (%RUNEXIT%==1)
-
- .MESSAGE
- %HILITE% Making directory %ORACLE_HOME%\PRO\EXIT...
-
- .MKDIR
- %ORACLE_HOME%\PRO
-
- .MKDIR
- %ORACLE_HOME%\PRO\C
-
- .MKDIR
- %ORACLE_HOME%\PRO\EXIT
-
- .MKDIR
- %ORACLE_HOME%\PRO\LIB
-
- .MESSAGE
- %NORMAL% Copying User Exit Software into %ORACLE_HOME%\PRO\LIB...
-
- .FILES
- IAPLIBM.LIB 329301 %ORACLE_HOME%\PRO\LIB\IAPLIBM.LIB
- ICCLIB.LIB 33011 %ORACLE_HOME%\PRO\LIB\ICCLIB.LIB
- ICOMTB.OBJ 779 %ORACLE_HOME%\PRO\LIB\ICOMTB.OBJ
- DREGLB.OBJ 267 %ORACLE_HOME%\PRO\LIB\DREGLB.OBJ
- PLSLIB.LIB 669093 %ORACLE_HOME%\PRO\LIB\PLSLIB.LIB
- PSQFRLIB.LIB 12821 %ORACLE_HOME%\PRO\LIB\PSQFRLIB.LIB
- PSQMRLIB.LIB 5141 %ORACLE_HOME%\PRO\LIB\PSQMRLIB.LIB
- PSTDRLIB.LIB 22037 %ORACLE_HOME%\PRO\LIB\PSTDRLIB.LIB
- USDMSCP.LIB 8229 %ORACLE_HOME%\PRO\LIB\USDMSCP.LIB
- XMAINU.OBJ 2488 %ORACLE_HOME%\PRO\LIB\XMAINU.OBJ
- XOKLIB.LIB 431147 %ORACLE_HOME%\PRO\LIB\XOKLIB.LIB
- USRXIT.H 2567 %ORACLE_HOME%\PRO\C\USRXIT.H
- GENXTB.EXE 102274 %ORACLE_HOME%\BIN\GENXTB.EXE
- GENXTB.PXE 97355 %ORACLE_HOME%\PBIN\GENXTB.PXE
- GENXTB.INP 7624 %ORACLE_HOME%\PRO\EXIT\GENXTB.INP
- GENXTB.FRM 1404 %ORACLE_HOME%\PRO\EXIT\GENXTB.FRM
- TESTEXIT.INP 4314 %ORACLE_HOME%\PRO\EXIT\TESTEXIT.INP
- TESTEXIT.FRM 832 %ORACLE_HOME%\PRO\EXIT\TESTEXIT.FRM
-
- .SYSCALL -QUIET
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\GENXTB.COM >NUL
- .ENDIF
-
- .MESSAGE
- %HILITE% Modifying %CONFIG%...
-
- .MODFILE
- %CONFIG%
- ORAKITPATH=%ORACLE_HOME%\DBS
-
- .MESSAGE
- %NORMAL% Updating registration information...
-
- .REGISTERFILE
- %PRODUCT_NUMBER% %PRODUCT_NAME%
- %PRODUCT_VERSION%
- <DEINSTALL>
-
- .EXIT
-
- .<DISK_SPACE_HELP>
- %PRODUCT_NAME% requires %DISK_USAGE%00K to install. There is %FREE_SPACE%00K free on
- drive %ORACLE_DISK%:. You may try to proceed anyway. Unless you plan to install
- only a portion of it or you are reinstalling after an unsuccessful
- installation, ORAINST will probably terminate abnormally.
-
- .<REINSTALL_HELP>
- %PRODUCT_NAME% has an entry in REGISTER.ORA, indicating that it has
- been installed previously. You may either abort this installation and
- save the version you have already installed, or you may reinstall and
- overwrite the existing version. Entry in REGISTER.ORA follows.
-
- Product: %PRODUCT%
- Version: %VERSION%
-
- .<RUNEXITHELP>
- If you have a C compiler, you can write protected-mode DOS user exits
- which can be called from your ORACLE applications. You must install the
- ORACLE Pro*C precompiler in order to compile and link these programs
- correctly. You can still build complex ORACLE applications without the
- use of user exits.
-
- .<HELP2>
- The monitor resource file you choose will be copied to
- %ORACLE_HOME%\DBS\ORATERM.R
-
- .<DEINSTALL>
- %ORACLE_HOME%\PBIN\ORATERM.COM
- %ORACLE_HOME%\PBIN\GENXTB.COM
-