; AppTrashcan Installer Script

(set @app-name "AppTrashcan")

(complete 0)

(set target
   (askdir
      (prompt "Where shall I put AppTrashcan?\n"
              "(Put it in your WBStartUp drawer\n"
              "to be run everytime you boot)" )
      (help @askdir-help)
      (default "SYS:WBStartUp")
      (newpath)
   )
)

(complete 25 )

(copyfiles
   (source "")
   (dest target)
   (choices "AppTrashcan" "AppTrashcan.info")
)

(set @default-dest target)

(complete 50)

(set guidetarget
   (askdir
      (prompt "Where do you want to have the Guide put?")
      (help @askdir-help)
      (default "SYS:")
      (newpath)
   )
)

(complete 75)

(copyfiles
   (source "")
   (dest guidetarget)
   (choices "AppTrashcan.Guide" "AppTrashcan.Guide.info")
)

(complete 100)
