home *** CD-ROM | disk | FTP | other *** search
- ; Scsi_List HardDisk Installer
- ;
- ; $VER: Scsi_List_Install 1.0 (7.5.96)
- ;
-
- (set default_lang 0)
- (set #which-language
- (cat "\nWhich languages should be installed?"
- ))
-
- (set #which-language-help
- (cat "\nThe Amiga can be operated in many different "
- "languages. Several files must be copied to your "
- "hard drive for each language supported.\n\n"
- "To reduce the amount of space consumed by the "
- "language files, you can select only the "
- "files of specific languages to be copied.\n\n"
- "Check the boxes of the languages you wish "
- "to have available on your system.\n\n"
- @askoptions-help
- ))
-
- ;=============================================================================
- ; procedure to copy the language drivers and catalogs
-
- (procedure DOLOCALE
- (
- (set n 0)
- (while (set language (select n "deutsch"
- "svenska"
- "français"
- "Español"
- "Italiano"
- "Norsk"
- ""
- )
- )
- (
- (if (IN lang n)
- (
- (copyfiles (source "Catalogs/")
- (pattern language)
- (dest (tackon ScsiList_Dest "Catalogs"))
- (infos)
- )
-
- )
- )
- (set n (+ n 1))
- ))
-
- ))
-
-
- ;=============================================================================
- ;hello everyone
- (welcome
- (set ScsiListVersion (getversion "Scsi_List"))
- (Set ScsiListVer (/ ScsiListVersion 65536))
- (set ScsiListRev (- ScsiListVersion (* ScsiListVer 65536)))
- (message ("\n Welcome to the Hard disk installation utility for \nScsi_List \nVersion %ld.%ld\n" ScsiListVer ScsiListRev)
- "\n NOTE:\n To ensure proper installation, it is important that "
- " you boot from your hard drive before using the installation utility!"
- "\n\nIf you require help at any stage of the installation,"
- " just select the HELP buttons at the appropriate stages."
- )
- )
-
- ; Set Default destination for Scsi_List
-
- (@default-dest "WORK:")
- (set default-source "Progdir:")
-
- (transcript "Scsi_List "@default-dest)
-
- (complete 0)
-
- ; Ask for location to install EditMate
-
- (set ScsiList_Loct
- (askdir
- (prompt "Select the location for the Scsi_List Drawer.")
- (help @askdir-help)
- (default @default-dest)
- )
- )
- (set ScsiList_Dest (tackon ScsiList_Loct "Scsi_List"))
- (set ScsiList_TT
- (askstring
- (prompt "Select device name for Tooltype.\n"
- "Note : This is only required if the device name\n"
- "does not contain the characters "scsi".")
- (help "")
- (default "")
- )
- )
-
-
- (complete 40)
-
- ; create Scsi_List drawer
-
- (makedir ScsiList_Dest)
- (run (cat "copy " "/Scsi_List.info \"" ScsiList_Dest ".info\""))
-
- (copyfiles
- (Source "Scsi_List")
- (dest ScsiList_Dest)
- (infos)
- )
- (copyfiles
- (Source "ReadMe")
- (dest ScsiList_Dest)
- (infos)
- )
-
- (if ScsiList_TT
- (tooltype
- (dest (tackon ScsiList_Dest "Scsi_List"))
- (settooltype "DEVICE" ScsiList_TT)
- )
- )
- (makedir (tackon ScsiList_Dest "Catalogs"))
- (copyfiles
- (Source "Catalogs.info")
- (dest ScsiList_Dest)
- )
- (copyfiles
- (Source "Catalogs/Scsi_List.ct")
- (dest (tackon ScsiList_Dest "Catalogs"))
- (infos)
- )
-
- (set lang (askoptions (prompt #which-language)
- (help #which-language-help)
- (choices "Deutsch" "Svenska" "Français" "Español" "Italiano" "Norsk")
- (default default_lang)
- )
- )
- (DOLOCALE)
-
- (complete 80)
-
- (copyfiles
- (Source "Source")
- (all)
- (dest (tackon ScsiList_Dest "Source"))
- (infos)
- )
- (copyfiles
- (Source "Source.info")
- (dest ScsiList_Dest)
- )
-
-
- (complete 100)
-
- ; Complete Message
-
- (message ("\nScsi_List has now been installed in the selected directory")
- )
-
-
- (exit(quiet))
-