;COPYRIGHT Hewlett-Packard Company 1987, 1988, 1989, 1990
;
;This file sets the standard definitions and display messages
;  for the interface during installation.  Developers should not 
;  modify this file. This script will install up to 3 disks.
;  Each message box has a limit of 4 lines.


;variables map
;	macro setvar.txt

;The following definitions are used to build other strings. 
;   They should be left alone.

	set colon	":"
	set bslash	"\"
	set cr		"~"

;10/4/89 - TIP
;Apparent error in script execution when key word NULL is used.
;If substitute "" for NULL all works. I substituted.
;	set null	""

	set bequal	"="


;Define MS Windows info.
	set win_path	"\WINDOWS"		;First guess where MS
						;  Windows might be.

	set win_file1	"WIN.COM"		;Names of Win 3.0 files
	set win_file2	"WINVER.EXE"		;  to verify the
						;  existence of Windows.
	set progman_ini	"PROGMAN.INI"		;Windows file to be updated
	set win_ini	"WIN.INI"		;File that must be updated
	set system_ini	"SYSTEM.INI"		;File that must be checked
						;  by application installation.
	set win_name	"MS Windows"

;The following uppercase letters reflect the user inputs for
;when the user is asked to make a choice.  Any of the ASCII
;letters may be used.  The letters should be coordinated with
;the options under the "Press any key..." heading of the box commands
;defined below. 

	set upcont	"C"
	set upedit	"E"
	set upquit	"Q"
	set upyes	"Y"
	set defdrive	"C"

;This message is placed at the upper left corner 
;of the screen during most of the installation.  Maximum
;length is 79 characters.  !1 is the version which will
;normally be left blank. !2 is the name of the application 
;that is being installed

	set welcome " !2 Installation -- Version !1 "


;This messages is placed at the top of the screen during the
;start of the installation.

        set app_instruct "You will need the following disk(s) to install !2:"


;This message is placed in the lower right corner 
;of the screen during the start of the installation.

        set screen_instruct "Press any key when ready . . ."

; Changed 10/4/89 - TIP
; I added the following section from appmsg.txt and changed the strings
;
;These lines define the dependencies of the application; it 
;prompts the user to tell what the assumption is.
;For any prompt applications
    set box_dep1f "This SETUP program requires the file !8."
    set box_dep1  "This SETUP program requires !8 software."
    set box_dep2  "It assumes that !8 is located"
    set box_dep3  "on your hard disk in the directory below."
    set box_dep4  "You may edit the field below if this is not the case."

;These lines define the "Which drive" screen.  This
;is the first screen to be displayed; it prompts the user to
;tell Install where the application should be placed.
	set box_title1 "!2 will be installed on your hard disk"
	set box_title2 "in the (default) directory shown below."
  	set box_title3 ""
	set box_title4 ""


;These lines are the messages telling the user what to do in edit mode.

 	set box_stitle1	"If you have !8 installed in a directory "
 	set box_stitle2	"other than the one above, select Edit. (You may"
 	set box_stitle3	"use the backspace key to correct typing errors.)"
        set box_stitle4	"Otherwise, select Continue or Quit."

	set box_dtitle1 "If you want to install !2 in a directory"


;This message is printed while looking for MS Windows.
;It's maximum length is 79 characters.  !70 is the drive
;letter (and a colon) of the drive where Windows is
;expected.

        set winlook "Searching for MS Windows on !70!71 . . ."

;This message is printed while the directory structure is
;created.  Its maximum length is 79 characters.

        set makedir "Building directory structure(s) . . ."

			   
;This message is printed after the application installation is
;completed. Maximum length is 79 characters.  !2 is the	name of
;the application being installed. The second message is printed 
;if the installation failed while in MS Windows.

	set over1    	"!2 Installation is complete."
	set not_over 	"Warning: !2 Installation is not complete."


;The following variables are used to identify what is currently
;being copied to the hard disk.  The variable is a banner which
;will be printed while the files are being copied.  !42 is the
;destination drive and directory.
					 
	set cp_arch1	"Installing !2 on !42 . . ."
	set cp_arch2	"Installing !2 help files on !42 . . ."


;The following variables are used to identify what is currently
;being updated to the hard disk.  The variable is a banner which
;will be printed while the files are being updated.  !72!73 is the
;destination drive and directory.
					 
        set up_arch1 	"Updating !8 WIN.INI file on !72!73 . . ."


