home *** CD-ROM | disk | FTP | other *** search
- ; $VER: Install_Installer_Guide 1.1 (16.10.94) by GĂ©rard Cornu ;-)
- (complete 0)
- (set @default-dest "Work:")
-
- (message (cat "\n\nWelcome to the PlayHD installation utility!\n\n\n"
- "Note that PlayHD requires AHI V4 or higher.\n\n" )
- )
- (welcome)
-
-
- (set dest_dir
- (askdir (prompt "Where would you like PlayHD to be installed?\n"
- "A new drawer will be created there.")
- (help @askdir-help)
- (default @default-dest)
- (newpath))
- )
-
- (set @default-dest (tackon dest_dir "PlayHD"))
- (makedir @default-dest)
- (makedir (tackon @default-dest "samples"))
- (makedir (tackon @default-dest "filters"))
- (makedir (tackon @default-dest "projects"))
- (makedir (tackon @default-dest "eventlists"))
-
-
- (set processor 0)
- (if (= (run "c:cpu check 68881") 0) (set processor 1))
- (if (= (run "c:cpu check 68040") 0) (set processor 1))
- (set processor
- (askchoice (prompt "Select your processor")
- (help (cat "Select the kind of processor you have in your machine:\n\n"
- "68020: Select this if you have an '020 or '030 without FPU\n\n"
- "68020 + FPU: Select this if you have an '020 or '030 with FPU or an 68040 (not 68EC040!)\n\n"
- "68060: Select this if you have an 68060"
- )
- )
- (choices "68020" "68020 + FPU" "68060")
- (default processor)
- )
- )
-
- (if (= processor 0) ((set SourceName "PlayHD.020") (set SourceNameInfo "PlayHD.020.info")) )
- (if (= processor 1) ((set SourceName "PlayHD.020fpu") (set SourceNameInfo "PlayHD.020fpu.info")) )
- (if (= processor 2) ((set SourceName "PlayHD.060") (set SourceNameInfo "PlayHD.060.info")) )
-
- (copyfiles (prompt ("Copying PlayHD to %s.\n" @default-dest))
- (source SourceName)
- (dest @default-dest)
- (confirm)
- (infos)
- (help "\nThis will copy the main PlayHD file.")
- )
-
- (rename (tackon @default-dest SourceName) (tackon @default-dest "PlayHD") )
- (rename (tackon @default-dest SourceNameInfo) (tackon @default-dest "PlayHD.info") )
-
-
- (complete 60)
-
- (copyfiles (prompt ("Copying PlayHD.guide to %s.\n" @default-dest))
- (source "PlayHD.guide")
- (dest @default-dest)
- (confirm)
- (infos)
- (help "\nThis will copy the PlayHD documentation.")
- )
-
-
- (copyfiles (prompt ("Copying History to %s.\n" @default-dest))
- (source "History")
- (dest @default-dest)
- (confirm)
- (infos)
- (help "\nThis will copy the history file.")
- )
-
-
- (complete 70)
-
- (copyfiles (prompt ("Copying filters to %s.\n" (tackon @default-dest "filters") ))
- (source "filters")
- (dest (tackon @default-dest "filters"))
- (all)
- (help "\nThis will copy some example FIR-filter files.")
- )
- (complete 90)
-
-
- (copyfiles (prompt "PlayHD needs the 'Trinomic' font in the FONTS: directory.\n")
- (source "fonts/")
- (dest "FONTS:")
- (all)
- (confirm)
- (help "\nThis will copy the Trinomic fonts.")
- )
-
- (complete 100)
-
- (set installed "YES")
-
- (if (= installed "YES")
- (exit ("\n\nThank you for installing PlayHD!"))
- (exit)
- )
-