;COPYRIGHT Hewlett-Packard Company 1987, 1988, 1989 , 1990
; This file allows the application developer to set, in one file,
;    most of the variables for installation of the application.
; Modify the values of variables for your application.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DEVELOPERS MODIFY THIS SECTION ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
:variables map
;	macro setvar.txt		;uncomment if global variables used

; Add application specific messages here if wanted.
  set hubmgr "hubmgr"
  set icmgr  "icmgr"
  set emulatr  "emulatr"
  set app_name emulatr

  ; Variables used for setting net_type
  ;set net_tcpip "T"
  ;set net_netware "N"

; Modify the first screen text, specifying name.
  prompt "~Welcome to the Hub/InterConnect Manager Installation Program~"
  prompt "COPYRIGHT Hewlett-Packard Company 1987,1988,1989,1990,1991,1992~"
		
;Define default installation
	set var001	"D.01.01"	;application version number
					;application name
	if app_name = hubmgr set var002  "HP OpenView Hub Manager"
	if app_name = icmgr set var002   "HP OpenView InterConnect Manager"
	if app_name = emulatr set var002 "HP OpenView InterConnect Emulator"
	set var022	2		;decide if app directory is
					;  modifiable:
					;    	1 for cont, edit quit
					;    	2 for cont, quit
					;	3 for edit, quit

	set var032 	""		; Help directory already created
					; by OpenView installation.
					; (Alternate is "upyes".)
	if app_name = hubmgr set var060	"Hub Manager Reference Guide"
	if app_name = icmgr set var060	"InterConnect Manager Reference Guide"
					; Label to be displayed in last
					;  screen text at the end of 
					;  installation.

;Define the last screen text to be displayed at the end of installation.
;  The messages contain instructions to run the application.
	set run1 	"Read !60 to see how to run !2."
	set run2	""		;If one line of instruction is enough, 
					;  set to "".

; Define Volume labels and names for the applications disks.
	;Volume labels of discs
	if app_name = hubmgr	set app_label1	"HUBMANAGER1"
	if app_name = hubmgr	set app_label2	"HUBMANAGER2"
	if app_name = icmgr	set app_label1	"ICMANAGER1"
	if app_name = icmgr	set app_label2	"ICMANAGER2"
	if app_name = emulatr	set app_label1	"EMULATOR1"
	if app_name = emulatr	set app_label2	"EMULATOR2"
				set app_label3	""
				  	
	;Volume labels used in prompt
	if app_name = hubmgr	set app_name1	"HUBMANAGER1 Disk"
	if app_name = hubmgr	set app_name2	"HUBMANAGER2 Disk"
	if app_name = icmgr	set app_name1	"ICMANAGER1 Disk"
	if app_name = icmgr	set app_name2	"ICMANAGER2 Disk"
	if app_name = emulatr	set app_name1	"EMULATOR1 Disk"
	if app_name = emulatr	set app_name2	"EMULATOR2 Disk"
				set app_name3	""

	;More info used in Prompt
				set app_ext1    " (Current Disk)"
	if app_name = hubmgr	set app_ext2	" (HubManager Disk2) "
	if app_name = icmgr	set app_ext2	" (ICManager Disk2) "
	if app_name = emulatr	set app_ext2	" (Emulator Disk2) "
				set app_ext3	""

; Define Directory names for the target system. Developer's should replace 
;    with their application's directories.  
        set app_prv	"\DEVMGR"   	;App's private subdirectory of OV\ 
					;  where some app files should be 
					;  installed.

	set app_prvhid	"\DEVMGR\FILES" ;App's private subdirectory of OV\ 
					;  where app hidden files should be 
					;  installed.
			
	set app_mibsdir "\DEVMGR\MIBS"  ;Subdirectory for browser mibs
		