;The following messages are titles and questions for boxes.
;They all follow the same format.  There are four lines.  Any
;lines which are not needed should be set to null.  The text
;begins on the column defined by box_left below.  Normally,
;box_left is set to 18, so these lines can be up to 61 letters
;in length.


;The following lines define the message when a copy failed.
;Maximum length is 79 characters.  !3!43 is the source drive
;and path (from the floppy).  !42 is the destination drive
;and path (to the hard disk).  The fail messages are printed
;when the copy fails.  If the install thinks there is too
;little disk space left, the 'full message' will be printed.

	set copy_fail1	"File copy from !3!43\*.* to !42 failed!"
	set copy_fail2	"Make sure !3!43 and !42 exist before installing !2."
	set copy_full1	"Drive may be full."
	set copy_full2	"Make sure !3!43 and !42 exist before installing !2."

	set lharc_fail	"Uncompress of files from !43 to !42 failed!"
	set lharc_full1	"Drive may be full."
	set lharc_full2	"Make sure you have enough disk space on the !42 drive"
	set lharc_full3 "before installing !2."

;The next lines define what action should be taken when Openview Windows
;help directory could not be found for installing Openview applicaitons.
						
	set need_hlp1   "Unable to locate !9 and its subsystems."
	set need_hlp2	"Install !9 before installing !2."


;These lines tell the user that the desired software was not
;found on the expected drive.  At this time, the user may
;elect to respecify where to search for software, or quit.
        set need_file1  "Unable to locate !8 on !100!101."
        set need_file2  "!8 must be installed first."
        set need_file3  "Re-Enter the location of !8 or select quit."
        set need_file4  ""


;10/09/89 - TIP
;the get_volume function is searching for box_disc variables not
;box_disk variables. I corrected the error by renaming the vars.
;
;These lines define the prompt used when another Floppy disc
;needs to be placed in the floppy drive.  !50 is the name of
;the disc; the name is defined by app_name1, app_name2, ...
;defined in labels.txt.  !3 is the floppy drive's letter
;(and a colon).

	set box_disc1	"Please place the !50 in drive !3."
	set box_disc2	""
	set box_disc3	"Press 'C' to continue after you have inserted disc."
	set box_disc3	"Select 'Continue' after you have inserted disc."
	set box_disc4   "Otherwise Select 'Quit' to quit."


;The following words are used to change the "Wrong volume"
;error message (defined by vol_again1 - vol_again4).

	set vol_nolabel	"anything"
	set vol_not	"not "
	set vol_there	""


;These lines define the "Wrong volume" screen.  This screen
;is displayed when the wrong floppy disk is in the drive.
;!3 is the floppy drive letter and a colon.  !50 is the name
;of the drive that Install expected to find; it is defined
;by app_name1, app_name2, app_name3, or winvol_name.  !51 is the
;volume label of the expected disk; it is a maximum of eleven
;letters.  !52 is either the volume name of the disk that was
;found in the drive, or the contents of vol_nolabel defined
;above.  !53 is either vol_there or vol_nolabel defined above.

	set vol_again1	"Please place the !50 in drive !3."
	set vol_again2	""
	set vol_again3	"Searching for a disc labeled !51 and found a disc"
	set vol_again4	"!53 labeled !52."


