home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-12-08 | 494.3 KB | 3,553 lines |
- 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
-
- # **********************************************************************
- # Find out if user wants help installed
- # **********************************************************************
- .SELECTPROMPT
- USER_RESP
- Do you wish to copy the files necessary to generate the SQL*Plus help
- system?
- <HELP1>
- 1 No
- 2 Yes
-
- .IF (%USER_RESP%==999)
- .IF (%INSTALL_CHECKED%==1)
- .EXIT
- .ENDIF
- .IF (%DISK_USAGE%>%FREE_SPACE% || %PRODUCT%!="")
- .GOTO <CHECK_SPACE>
- .ELSE
- .GOTO <CHECK_INST>
- .ENDIF
- .ENDIF
-
- .CLEARSCREEN
-
- # **********************************************************************
- # Begin copying and decompressing the distribution files ...
- # **********************************************************************
- .MESSAGE
- %NORMAL% Copying Protected-mode Executables into %ORACLE_HOME%\PBIN...
-
- .FILES -COMPRESS
- SQLPLUS.PXE 920752 %ORACLE_HOME%\PBIN\SQLPLUS.PXE
-
- .SYSCALL
- COPY %ORACLE_HOME%\PBIN\PLOADR.COM %ORACLE_HOME%\PBIN\SQLPLUS.COM >NUL
-
- .MESSAGE
- %NORMAL% Copying SQL*Plus message files into %ORACLE_HOME%\DBS....
-
- # **********************************************************************
- # Abbreviate the LANGUAGE parameter and copy appropriate message file(s)
- # **********************************************************************
- .LANG_ABBR
- %LANGUAGE%
- ABBREVIATION
-
- .FILES -NOCOPY -COMPRESS
- SP1US.MSB 6656
- SP1CS.MSB 7168
- SP1D.MSB 8704
- SP1DK.MSB 7168
- SP1E.MSB 8192
- SP1EL.MSB 7680
- SP1F.MSB 7680
- SP1HU.MSB 8192
- SP1I.MSB 7168
- SP1N.MSB 7168
- SP1NL.MSB 7680
- SP1PL.MSB 9216
- SP1PT.MSB 7680
- SP1PTB.MSB 7168
- SP1RU.MSB 8192
- SP1S.MSB 6656
- SP1SF.MSB 7680
- SP1SK.MSB 7168
- SP1TR.MSB 7168
- SP2US.MSB 15872
- SP2CS.MSB 17408
- SP2D.MSB 18944
- SP2DK.MSB 17408
- SP2E.MSB 17408
- SP2EL.MSB 17920
- SP2F.MSB 17920
- SP2HU.MSB 17920
- SP2I.MSB 18432
- SP2N.MSB 16896
- SP2NL.MSB 17920
- SP2PL.MSB 17408
- SP2PT.MSB 17408
- SP2PTB.MSB 16896
- SP2RU.MSB 17920
- SP2S.MSB 16896
- SP2SF.MSB 17408
- SP2SK.MSB 16896
- SP2TR.MSB 16896
- CPYUS.MSB 2560
- CPYCS.MSB 2560
- CPYD.MSB 2560
- CPYDK.MSB 2560
- CPYE.MSB 2560
- CPYEL.MSB 2560
- CPYF.MSB 2560
- CPYHU.MSB 2560
- CPYI.MSB 2560
- CPYN.MSB 2560
- CPYNL.MSB 2560
- CPYPL.MSB 2560
- CPYPT.MSB 2560
- CPYPTB.MSB 2560
- CPYRU.MSB 2560
- CPYS.MSB 2560
- CPYSF.MSB 2560
- CPYSK.MSB 2560
- CPYTR.MSB 2560
-
- .FILES -VARIABLE -COMPRESS
- SP1%ABBREVIATION%.MSB 0 %ORACLE_HOME%\DBS\SP1%ABBREVIATION%.MSB
- SP2%ABBREVIATION%.MSB 0 %ORACLE_HOME%\DBS\SP2%ABBREVIATION%.MSB
- CPY%ABBREVIATION%.MSB 0 %ORACLE_HOME%\DBS\CPY%ABBREVIATION%.MSB
-
- .MESSAGE
- %NORMAL% Copying demo scripts into %ORACLE_HOME%\DBS...
-
- .FILES -COMPRESS
- ADDUSER.BAT 402 %ORACLE_HOME%\BIN\ADDUSER.BAT
- DEMOFMT.SQL 94 %ORACLE_HOME%\DBS\DEMOFMT.SQL
- LOGIN.SQL 51 %ORACLE_HOME%\LOGIN.SQL
- LOGIN.NEW 223 %ORACLE_HOME%\LOGIN.NEW
-
- .IF (%USER_RESP%==2)
-
- .MESSAGE
- %NORMAL% Copying help files into %ORACLE_HOME%\DBS...
-
- .FILES -COMPRESS
- HELPINS.BAT 781 %ORACLE_HOME%\BIN\HELPINS.BAT
- HELPREM.BAT 527 %ORACLE_HOME%\BIN\HELPREM.BAT
- HELPINDX.SQL 795 %ORACLE_HOME%\DBS\HELPINDX.SQL
- HELPTBL.SQL 480 %ORACLE_HOME%\DBS\HELPTBL.SQL
- PLUSHELP.CTL 424412 %ORACLE_HOME%\DBS\PLUSHELP.CTL
-
- # **********************************************************************
- # If this is a LAN install, write .BAT file with %ORACLE_HOME% in it
- # **********************************************************************
-
- .IF (%LAN_INST%=="YES")
-
- .WRITEFILE
- %ORACLE_HOME%\BIN\HELPINS.BAT
- @ECHO OFF
- ECHO
- REM
- REM Usage: HELPINS SYSTEM SYSTEM_Password
- REM
- IF NOT .%%2 == . GOTO HELPINS
- ECHO Usage: HELPINS SYSTEM SYSTEM_Password
- ECHO
- GOTO EXIT
-
- :HELPINS
- IF NOT EXIST %%ORACLE_HOME%%\DBS\HELPINDX.SQL GOTO ABORT
- IF NOT EXIST %%ORACLE_HOME%%\DBS\HELPTBL.SQL GOTO ABORT
- IF NOT EXIST %%ORACLE_HOME%%\DBS\PLUSHELP.CTL GOTO ABORT
-
- ECHO
- ECHO Installing SQL*Plus help into the SYSTEM account...
-
- SQLPLUS -s %%1/%%2 @%%ORACLE_HOME%%\DBS\HELPTBL.SQL
- SQLPLUS -s %%1/%%2 @%%ORACLE_HOME%%\DBS\HELPINDX.SQL
- SQLLOAD %%1/%%2 %%ORACLE_HOME%%\DBS\PLUSHELP.CTL SILENT=ALL
- IF NOT ERRORLEVEL 1 GOTO EXIT
- ECHO
- ECHO Error - Could not run one of the following files:
- ECHO
- ECHO %%ORACLE_HOME%%\DBS\HELPTBL.SQL
- ECHO %%ORACLE_HOME%%\DBS\HELPINDX.SQL
- ECHO %%ORACLE_HOME%%\DBS\PLUSHELP.CTL
- ECHO
- GOTO EXIT
-
- :ABORT
- ECHO Unable to access one or more of the following files:
- ECHO
- ECHO %%ORACLE_HOME%%\DBS\HELPTBL.SQL
- ECHO %%ORACLE_HOME%%\DBS\HELPINDX.SQL
- ECHO %%ORACLE_HOME%%\DBS\PLUSHELP.CTL
- ECHO
- ECHO Terminating procedure.
- ECHO
-
- :EXIT
- .GOTO <CONFIGL>
- .ENDIF
-
- # **********************************************************************
- # Create BAT files for non-LAN install
- # **********************************************************************
- .WRITEFILE
- %ORACLE_HOME%\BIN\HELPINS.BAT
- @ECHO OFF
- ECHO
- REM
- REM Usage: HELPINS SYSTEM SYSTEM_Password
- REM
- IF NOT .%%2 == . GOTO HELPINS
- ECHO Usage: HELPINS SYSTEM SYSTEM_Password
- ECHO
- GOTO EXIT
-
- :HELPINS
- IF NOT EXIST %ORACLE_HOME%\DBS\HELPINDX.SQL GOTO ABORT
- IF NOT EXIST %ORACLE_HOME%\DBS\HELPTBL.SQL GOTO ABORT
- IF NOT EXIST %ORACLE_HOME%\DBS\PLUSHELP.CTL GOTO ABORT
-
- ECHO
- ECHO Installing SQL*Plus help into the SYSTEM account...
-
- SQLPLUS -s %%1/%%2 @%ORACLE_HOME%\DBS\HELPTBL.SQL
- SQLPLUS -s %%1/%%2 @%ORACLE_HOME%\DBS\HELPINDX.SQL
- SQLLOAD %%1/%%2 %ORACLE_HOME%\DBS\PLUSHELP.CTL SILENT=ALL
- IF NOT ERRORLEVEL 1 GOTO EXIT
- ECHO
- ECHO Error - Could not run one of the following files:
- ECHO
- ECHO %ORACLE_HOME%\DBS\HELPTBL.SQL
- ECHO %ORACLE_HOME%\DBS\HELPINDX.SQL
- ECHO %ORACLE_HOME%\DBS\PLUSHELP.CTL
- ECHO
- GOTO EXIT
-
- :ABORT
- ECHO Unable to access one or more of the following files:
- ECHO
- ECHO %ORACLE_HOME%\DBS\HELPTBL.SQL
- ECHO %ORACLE_HOME%\DBS\HELPINDX.SQL
- ECHO %ORACLE_HOME%\DBS\PLUSHELP.CTL
- ECHO
- ECHO Terminating procedure.
- ECHO
-
- :EXIT
-
- .ENDIF
-
- # **********************************************************************
- # Modify config.ora ...
- # **********************************************************************
- .<CONFIGL>
- .MESSAGE
- %HILITE% Modifying %CONFIG%...
-
- .MODFILE
- %CONFIG%
- SQLPATH=%ORACLE_HOME%
-
- # **********************************************************************
- # Update the registration information in register.ora
- # **********************************************************************
- .MESSAGE
- %NORMAL% Updating registration information...
-
- .IF (%USER_RESP%==2)
- .HELP_TEXT=with help
- .ELSE
- .HELP_TEXT=without help
- .ENDIF
-
- .REGISTERFILE
- %PRODUCT_NUMBER% %PRODUCT_NAME% %HELP_TEXT%
- %PRODUCT_VERSION%
- <DEINSTALL>
-
- .EXIT
-
- # **********************************************************************
- # Help panels ...
- # **********************************************************************
- .<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%
-
- .<HELP1>
- These files allow you to install on-line help for SQL*Plus. They require
- just over 400K of disk space.
-
- # **********************************************************************
- # Update filelist.ora with filenames not found in .FILES commands
- # **********************************************************************
- .<DEINSTALLBçHDâü¿╨Ç ] ?\:├I~ %îëδ¬8RªÉÅ1πáÉ$L$Φ┌5₧dÅiΦ")ⁿâ┤ä*àà(:µµâ"ä┘ä8B¿Lƒ,ªΩ]≥|┬∞╠Å└$(ÇäY┘c\ò $╨0╣PèR,'╠S▄ ├¼[╘$ ╜æRââ¼$&¿H≡ê┬ªü_b¿)±g tK%d├±τ└0#Aα?▐ê▄V£04├êCé] Ω¼┴╪╘Æéδ¼?/$@ 0═ê▐└ïΣD¼èP+ä\ ╨ü╕∙─Ç?)φ┘R║₧DC╩h·èêºE\"≡#┴`&