;Changed 10/4/89 - TIP
;I added the following section - as I would have anyway NO BUG
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Variables used in Sabre Manager unique functions of appscript.txt ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
        set str_disk_space    "3.3"	;Required Disk Space in Mbytes
        set val_disk_space    3300	;Required Disk Space in Kbytes

        set req_ovrun    "A.05.01"	;Required OpenView run version
        set req_ovdraw   "A.05.01"	;Required OpenView draw version
        set req_netif    ""		;Required Officeshare version

        set req_netif_rls "Rev B.02.00"

        set OfficeShare "HP ARPA Services"
        set OS_location "\HPNET"
        set netiflook   "Searching for network interface"

        set app_section_file    "Files="
        set event_file          "EventLogName="
        set browse_mib		"BrowseMib="
        set app_netlog          "NetworkLogName="
        set app_section_lfsize  "NetworkLogFileSize=1000000"
        set app_section_display "DisplayAddress=0"
        set app_section_bgpolli "BackgroundPollInterval=5"
        set app_section_bgpollb "BackgroundPollBurst=5"
        set app_section_retries "NetworkMaxRetries=10"
        set app_ip_timeout      "NetworkMaxDiscoverTime=2"
        set app_ipx_timeout     "NetworkMaxDiscoverTime=1"
        set app_section_maxrsp	"NetworkMaxRspTime=500"
        set app_section_cisco	"CiscoCommunityName="
        set app_section_mibs	"MIBS="
        set app_section_map	"map="
	
        set ipx_retry_count	"ipx retry count= 5"

        set OV_location "\OV"
        set ovlook  "Searching for OpenView application"

        set group_file "NETMGMT.GRP"    ;Group file for Icons

        set netif_file1 "NET_STRT.BAT"    ;Network Files to search for.
        set netif_file2 "NET_STRT.SYM"
        set netif_file3 ""

        set arpa_dir1 "\drivers\protocol\tcpip\"    ; New ARPA Dir
        set arpa_dir2 "\doswksta\lanman\drivers\"   ; Old/LanMan ARPA Dir
        set req_arpa_f1 "tcptsr.exe"    ;Network Files to check versions
        set req_arpa_v1  "B.17.00"

        set ov_file1 "OVRUN.EXE"          ;OpenView Files to look for
        set ov_file2 "OVDRAW.EXE"
        set ov_file3 ""

;application specific symbol installation constants MUST BE ALTERED
;PER ADDITION
        set sym_file_flag "-f"             ;DONT ALTER THESE
        set sym_add       "-a"
        set sym_delete    "-d"
        set sym_regen     "-o"
        set sym_zero      "0"
        set sym_null      "#"#""
        set sym_space     " "
        set sym_quiet     "-q"

        set ov_symbol_dir "\symbols"       ;directory of symbol file
        set ov_symbol_file "symbols.ovw"   ;symbol file for app icon insert.
        set num_sym_bit_maps 6             ;# of symbol bit maps to copy.

;These lines prompt user to see if he wants sample map installed
        set box_map1 "Would you like this SETUP program to install "
        set box_map2 "a sample HP OpenView network map ?"
        set box_map3 ""
        set box_map4 ""

;Error notification strings
        set version_err1 "ERROR:"
        set version_err2 "A version of !100 that is incompatible"
        set version_err3 "with !8 is currently installed."
        set version_err4 "Please upgrade to !100 !101 software (or greater)."

;Margins on error messges
        set app_err_margin 5

;10/09/89 - TIP
;I added the following section - we don't need addwin files anymore.
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Equivalent of ADDWIN.INI and ADDWIN1.INI ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
         set map_name      "SAMPLE.OVM"           ;sample map
         set sys_mib	   "MIB2\SYSTEM.MIB"
         set ov_run_app2   "BRG1010.EXE"          ;runtime apps
         set ov_run_app3   "BRGREM.EXE"           ;runtime apps
         set ov_run_app4   "HUB12.EXE"            ;runtime apps
         set ov_run_app5   "HUB12B.EXE"           ;
         set ov_run_app6   "HUB48.EXE"            ;
         set ov_run_app7   "HUBF.EXE"             ;
         set ov_run_app8   "HUBT.EXE"             ;
         set ov_run_app9   "SNMPMGR.EXE"	  ;another
         set ov_run_app10  "GRAPHCTS.EXE"         ;runtime app
         set ov_draw_app   "ADDRAW.EXE"           ;drawtime app
         set ov_admin_app  ""                     ;admin app
         set event_log     "EVENT.LOG"
         set net_log       "NETWORK.LOG"
         set map_key       "MAP="                 ;map key word
         set app_key_oldhm "HM="		  ;Old app keys.
         set app_key_oldad "AD="
         set app_key_oldbm "BM2="
         set app_key1      "AD="                  ;OVapp key words.
         set app_key2      "BRG1010="             
         set app_key3      "BRGREM="
         set app_key4      "HUB12=" 
         set app_key5      "HUB12B=" 
         set app_key6      "HUB48=" 
         set app_key7      "HUBF="
         set app_key8      "HUBT="
	 set app_key9	   "SNMPMGR="
	 set app_key10     "GRAPHCTS="
	 set app_key11	   ""	 
	 set app_section_msym	"MaxSymbols=16000"
	 set app_prop_stat	"PropagateStatus=0"
         set app_errlog         "ADErrorLogName="
         set ov_adlog      "ADERROR.LOG"          ;runtime app
	 set app_winini11	"CiscoCommunityName="
	 set graph_log	       "GraphLogName="
	 set glog_name	   "GRAPH.LOG"
	 set mskermit1	"\NETPROG\MSKERMIT.INI"
	 set mskermit2	"\DOSWKSTA\LANMAN\NETPROG\MSKERMIT.INI"
	 set msk_line	"#"set key \315 \Knethold#""
	 set ov_help_key		"HELPDIR="
	 set ov_symbol_key	"SymbolsDir="	
	 set ov_symbol_fkey	"SymbolFile="
	
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DEVELOPERS MAY REPLICATE PIECES OF THIS SECTION ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Define section names of the WIN.INI and ADDWIN.INI that are to be modified/
; appended during installation for your application. Replicate "app_hdr#" 
; if section(s) other than [OpenViewApps] section is to be modified/appended.
        set app_hdr    	"[Openview]"		;Section for OpenView info.
						;  (Do not redefine.)
        set app_hdr1    "[OpenviewApps]"	;Section for application info.
						;  (Do not redefine.)
        set app_hdr2    "[DevMgr]" 		;Another section that applica-
						;  tion wants modified.  
						;  Replace x's with another 
						;  section name.
						;Replicate setting as app_hdr#
						;  if even more sections are 
						;  to be modified.
	set app_hdrnew	"[OpenView]"		; new spelling for A.05.00

	set group_hdr	"[Groups]"		; Section for List of Groups

