home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1996-06-09 | 3.4 KB | 138 lines |
- /*
- * INSTALL.DAT
- * Project: GARDEN ARCHITECT
- * Version: 1.32
- */
-
- @DefineProject
- @Name = "GARDEN ARCHITECT"
- @Version = "1.32"
- @Subdir = "\\GARDEN"
- @OutDrive = Z
- @EndProject
- @DefineVars
- @Qstring @PkgType = "BOX"
- @Integer @Blue = @RGB(0,0,255) //DEFINE COLOR BLUE
- @Integer @Black = @RGB(0,0,0) //DEFINE COLOR BLACK
- @EndVars
- @PkgType = @GetINI("COSMI CDSETUP", "PkgMethod")
-
-
- @BackgroundMode(3,@Blue,@Black)
- @Display
- @Cls
-
-
- Congratulations on your purchase of @Name!
-
- This program will now install @Name
- to your hard disk drive and verify the integrity
- of the CD-ROM disk. You may press the [Esc] key
- at any time to abort the installation.
-
-
- @Pause
- @EndDisplay
-
- @GetOutDrive
- @Cls
- Select the HARD disk drive on which you wish to install your
- new copy of @Name.
- ie. "Drive C:"
-
-
-
-
-
-
-
-
-
-
- @Suppress(0, 1)
- Use the [CURSOR] to highlight a drive letter. Press [ENTER]
- to select that drive.
-
-
- @EndOutDrive
-
-
- @GetSubdir
- @Cls
- INSTALL is now suggesting a name for a program destination subdirectory
- to which files will be copied. Press [ENTER] to use @OutDrive:@SubDir,
- or type "\" and a "path", where "path" is the subdirectory you want INSTALL
- to use.
-
-
- @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
- @EndSubdir
-
- @DefineVars
- @Qstring @Item1 = "@OutDrive:\\@Subdir\\garden.exe, Garden Architect,
- @OutDrive:\\@Subdir\\garden.exe"
- @Qstring @Item2 = "@OutDrive:\\@Subdir\\manual.wri, Garden Architect Manual,
- @OutDrive:\\@Subdir\\manual.wri"
- @Qstring @Item3 = "@OutDrive:\\@Subdir\\garden.hlp, Garden Architect Help,
- @OutDrive:\\@Subdir\\garden.hlp"
- @Qstring @Item4 = "@OutDrive:\\@Subdir\\Bloxs.exe, Bloxs,
- @OutDrive:\\@Subdir\\Bloxs.exe"
- @Qstring @Item5 = "@OutDrive:\\@Subdir\\Bloxs.wri, Bloxs Manual,
- @OutDrive:\\@Subdir\\Bloxs.wri"
- @EndVars
-
- @DefineDisk
- @Label = "GARDEN Disk #1"
- @BeginLib 221.001
- @F GARDEN.HLP @S 79487 @O GARDEN.HLP
- @F GARDEN.EXE @S 729600 @O GARDEN.EXE
- @F FRONT.ICO @S 766 @O FRONT.ICO
- @F LIBRARY.ICO @S 766 @O LIBRARY.ICO
- @F PLAN.ICO @S 766 @O PLAN.ICO
- @F SAMPLE.LND @S 1136 @O SAMPLE.LND
- @F OBJECT.DAT @S 3619677 @O OBJECT.DAT
- @F MANUAL.WRI @S 10624 @O MANUAL.WRI
- @EndLib
- @If (@FileDate("@OutDrive:\\WINDOWS\\SYSTEM\\CTL3DV2.DLL")
- < @StrToDate("1994/8/22"))
- // CTL3DV2.DLL is older than 08/22/94, so replace it
- @File CTL3DV2.DLL @S 10368 @O C:\WINDOWS\SYSTEM\CTL3DV2.DLL
- @EndIf
-
- @EndDisk
-
- @Finish
- @Cls
- @If("@PkgType" == "JEWEL")
- @ProgramManager("[CreateGroup(COSMI Garden Architect)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)]
- [AddItem(@Item4, 0)][AddItem(@Item5, 0)]")
- @Copy("Bloxs.exe", "@OutDrive:\\@Subdir\\*.exe")
- @Copy("Bloxs.wri", "@OutDrive:\\@Subdir\\*.*")
- @Else
- @ProgramManager("[CreateGroup(COSMI Garden Architect)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)]
- [AddItem(@Item4, 0)][AddItem(@Item5, 0)]")
- @Copy("Bloxs.exe", "@OutDrive:\\@Subdir\\*.exe")
- @Copy("Bloxs.wri", "@OutDrive:\\@Subdir\\*.*")
- @EndIf
- @ChDrive @OutDrive
- @ChDir "@SubDir"
- //delete files from cosmitmp.dir and remove that dir
- @Delete("@OutDrive:\\cosmitmp.dir\\*.*")
- @RmDir("@OutDrive:\\cosmitmp.dir")
-
- @Cls
- Installation of @Name is now finished.
- A New application group has been created titled COSMI.
-
-
-
-
- @Pause
- @EndFinish
-
- /* end-of-file */
-