(
  (working "Installing DiskSqueeze! v1.00")

(set @default-dest "SYS:Tools")

(if (< (getversion "LIBS:version.library") (* 37 65536))
   (abort "DiskSqueeze! requires Workbench 2.0 or higher")
)

(set dsq_dest
   (askdir
      (prompt "In which drawer should DiskSqueeze! & tools be copied?")
      (help @askdir-help)
      (default "SYS:Tools")
   )
)
      (copyfiles
        (prompt "Copying the main file (with MagicWB icon)")
        (source "DiskSqueeze!")
        (dest dsq_dest)
      )

      (copyfiles
        (prompt "Copying the MagicWB icon")
        (source "DiskSqueeze!.info")
        (dest dsq_dest)
      )

      (copyfiles
        (prompt "Copying the necessary tools. Don't forget to install LZX and DMS! (not included here)")
        (help @copyfiles-help)
        (source "Programs/")
        (ALL)
        (dest dsq_dest)
        (confirm)
        (infos)
      )

      (copyfiles
       (prompt "Copying the Requester commands to your C: dir\n>>> for OS 2.x only!!! <<<\n(OS 3.x users already have these!)")
       (help @copyfiles-help)
       (source "C/")
       (ALL)
       (dest "C:")
       (confirm)
      )

      (copyfiles
        (prompt "Select the document-files to copy")
        (help @copyfiles-help)
        (source "Documents/")
        (ALL)
        (dest dsq_dest)
        (confirm)
        (infos)
      )

       (copyfiles
         (prompt "Select the Ram-Drive mountfiles (880K) to copy")
         (help @copyfiles-help)
         (source "Storage/DOSdrivers")
         (ALL)
         (dest "SYS:Storage/DOSdrivers")
         (confirm)
         (infos)
       )
)