; Define keywords which indicate the lines to be modified only under 
;   [OpenViewApps] section in ADDWIN.INI during installation.
	set app_apptxt	"OVDemo"	;Keyword of line where application 
					;  info should be added. Replace
					;  OVDemo with application's name.
	set app_hlptxt	"helpdir"	;Where all help files should be.
	set app_logtxt  "log" 		;Where log file should be.
;	set app_apptxt1	"zzzzzzz"	;Replace z's with another keyword if
					; application modifies another line.
					;Replicate setting as app_apptxt# 
					;   and give that keyword if
					;   application modifies another 
					;   line.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; DEVELOPERS DO NOT MODIFY THIS SECTION ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Define names for the destination directories.
;Generally, these should not be modified.
        set app_dir     "\OV"		; where application 
					; should be installed. 
	set app_hlp	"\HELP"		; where help files should be 
					; installed which has to be a
					; sub-directory of openview dir.

;Define src directory names for install and application files. These should 
;  not be modified unless directory structures on product disk changes.
	set app_inst	"\INSTALL"		;dir for installation files
	set app_app	"\APP"			;dir for application files

;Define messages for system platform.
;Generally, this should not be modified unless the name is changed.
;Only for Openview.

;10/9/89 - TIP
;added HP to string below 
	set ov_name	"HP OpenView Windows"

;Define default installation
;Generally, these should not be modified.
	set var006	""
	set var007  	""
	set var009	ov_name

;Define path messages after installation.  These should not be modified.
	set up_path1	"Make sure the path to Openview Windows, !4!5, is"
	set up_path2	"specified on the path statement in AUTOEXEC.BAT."


;===================================================
; Variable Settings for moving to COLOR and WINDOWS
; KLP -- 01/17/91
;===================================================

;Main window strings
	set continue_str	"Continue"
	set edit_str		"Edit Directory"
	set quit_str		"Quit"
;Main window values
	set continue_val	1
	set edit_val		2
	set quit_val		3

;Network window strings
	set tcpip_str		"ARPA TCP/IP"
	set netware_str		"Novell NetWare"
	;set quit_str		"Quit"
;Network window values
	set net_tcpip		1
	set net_netware		2
	;set quit_val		3

;define window & pen values
	set main_win		0
	set info_win		1
	set subt_win		2
	set ctrlc_win		3
	set main_pen		0
	set info_pen		1
	set title_pen		2
	set error_pen		3

;define window labels
	set main_label 		" Would You Like To "
	set label_pos	20

; Initialize some color settings
	shadow_color 0 0 0 0

; Make Pens
	make_pen main_pen 7 1 1 0
	make_pen info_pen 7 0 0 0
	make_pen title_pen 1 7 0 0
	make_pen error_pen 7 4 1 0

; Make Windows
   ; Main Window
	border_type 2
	set_frame 7 1 0 0
	set_window 1
	make_window main_win box_left box_top box_right box_end
   ; Info Window
	border_type 3
	set_frame 4 0 0 0
	set_window 0
	set info_x1 box_left
	sub 2 info_x1
	set info_x2 78
	set info_y1 box_title
	sub 1 info_y1
	set info_y2 info_y1
	add 5 info_y2
	make_window info_win info_x1 info_y1 info_x2 info_y2
   ; SubTitle Window
	set subt_y1 box_stitle
	sub 1 subt_y1
	set subt_y2 subt_y1
	add 5 subt_y2
	make_window subt_win info_x1 subt_y1 info_x2 subt_y2
   ; Control-C Window
    set_frame 7 4 0 0
    set_window 4
	set ctrlc_col_end ctrlc_col
	add 35 ctrlc_col_end
	set ctrlc_lin_end ctrlc_lin1
	add 3 ctrlc_lin_end
	make_window ctrlc_win ctrlc_col ctrlc_lin1 ctrlc_col_end ctrlc_lin_end
