home *** CD-ROM | disk | FTP | other *** search
- ;======================================================================
- ;
- ; IntuiDex general installer -- $VER: Install 1
- ;
- ;======================================================================
-
- ; strings
- (set #IntuiDex-install
- (cat "\nInstall IntuiDex\n"
- "\nThank you for using IntuiDex. IntuiDex"
- "\nInstallation procedures will automatically copy"
- "\nall necessary files into their own area that you"
- "\nspecify. An addition to your S:user-startup file"
- "\nwill also be necessary in order for IntuiDex"
- "\n to work properly."
- "\n\n Do you wish to continue?"))
-
- (set #IntuiDex-install-help
- (cat " Install IntuiDex Help\n"
- "\nIf you select 'Yep!' IntuiDex will be installed"
- "\nnormally. If you wish not to install IntuiDex, click"
- "\non the 'Ack, No!' button.\n"
- "\nIntuiDex will operate from the distribution disk, if"
- "\nyou are installing the registered user version, but"
- "\nwill operate much more quickly if it is installed"
- "\non a hard disk drive.\n"
- "\nOnce installed on a hard disk, IntuiDex has to be"
- "\ntold where to find its support files. An ASSIGN"
- "\nstatement is appended to the end of your"
- "\ns:User-Startup file which accomplishes this task."
- "\n" ))
-
- (set #where
- (cat "IntuiDex can be installed in any directory you like"
- "\nWhere would you like IntuiDex installed?"))
-
- (set #where-help
- (cat "Where To Install IntuiDex\n"
- "\nIntuiDex may be installed into any hard disk"
- "\npartition that you desire, but it is probably best"
- "\nnot to install it into your SYS: (boot disk)"
- "\npartition to keep clutter down.\n"
- "\nIt is recommended that IntuiDex be installed where"
- "\never the rest of your applications programs are"
- "\nlocated. Application programs include things like"
- "\nword processors, graphics software, and DTP software.\n"
- "\nThis installation procedure will ensure that an"
- "\nASSIGN is made to where ever you decide to install"
- "\nIntuiDex, so that it will work properly no matter"
- "\nwhere it is installled."))
-
- (set #assign-help
- (cat "Why Change s:User-Startup\n"
- "\nIntuiDex requires several support files in order"
- "\nto operate properly. If the ASSIGN is not added"
- "\nto the s:user-startup file, IntuiDex will not know"
- "\nwhere to find these files, and may not work as"
- "\nexpected."))
-
-
- ; Install program
- (set inputdir (pathonly @icon))
- (set @default-dest "SYS:")
-
- (if (askbool (prompt #IntuiDex-install)
- (help #IntuiDex-install-help)
- (choices "Yep!" "Ack, No!")
- (default 1))
-
- ((set outputdir
- (askdir (prompt #where)
- (help #where-help)
- (default @default-dest)))
- ; (makedir (tackon @default-dest "AAi") (infos))
-
-
- (set @default-dest outputdir)
- (copyfiles (source inputdir)
- (dest outputdir)
- (pattern "IntuiDex#?")
- (files)
- (infos))
-
- (copyfiles (source inputdir)
- (dest outputdir)
- (pattern "Index#?")
- (files)
- (infos))
-
- (copyfiles (source inputdir)
- (dest outputdir)
- (pattern "Demo#?")
- (files)
- (infos))
-
-
- (tooltype (dest (tackon outputdir "IntuiDex"))
- (noposition)))
- (set @default-dest ""))
-
- (startup "IntuiDex"
- (prompt
- "Some instructions need to be added to the \"S:user-startup\" "
- "so that your system will be properly configured to use IntuiDex.")
- (help #assign-help)
- (command
- "ASSIGN IntuiDex: \"" outputdir "\"\n")
-
- (makeassign "IntuiDex" outputdir )
-
- )
-