home *** CD-ROM | disk | FTP | other *** search
- #-------------------------------------------------------------------------
- #
- # FILE
- # INSTALL.ORI
- # V2 installation script language interpreter file.
- #
- # DESCRIPTION
- # Installation file for the character-mode Windows Run Form and Run
- # Menu disk.
- #
- # MODIFIED
- # Greg Costanzo 18-July-91
- #
- #-------------------------------------------------------------------------
-
- #-------------------------------------------------------------------------
- # Generate symbols for Disk Volume label and Jacket label for disks.
- #-------------------------------------------------------------------------
- .LABELGEN
- u
- V60 FOME %u
- Run Form and Run Menu for Windows Disk %u
-
- # **********************************************************************
- # Copy the install.ori file to the distribution disks
- # **********************************************************************
- .FILES -NOCOPY
- INSTALL.ORI 10499
-
- # **********************************************************************
- # Copy the forms and menu install scripts to Oracle Home, they will
- # be deleted later.
- # **********************************************************************
- .FILES
- FORMS.ORI 2627 %ORACLE_HOME%\FORMS.ORI
- MENU.ORI 2978 %ORACLE_HOME%\MENU.ORI
-
- # **********************************************************************
- # Copy the distribution files to the diskettes, menu and forms.ori scripts
- # will copy these files to the user's hard disk if chosen.
- # **********************************************************************
- .FILES -NOCOPY -COMPRESS
- RUNFORM.EXE 1073664
- IAPLIBW.LIB 326763
- IAPSUPW.LIB 46627
- IAPOPTS.OBJ 4021
- IAPWMAIN.OBJ 1271
- ICCVSN.OBJ 1469
- RUNFORM.RES 3115
- RFW.DEF 418
- RFW.MLN 646
- RFWM.MLN 859
- RFWP.MLN 769
- RFWPM.MLN 1045
- USDWIN.LIB 49727
- XCONSW.OBJ 5226
- XUTW.OBJ 1533
- SQLXITW.LIB 6221
- RUNMENU.EXE 1071104
- USDCMDW.OBJ 970
- DMCOS2W.OBJ 275
- DMCOS3W.OBJ 275
- DMFFNC.OBJ 7965
- DMGBANW.OBJ 1112
- DMUW.OBJ 2990
- DMUWMAIN.OBJ 1295
- DMXFEOW.OBJ 1177
- RUNMENU.RES 2124
- RMW.DEF 416
- RMW.MLN 887
- RMWP.MLN 1043
-
- # **********************************************************************
- # Initialize variables ...
- # **********************************************************************
- .FORMS_USAGE=13
- .MENU_USAGE=9
- .BOTH_USAGE=22
- .PRODUCT_NAME=Run Form and Run Menu for Windows
- .FORMS_VERSION=3.0.16.11.3
- .FORMS_NUMBER=67
- .FORMS_NAME=Run Form for Windows
- .MENU_VERSION=5.0.11.12.3
- .MENU_NUMBER=68
- .MENU_NAME=Run Menu for Windows
- .FORMS_REQUIRED=3.0.16.11.3
- .MENU_REQUIRED=5.0.11.12.3
- .WINRSF_REQUIRED=6.0.36.1.0
-
- # **********************************************************************
- # Check the Oracle register for required product versions ...
- # **********************************************************************
- .CHECKREG 67
- WINFORMS
- WINFORMS_VERSION
-
- .CHECKREG 68
- WINMENU
- WINMENU_VERSION
-
- .CHECKREG 66
- WINRSF
- WINRSF_VERSION
-
- .IF (%WINRSF%=="" || %WINRSF_VERSION% < %WINRSF_REQUIRED%)
- .MESSAGE
- %WARNING%
-
- You have not installed Windows Required Support Files %WINRSF_REQUIRED%.
- Please install Windows Required Support Files %WINRSF_REQUIRED% or later
- and then install %PRODUCT_NAME%.
-
- .PAUSE
- .EXIT
- .ENDIF
-
- .CLEARSCREEN
-
- # **********************************************************************
- # Prompt the user with basic information
- # **********************************************************************
- .<APPBUILDL>
- .MESSAGE
- %NORMAL% This routine installs character-mode Run Form and Run Menu for
- Microsoft Windows 3.1. This product allows you to run forms and menus
- that were generated by SQL*Forms/SQL*Menu for DOS, in the Microsoft
- Windows 3.1 environment. It has identical keyboard and video
- attributes to SQL*Forms/SQL*Menu for DOS.
-
- .PAUSE
-
- # **********************************************************************
- # Ask user which products should be installed.
- # **********************************************************************
- .<CHECK_INST>
-
- .IF (%INSTALL_CHECKED%!=1)
- .SELECTPROMPT
- PRODUCT
- Would you like to install SQL*Forms, SQL*Menu or both?
- <PRODUCTHELP>
- 1 SQL*Forms only
- 2 SQL*Menu only
- 3 Both
- .IF (%PRODUCT%==999)
- .EXIT
- .ENDIF
-
- .IF ((%PRODUCT%==1) || (%PRODUCT%==3))
-
- .CHECKREG 5
- FORMS
- FORMS_VERSION
-
- .IF (%FORMS%=="" || %FORMS_VERSION% < %FORMS_REQUIRED%)
- .MESSAGE
- %WARNING%
-
- You have not installed SQL*Forms %FORMS_REQUIRED% for DOS. Please
- install SQL*Forms %FORMS_REQUIRED% for DOS or later and then
- install %PRODUCT_NAME%.
-
- .PAUSE
- .EXIT
- .ENDIF
- .ENDIF
-
- .IF ((%PRODUCT%==2) || (%PRODUCT%==3))
-
- .CHECKREG 6
- MENU
- MENU_VERSION
-
- .IF (%MENU%=="" || %MENU_VERSION% < %MENU_REQUIRED%)
- .MESSAGE
- %WARNING%
-
- You have not installed SQL*Menu %MENU_REQUIRED% for DOS. Please
- install SQL*Menu %MENU_REQUIRED% for DOS or later and then
- install %PRODUCT_NAME%.
-
- .PAUSE
- .EXIT
- .ENDIF
- .ENDIF
-
- .DISK_USAGE=0
- .IF ((%PRODUCT%==1 || %PRODUCT%==3) && %WINFORMS%=="")
- .DISK_USAGE=%DISK_USAGE%+%FORMS_USAGE%
- .ENDIF
- .IF ((%PRODUCT%==2 || %PRODUCT%==3) && %WINMENU%=="")
- .DISK_USAGE=%DISK_USAGE%+%MENU_USAGE%
- .ENDIF
-
- # **********************************************************************
- # Find out how much space there is on %ORACLE_DISK%.
- # **********************************************************************
- .<CHECK_SPACE>
-
- .IF (%WINFORMS%=="" || %WINMENU%=="")
- .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)
- .EXIT
- .ENDIF
- .IF (%USER_RESP%==999)
- .GOTO <CHECK_INST>
- .ENDIF
- .ENDIF
- .ENDIF
-
- .IF ((%PRODUCT%==1) || (%PRODUCT%==3))
- .PRODUCT_NO==67
- .VERSION_NO==%FORMS_VERSION%
- .ELSE
- .PRODUCT_NO==68
- .VERSION_NO==%MENU_VERSION%
- .ENDIF
-
- .IF (%WINFORMS%!="" || %WINMENU%!="")
- .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)
- .EXIT
- .ENDIF
- .IF (%USER_RESP%==999)
- .GOTO <CHECK_INST>
- .ENDIF
- .REINSTALL=1
- .ENDIF
-
- .CLEARSCREEN
-
- # **********************************************************************
- # Find out if the user wants userexit support installed
- # **********************************************************************
- .MESSAGE
- %NORMAL% Included with this software are files necessary to build
- a customized RUNFORM.EXE or RUNMENU.EXE containing user exits,
- which may be written in C. In order to build Run Form or Run Menu
- user exits, you will also need the following installed:
-
- Pro*C with Windows support
-
- Tool Utilities with user exit support
- .IF (%PRODUCT%==1 || %PRODUCT%==3)
- .MESSAGE
- %NORMAL%
- SQL*Forms with user exit support
- .ENDIF
- .IF (%PRODUCT%==2 || %PRODUCT%==3)
- .MESSAGE
- %NORMAL%
- SQL*Menu with user exit support
- .ENDIF
-
- .PAUSE
-
- .SELECTPROMPT
- RUNEXIT
- Included with the report-building software are files necessary
- to build a customized report containing user exits, which may
- be written with C. It is not necessary to install this capability
- unless it is specifically desired.
- Would you like to install user exit support?
- <RUNEXITHELP>
- 1 Install support for user exits
- 2 Do not install user exit support
-
- .IF (%RUNEXIT%==999)
- .GOTO <APPBUILDL>
- .ENDIF
-
- .CLEARSCREEN
-
- .IF (%RUNEXIT%==1)
-
- .ACCESS
- %ORACLE_HOME%\PRO
- .IF (%ACCESSRET%==0)
-
- # **********************************************************************
- # Create the required directories
- # **********************************************************************
- .MESSAGE
- %HILITE% Making directory %ORACLE_HOME%\PRO...
-
- .MKDIR
- %ORACLE_HOME%\PRO
-
- .MKDIR
- %ORACLE_HOME%\PRO\LIB
-
- .MKDIR
- %ORACLE_HOME%\PRO\EXIT
-
- .ENDIF
- .ENDIF
-
- # **********************************************************************
- # Run forms.ori or menu.ori scripts if chosen by user. Delete them from
- # installer's hard disk after running.
- # **********************************************************************
- .IF ((%PRODUCT%==1) || (%PRODUCT%==3))
- .RUNSCRIPT %ORACLE_HOME%\FORMS.ORI
- .ENDIF
-
- .IF ((%PRODUCT%==2) || (%PRODUCT%==3))
- .RUNSCRIPT %ORACLE_HOME%\MENU.ORI
- .ENDIF
-
- .SYSCALL -QUIET
- DEL %ORACLE_HOME%\FORMS.ORI
-
- .SYSCALL -QUIET
- DEL %ORACLE_HOME%\MENU.ORI
-
- .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_NO%
- Version: %VERSION_NO%
-
- .<PRODUCTHELP>
- This installation can either SQL*Forms, SQL*Menu, or both. Choose
- which installation option you would like ORAINST to perform, or press
- <ESC> to exit.
-
- .<RUNEXITHELP>
- If you have a C compiler, you can create programs which can be called by
- your SQL*ReportWriter applications. You must install the corresponding
- ORACLE precompiler in order to compile and link these programs
- successfully. You can still build and run complex reports without the
- use of user exits.
-
- # **********************************************************************
- # Update filelist.ora with filenames not found in .FILES commands
- # **********************************************************************
-
- .<DEINSTALL>
-
-