
; FindItGui installation script
; $VER: 1.01 (09.04.96) by Michael Griggs


(set #finalmessage (cat "\n"
            "FindItGui is now ready to go!\n"
            "Please read the documentation for more details\n"
            )
)

(set exedest
   (askdir
      (prompt "Where do you wish to install FindItGui ?")
      (help @askdir-help)
      (default "Sys:WbStartup")
   )
)

(copyfiles
   (prompt "Copying FindItGui...")
   (source "FindItGui")
   (infos)
   (dest exedest)
)

(set installdoc
        (askoptions

        (prompt "Which documentation would you like installed?")
        (help @askoptions-help)

        (choices

            "AmigaGuide"

        )
    )
)


(if (in installdoc 0)
    (set docdest
        (askdir
            (prompt "Where do you wish to install the FindItGui documentation?")
            (help @askdir-help)
            (default "")
        )
    )
    
    (copyfiles
        (prompt "Copying Documentation...")
        (source "FindItGui.Guide")
        (infos)
        (dest docdest)
    ))


(copylib
    (prompt "Copying bgui.library to LIBS:")
    (source "libs/bgui.library")
    (dest "LIBS:")
    (confirm)
    (help @copylib-help)
)
      
(set @default-dest exedest)
(message #finalmessage)