;These lines define the the message displayed when install
;cannot create a directory (because a file by that name
;already exists.  At this point the user may elect to have
;the file deleted, and attempt to create the directory
;again. !31 is the full directory name (although it can be
;64 chars in length; in practice, it is usually less than 20).

	set box_error1	"Attempting to create the !31 directory."
	set box_error2	"A file by that name already exists."
	set box_error3	"If you wish to DELETE !31, choose Continue."
	set box_error4	"Otherwise, Quit now."


;These lines define the screen when a directory is not created.
;Failure to create a directory can lead to future errors.  !30
;is the drive where the directory was not created.  !31 is the
;directory which install attempted to create.

	set box_md1	"Unable to create !31 on drive !30."
	set box_md2	"Installation might not be able to continue."
	set box_md3	""
	set box_md4	"Quit now, or Continue to try to finish installation."

				   
;These lines define the screen when a disk error is detected
;while installing the application.  Such an error is potentially
;not recoverable, so it is risky to continue.

	set box_appd1	"disk error while installing !2."
	set box_appd2	"Installation might not be able to continue."
	set box_appd3	""
	set box_appd4	"Quit now, or Continue to try to finish installation."

;These messages are used to define the possible responses within
;a box requesting input.  Their length should not be altered.


;When you are ready message printed to the left of the box.
;Note that the number of spaces following the cr (~ character)
must be coordinated with box_xinst defined above.

	set box_istruct	"   When you are~   ready:"


;This line is the title/instruction line present in each box

	set box_topress	"To                              Press"

			  	
;This line defines the Continue option.  The letter at the
;right should correspond to upcont.  box_cntx and box_cnty
;locate the letter at the right when continue is the default
;option; these vars should generally not be changed.
		  
	set box_cont	"Continue                          C"
	 set box_cntx	 54
	 set box_cnty    19


;This line defines the Edit option.  The letter at the right
;should correspond to upcont.  box_editx and box_edity
;locate the letter at the right when continue is the default
;option; these vars should generally not be changed.
		  		
	set box_edit	"Edit                              E"


;This line defines the quit option.  The letter at the right
;must be the same as upquit.  box_quitx and box_quity locate
;letter at the right so the cursor may be placed there when
;the default action is to quit; these vars should generally
;not be changed			     

	set box_quit    "Quit                              Q"
	 set box_quitx	 54
	 set box_quity	 20				  

;These variables are used to defined boxes which are displayed
;from time to time during install.  If the localizer needs to
;alter the box's position or size, then these variables can be
;changed; however, it is recommended that these positions be
;left alone.


;Box column address
	set box_xinst	0	;Starting col of 'When you are ready:' message
	set box_left	18	;Left edge of all boxes in install
	set box_text	20	;Left edge of text written in a box
	set box_right	62	;Right edge of all boxes


;Box row addresses
	set box_title 	3	;Row where 4 line title is printed
	set box_tend box_title	;Row where 4 line title ends
	add 4 	box_tend
	set box_editln  9 	;Row where the edit line is printed
	set box_stitle  11	;Row where 4 line sub-title is printed
	set box_yinst	16	;Row where "When you are .." is printed
	set box_top	16	;Top edge of the box
	set box_head	17	;Row where "To     Press" line is printed
	set box_bar	18	;Row of bar separating box_head & options
	set box_opt	19	;Row of the first option
	set box_end	21	;Normally the last row of the box
;KLP - 01/22/92
;Changed when moving to windows type interface
	set box_top	18	;Top edge of the box
	set box_end	22	;Normally the last row of the box
	set box_stitle  12	;Row where 4 line sub-title is printed

;These lines define where the Control-c break message box
;is displayed (after Control-C is received).  ctrlc_lin1,
;ctrlc_lin2, and ctrlc_lin3 are the three line numbers, and
;ctrlc_col is the column number of the left edge of the
;box defined below.

	set ctrlc_lin1	8
	set ctrlc_lin2	9
	set ctrlc_lin3	10
	set ctrlc_col	17


;These three lines define the box displayed when a Control-C
;is received.

	set ctrlc_msg1	"====================================="
	set ctrlc_msg2	": Do you really wish to quit (Y/N)? :"
	set ctrlc_msg3	"====================================="


;ctrlc_x and ctrlc_y define where the cursor is placed when
;the Control-C box is displayed.  It should be under the No
;response so it implies that pressing Enter will not terminate
;the installation.

	set ctrlc_x	49
	set ctrlc_y	9

;The floppy drive error message is generated when the floppy
;(source) drive generates an int 24h error (such as open
;door, unformatted disk, ...).  This message is printed in
;the middle of the display in order to give the user a chance
;to correct the problem and start again.


;floppy_col is the column number of the left edge of the floppy
;drive error message.

	set floppy_col	15


;The following three lines are the actual display used when
;printing the floppy drive error message.

	set floppy_msg1	"========================================"
	set floppy_msg2	": Floppy drive error.  Quit now (Y/N)? :"
	set floppy_msg3	"========================================"


;floppy_x and _floppy_y are used to position the cursor under
;the 'N' which is the default choice when Enter is pressed.

	set floppy_x	50
	set floppy_y	9

