;
;
;
; This script is Copyright ©1997 by Mark Wilson (tecno on ircnet #Amiga)
;
; v1.0 Initial Creation (Mark)
; v1.1 Added winsound.prefs copying (Deryk)
; v1.2 Corrected typo in the script regarding the .readme file (Deryk)
; v1.3 Added copying support for textfield.gadget (Deryk)
; v1.4 Removed textfield.gadget support as GadTools doesn't require it. (Deryk)
;

        (welcome "Welcome to the WinSound Installation.")

        (message "\n This is the Installer for\n"
                 "\n WinSound v1.4\n"
                 "Copyright 1997 Deryk Robosson\n"
                 "\n"
                 "\n"
                 "\n"
                 "\Preparing to begin installation.\n")
        
        (copyfiles
            (Prompt "Copying WinSound to your WBStartup: directory.")
            (help @copyfiles-help)
            (source "WinSound/WinSound")
            (dest   "SYS:Wbstartup/")
            (files)
            (infos)   
            (confirm)   
        )       

        (copyfiles
            (Prompt "Copying sample WinSound.prefs to env:.")
            (help @copyfiles-help)
            (source "WinSound/WinSound.prefs")
            (dest "env:")
            (files)
            (infos)
            (confirm)
        )

        (copyfiles
            (Prompt "Copying sample WinSound.prefs to envarc:.")
            (help @copyfiles-help)
            (source "WinSound/WinSound.prefs")
            (dest "envarc:")
            (files)
            (infos)
            (confirm)
        )

        (copyfiles
            (Prompt "Copying WinSoundPrefs to your Prefs directory.")
            (help @copyfiles-help)
            (source "WinSound/WinSoundPrefs")
            (dest   "SYS:Prefs/")
            (files)
            (infos)   
            (confirm)
        )

        (copyfiles
            (Prompt "Copying WinSound.guide to your Help: directory.")
            (help @copyfiles-help)
            (source "WinSound/WinSound.guide")
            (dest   "HELP:")
            (files)
            (infos)   
            (confirm) 
        )

        (message "\nThe programs installed by this script"
               "\nare the Property of Deryk B. Robosson"
               "\nand are Copyright 1997."
               "\n \n"
               "\ Please Read the Documentation.\n"
               "\ Thank you.\n")
        (exit (quiet))
