@DefineProject
	@Name		= "Zinc Application Framework"
	@Version	= "4.0"
	
	@Subdir		= "\\ZINC"
	@OutDrive	= C
	@Requires	@HardDisk

	@Immediate	= 1
	@InDiskBell	= 1

	/* The following options and groups are used:       */

	/* Option 1 - No (not agree to license)             */
	/* Option 2 - Yes                                   */
	/* Option 3 - Exit                                  */

	/* Group E = Zinc Engine                            */
	/* Group D = MS DOS Key                             */
	/* Group M = OSF/Motif Key                          */
	/* Group O = IBM OS/2 Key                           */
	/* Group W = MS Windows Key                         */
	/* Group U = Unicode Key                            */

	/* Group B - Borland C++ compiler Support           */
	/* Group I - IBM C++ compiler Support               */
	/* Group V - Microsoft Visual C++  compiler Support */
	/* Group S - Symantec C++ compiler Support          */
	/* Group C - Watcom C++ compiler Support            */
@EndProject

@GetOption
	@If (@Platform == 1)
		@LocalWindow(16, 40)
	@Else
		@DlgCtrlSize(0, 14, 30, 17, 36)
	@EndIf
	@Option 1 = "No  "
	@Option 2 = "Yes "
	@Option 3 = "Exit"
	@Cls

	              Zinc Application Framework 4.0 Installation

	To install Zinc Application Framework, it is necessary to confirm 
	that you have read and accepted the Zinc Application Framework End
	User Software License Agreement and Source Code License Addendum.
	The license agreements are found at the beginning of the Getting 
	Started manual.  To confirm and proceed with the installation, 
	select "Yes."  Otherwise, select "No" and the installation will end.









	Select "Yes" by pressing the <Down-Arrow> key, and then pressing the
	<Enter> key.  To abort the installation, press the <Enter> key now.
@EndOption

