/*---------------------------*/
/*  INSTALL Definitions      */
/*---------------------------*/

@DefineProject

	@Name                   = "Los Angeles and Orange Data Set"
	@Version = "1993"
	@Subdir         = "\\GEOFIND2"
	@OutDrive       = C

	@Requires @HardDisk
	@InDiskBell = 1

@EndProject

@Display
	@Cls


				   Welcome!



    This program will install the @Name onto the
		 hard disk of your computer system and verify the
		      integrity of the distribution files.


		      @Version @Name


				       @Pause
@EndDisplay

/*---------------------------*/
/*  Define OUTPUT Drive       */
/*---------------------------*/

/* specify OUTPUT drive */
@GetOutDrive
/* Clumsy but no way to pass variable to Suppress */
@LocalWindow(15,35)
@If (@DriveExists(A))
	@If (@Removable(A))
		@Suppress A
	@Endif
@EndIf
@If (@DriveExists(B))
	@If (@Removable(B))
		@Suppress B
	@Endif
@EndIf
@If (@DriveExists(C))
	@If (@Removable(C))
		@Suppress C
	@Endif
@EndIf
@If (@DriveExists(D))
	@If (@Removable(D))
		@Suppress D
	@Endif
@EndIf
@If (@DriveExists(E))
	@If (@Removable(E))
		@Suppress E
	@EndIf
@EndIf
@If (@DriveExists(F))
	@If (@Removable(F))
		@Suppress F
	@Endif
@EndIf
@If (@DriveExists(G))
	@If (@Removable(G))
		@Suppress G
	@Endif
@EndIf
@If (@DriveExists(H))
	@If (@Removable(H))
		@Suppress H
	@Endif
@EndIf
@If (@DriveExists(I))
	@If (@Removable(I))
		@Suppress I
	@Endif
@EndIf
@If (@DriveExists(J))
	@If (@Removable(J))
		@Suppress J
	@Endif
@EndIf
@If (@DriveExists(K))
	@If (@Removable(K))
		@Suppress K
	@Endif
@EndIf
@If (@DriveExists(L))
	@If (@Removable(L))
		@Suppress L
	@Endif
@EndIf
@If (@DriveExists(M))
	@If (@Removable(M))
		@Suppress M
	@Endif
@EndIf
@If (@DriveExists(N))
	@If (@Removable(N))
		@Suppress N
	@Endif
@EndIf
@If (@DriveExists(O))
	@If (@Removable(O))
		@Suppress O
	@Endif
@EndIf
@If (@DriveExists(P))
	@If (@Removable(P))
		@Suppress P
	@Endif
@EndIf
@If (@DriveExists(Q))
	@If (@Removable(Q))
		@Suppress Q
	@Endif
@EndIf
@If (@DriveExists(R))
	@If (@Removable(R))
		@Suppress R
	@Endif
@EndIf
@If (@DriveExists(S))
	@If (@Removable(S))
		@Suppress S
	@Endif
@EndIf
@If (@DriveExists(T))
	@If (@Removable(T))
		@Suppress T
	@Endif
@EndIf
@If (@DriveExists(U))
	@If (@Removable(U))
		@Suppress U
	@Endif
@EndIf
@If (@DriveExists(V))
	@If (@Removable(V))
		@Suppress V
	@Endif
@EndIf
@If (@DriveExists(W))
	@If (@Removable(W))
		@Suppress W
	@Endif
@EndIf
@If (@DriveExists(X))
	@If (@Removable(X))
		@Suppress X
	@Endif
@EndIf
@If (@DriveExists(Y))
	@If (@Removable(Y))
		@Suppress Y
	@Endif
@EndIf
@If (@DriveExists(Z))
	@If (@Removable(Z))
		@Suppress Z
	@Endif
@EndIf
@Cls

		GeoFinder default installation drive is @OutDrive:

  You MUST specify the same drive that you used for program installation.
		
  Press [ENTER] to accept the default, or if GeoFinder is NOT installed
  on @Outdrive:, select the correct drive and press [ENTER]
@EndOutDrive

@GetSubdir
@LocalWindow(12,50)

	 GeoFinder default installation directory is @SubDir

  You MUST specify the same directory that you used for program installation.

  Press [ENTER] to accept the default, or if GeoFinder is NOT installed
  on @SubDir, type the correct directory and press [ENTER]

@PROMPT = "Directory"
@EndSubdir

@If (!@Exists "@OutDrive:@Subdir\\GF2CNFG.CFG")
	@Display
   GeoFinder is not installed on @OutDrive:@Subdir

   1. Install GeoFinder program first
   2. Reinstall @Name using the correct GeoFinder location


	@Abort
	@EndDisplay
@Endif

@Delete ("@Outdrive:@Subdir\\DATA\\LAOR.*")
@Delete ("@Outdrive:@Subdir\\POI_LAOR.*")

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 1"

	@BeginLib LAOR_DAT.001
		@File laor.ma1 @Size 12000000 @OUT DATA\laor.map
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 2"

	@BeginLib LAOR_DAT.002
		@File laor.ma2 @AppendTo DATA\laor.map
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 3"

	@BeginLib LAOR_DAT.003
		@File laor.ma3 @AppendTo DATA\laor.map
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 4"

	@BeginLib LAOR_DAT.004
		@File laor.ma4 @AppendTo DATA\laor.map
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 5"

	@BeginLib LAOR_DAT.005
		@File laor.gc1 @OUT DATA\laor.gcd
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 6"

	@BeginLib LAOR_DAT.006
		@File laor.gc2 @AppendTo DATA\laor.gcd
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 7"

	@BeginLib LAOR_DAT.007
		@File laor.gc3 @AppendTo DATA\laor.gcd
	@EndLib
@EndDisk

@DefineDisk
	@Label = "Los Angeles and Orange Data Disk 8"

	@BeginLib LAOR_DAT.008
		@File laor.ma5 @AppendTo DATA\laor.map
		@File map_laor.dat @OUT DATA\*.*
		@File laor.cty @OUT DATA\laor.*
		@File laor.ctz @OUT DATA\laor.*
		@File laor.gci @OUT DATA\laor.*
		@File laor.pre @OUT DATA\laor.*
		@File laor.suf @OUT DATA\laor.*
		@File laor.zip @OUT DATA\laor.*
		@File alias.cty @AskOverwrite @OUT *.*
		@File alias.cty @OUT PROGRAM\*.*
	@EndLib
	@BeginLib LAOR_POI.008
		@File *.* @OUT *.*
	@EndLib
@EndDisk

/*---------------------------*/
/*  END DISK DEFINITIONS     */
/*---------------------------*/

@Finish
	@ChDrive @StartupDrive
	@ChDir "@StartupDir"
	@Delete ("@OutDrive:@Subdir\\gf2work\\laor.dat")
	@Copy ("@OutDrive:@Subdir\\data\\map_laor.dat", "@OutDrive:@Subdir\\gf2work\\mapname.dat")
	@Cls

   The installation of @Version @Name has been
   completed successfully.

   To install another data set now, insert the first data disk in your
   disk drive and type:

			  <drive letter>:INSTALL [ENTER]

   To run GeoFinder, type:

			  @OutDrive: [ENTER]
			  CD @Subdir [ENTER]
			  GF2 [ENTER]



	@Pause
@EndFinish
