home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1996-06-11 | 5.0 KB | 180 lines |
- /*
- * INSTALL.DAT
- * Project: Forms Maker And Filler
- * Version: 2.40
- * CD-ROM VERSION
- */
-
- @DefineProject
- @Name = "Forms Maker And Filler"
- @Version = "2.40"
-
- @Subdir = "\\winforms"
- @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
-
-
-
-
- @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
- @PkgType = @GetINI("COSMI CDSETUP", "PkgMethod")
- @GetOutDrive @OutDrive
- @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\\cfm.exe, @Name,
- @OutDrive:\\@Subdir\\cfm.exe"
- @Qstring @Item2 = "@OutDrive:\\@Subdir\\formhelp.hlp, Forms Maker And Filler Help,
- @OutDrive:\\@Subdir\\formhelp.hlp"
- @Qstring @Item3 = "@OutDrive:\\@Subdir\\forms.wri, @Name Manual,
- @OutDrive:\\@Subdir\\forms.wri"
- @Qstring @Item4 = "@OutDrive:\\@Subdir\\killbees.exe, Killer Bees,
- @OutDrive:\\@Subdir\\killbees.exe"
- @Qstring @Item5 = "@OutDrive:\\@Subdir\\killbees.wri, Killer Bees Manual ,
- @OutDrive:\\@Subdir\\killbees.wri"
- @EndVars
-
- @DefineDisk
- @Label = "Forms Disk #1"
- @BeginLib 783.001
- @F LEAD45.DLL @S 517232 @O LEAD45.DLL
- @F LEADDIB.DRV @S 38752 @O LEADDIB.DRV
- @F CFM.EXE @S 395264 @O CFM.EXE
- @F FORMHELP.HLP @S 67029 @O FORMHELP.HLP
- @F COLORS.TPL @S 2118 @O COLORS.TPL
- @F COMBSTYL.TPL @S 1442 @O COMBSTYL.TPL
- @F FILLPAT.TPL @S 1351 @O FILLPAT.TPL
- @F FONT.TPL @S 1680 @O FONT.TPL
- @F GRID.TPL @S 1003 @O GRID.TPL
- @F GROUPSEL.TPL @S 743 @O GROUPSEL.TPL
- @F LINESTYL.TPL @S 1321 @O LINESTYL.TPL
- @F MULTILNE.TPL @S 1145 @O MULTILNE.TPL
- @F PAGESET.TPL @S 1767 @O PAGESET.TPL
- @F RULERS.TPL @S 897 @O RULERS.TPL
- @F CREDIT.WFM @S 3374 @O CREDIT.WFM
- @F DEMOFILL.WFM @S 7624 @O DEMOFILL.WFM
- @F EMPLOYAP.WFM @S 5408 @O EMPLOYAP.WFM
- @F EXPENSE1.WFM @S 5078 @O EXPENSE1.WFM
- @F EXPENSE2.WFM @S 3199 @O EXPENSE2.WFM
- @F FAMILY.WFM @S 4256 @O FAMILY.WFM
- @F FAXCOVER.WFM @S 1271 @O FAXCOVER.WFM
- @F INVOICE1.WFM @S 2208 @O INVOICE1.WFM
- @F INVOICE2.WFM @S 2469 @O INVOICE2.WFM
- @F INVOICE3.WFM @S 3459 @O INVOICE3.WFM
- @F INVOICE4.WFM @S 3584 @O INVOICE4.WFM
- @F ORDER.WFM @S 3061 @O ORDER.WFM
- @F PACKSLIP.WFM @S 2012 @O PACKSLIP.WFM
- @F PURCHAS1.WFM @S 3578 @O PURCHAS1.WFM
- @F PURCHAS2.WFM @S 2297 @O PURCHAS2.WFM
- @F SHIPPING.WFM @S 7150 @O SHIPPING.WFM
- @F STATEMNT.WFM @S 3812 @O STATEMNT.WFM
- @F TELEPHON.WFM @S 3304 @O TELEPHON.WFM
- @F VEHICLE.WFM @S 2175 @O VEHICLE.WFM
- @F WORKORDR.WFM @S 5995 @O WORKORDR.WFM
- @F FORMS.WRI @S 40448 @O FORMS.WRI
- @F KILLBEES.EXE @S 348672 @O KILLBEES.EXE
- @F KILLBEES.HLP @S 22210 @O KILLBEES.HLP
- @F KILLBEES.ICO @S 766 @O KILLBEES.ICO
- @F KILLBEES.WRI @S 23936 @O KILLBEES.WRI
- @F KBSND1.WAV @S 6302 @O KBSND1.WAV
- @F KBSND2.WAV @S 75166 @O KBSND2.WAV
- @F FLIGHT.MID @S 3640 @O FLIGHT.MID
- @EndLib
- @EndDisk
-
-
- @Finish
- @Cls
- @Copy("forms.wri", "@OutDrive:\\@Subdir\\*.*")
- @If("@PkgType" == "JEWEL")
- //create game dir and copy game files
- //note that this should be done before creating the Windows group
- @Copy("killbees.*", "@OutDrive:\\@Subdir\\*.*")
- @Copy("kbsnd*.wav", "@OutDrive:\\@Subdir\\*.*")
- @Copy("flight.mid", "@OutDrive:\\@Subdir\\*.*")
-
- @ProgramManager("[CreateGroup(COSMI Forms Maker and Filler)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)][AddItem(@Item4, 0)][AddItem(@Item5, 0)]")
-
- @Else
- //create game dir and copy game files
- //note that this should be done before creating the Windows group
- @Copy("killbees.*", "@OutDrive:\\@Subdir\\*.*")
- @Copy("kbsnd*.wav", "@OutDrive:\\@Subdir\\*.*")
- @Copy("flight.mid", "@OutDrive:\\@Subdir\\*.*")
-
- @ProgramManager("[CreateGroup(COSMI Forms Maker and Filler)]
- [AddItem(@Item1, 0)][AddItem(@Item2, 0)]
- [AddItem(@Item3, 0)][AddItem(@Item4, 0)][AddItem(@Item5, 0)]")
-
-
- @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 */
-