@If (1 [= @Option || 3 [= @Option)
	@Display
	@Cls

	Installation terminated.


	@Abort

	@EndDisplay
@EndIf

@GetOutDrive
	@LocalWindow(11,40)
	@Suppress A
	@Suppress B
	@Cls

	Please select the drive where you want to install Zinc Application
	Framework.














	Use the <Up-Arrow> and <Down-Arrow> keys to move the selection bar
	to the drive where you want to install Zinc Application	Framework.
	Press <Enter> to continue the installation.
@EndOutDrive

@GetSubdir
	@LocalWindow(11, 50)	
	@Prompt = " @OutDrive:\\ "
	@Cls

	Please specify the path on drive @OutDrive: where you want to install Zinc
	Application Framework.














	Use the <Left-Arrow> and <Right-Arrow> keys to edit the default path
	where you want to install Zinc Application Framework.  Press <Enter> 
	to continue the installation using the indicated path.
@EndSubdir

@GetGroups
	@If (@Platform == 1)
		@LocalWindow(11, 40)
	@Else
		@DlgCtrlSize(0, 7, 20, 13, 50)
	@Endif
	@Checkbox
	@SetGroup(E)
	@Set E = "Zinc Engine (Required) (14.1M)"
	@Set D = "MS-DOS Key (7.2M)"
	@Set W = "MS Windows Key (6.5M)"
	@Set O = "IBM OS/2 Key (4.2M)"
	@Set M = "OSF/Motif Key (0.4M) "
	@Set U = "Unicode Key (5.4M) "
	@Cls

	Please select the options you want to install.  The approximate 
	amount of disk space required is shown after each option.












	Use the <Up-Arrow> and <Down-Arrow> keys to move the selection bar to
	the option(s) you want to install and then press the <Space> bar to
	select or deselect the option.  Press <Enter> when you have selected 
	all of the options you want to install.
@EndGroups

@DefineVars
	@Integer @compilerHeight = 0
@EndVars
@If (D [= @Group || O [= @Group || P [= @Group || W [= @Group)
	@If (D [= @Group || O [= @Group || W [= @Group)
		@compilerHeight = @Eval(@compilerHeight + 1)
	@EndIf
	@If (O [= @Group)
		@compilerHeight = @Eval(@compilerHeight + 1)
	@EndIf
	@If (D [= @Group || W [= @Group)
		@compilerHeight = @Eval(@compilerHeight + 1)
	@EndIf
	@If (D [= @Group || W [= @Group)
		@compilerHeight = @Eval(@compilerHeight + 1)
	@EndIf
	@If (O [= @Group)
		@compilerHeight = @Eval(@compilerHeight + 1)
	@EndIf
	@GetGroups
		@If (@Platform == 1)
			@LocalWindow(10, 40)
		@Else
			@DlgCtrlSize(0, @Eval(10 - @compilerHeight / 2), 20,
				@Eval(10 - @compilerHeight / 2 + @compilerHeight), 50)
		@Endif
		@Checkbox
		@If (D [= @Group || O [= @Group || W [= @Group)
			@SetGroup(B)
			@Set B = "Borland C++         "
		@EndIf
		@If (O [= @Group)
			@SetGroup(I)
			@Set I = "IBM C Set ++        "
		@EndIf
		@If (D [= @Group || W [= @Group)
			@SetGroup(V)
			@Set V = "Microsoft Visual C++"
		@EndIf
		@If (D [= @Group || W [= @Group)
			@SetGroup(S)
			@Set S = "Symantec C++        "
		@EndIf
		@If (O [= @Group)
			@SetGroup(T)
			@Set T = "Watcom C++          "
		@EndIf
		@Cls
       	
	Please select the libraries you want installed.













	Use the <Up-Arrow> and <Down-Arrow> keys to move the selection bar to
	the libraries you do not want to install and then press the <Space>
	bar to deselect or reselect the option.  Press <Enter> when you have 
	selected all of the options you want to install.
	@EndGroups
@EndIf

@If (E [= @Group)
	@DefineDisk
		@Label = "Zinc Engine 1 of 2"

		@BeginLib text.red
			@File *.*		@Out *.*
		@EndLib
		@BeginLib include.red
			@File *.*		@Out INCLUDE\*.*
		@EndLib
		@BeginLib include.red
			@File *.*		@Out SOURCE\*.*
		@EndLib
		@BeginLib z_map.red
			@File *.*		@Out SOURCE\INTL\*.*
		@EndLib
		@BeginLib z_loc.red
			@File *.*		@Out SOURCE\INTL\*.*
		@EndLib
		@BeginLib z_intl.red
			@File *.*		@Out SOURCE\INTL\*.*
		@EndLib
		@BeginLib z_source.red
			@File *.*		@Out SOURCE\*.*
		@EndLib
		@BeginLib z_storge.red
			@File *.*		@Out SOURCE\STORAGE\*.*
		@EndLib
		@BeginLib z_clean.red
			@File *.*		@Out BIN\*.*
		@EndLib
		@BeginLib z_clean.red
			@File *.*		@Out SOURCE\*.*
		@EndLib
		@BeginLib design.red
			@File *.*		@Out DESIGN\*.*
		@EndLib
		@BeginLib _service.red
			@File *.*		@Out DESIGN\SERVICE\*.*
		@EndLib
		@BeginLib _direct.red
			@File *.*		@Out DESIGN\DIRECT\*.*
		@EndLib
		@BeginLib _storage.red
			@File *.*		@Out DESIGN\STORAGE\*.*
		@EndLib
		@BeginLib _stredit.red
			@File *.*		@Out DESIGN\STREDIT\*.*
		@EndLib
		@BeginLib _message.red
			@File *.*		@Out DESIGN\MESSAGE\*.*
		@EndLib
		@BeginLib _help.red
			@File *.*		@Out DESIGN\HELP\*.*
		@EndLib
		@BeginLib _image.red
			@File *.*		@Out DESIGN\IMAGE\*.*
		@EndLib
		@BeginLib _i18n.red
			@File *.*		@Out DESIGN\I18N\*.*
		@EndLib
		@BeginLib _file.red
			@File *.*		@Out DESIGN\FILE\*.*
		@EndLib
		@BeginLib _window.red
			@File *.*		@Out DESIGN\WINDOW\*.*
		@EndLib
	@EndDisk
	@Chain("Zinc Engine 2 of 2")
@ElseIf (D [= @Group)
	@Chain("MS-DOS Key 1 of 2")
@ElseIf (W [= @Group)
	@Chain("MS Windows Key 1 of 2")
@ElseIf (O [= @Group)
	@Chain("IBM OS/2 Key 1 of 1")
@ElseIf (M [= @Group)
	@Chain("OSF/Motif Key 1 of 1")
@ElseIf (U [= @Group)
	@Chain("Unicode Key 1 of 2")
@Else
	@Finish
		@ChDrive @OutDrive
		@ChDir "@Subdir"
		@Cls
	Installation of Zinc Application Framework is complete.


	Please read the file READ.ME for the latest information about
	the library.  The Getting Started manual contains information
	about how to set up your compiler to use Zinc Application 
	Framework.

		@Pause
	@Exit
	@EndFinish
@EndIf
