; ANES Install-script 0.93


    (message "This script will install A/NES CGFX on your HD\n>-----------------------------<\nA/NES was created by\nMorgan Johansson\n(morgan.johansson@mbox301.swipnet.se)\n&\nFredrik Schultz\n(fredrik.schultz@swipnet.se)")

    (complete 0)


;MAKES THE "A/NES" DIRECTORY

    (set dest_dir
      (tackon (askdir
                (prompt "Where do you want to install ANES CGFX?\n"
                        "A drawer called ANESCGFX will be created.")
                (help @askdir-help)
                (default "ram:")
                (disk)
              )
              "ANESCGFX"
      )
    )

    (set @default-dest dest_dir)
    (makedir dest_dir)



; COPIES THE A/NES EXECUTABLE & GUIDE TO THE DESTINATION DIRETORY + ICONS

    (copyfiles
      (source "ANESCGFX.020")
      (dest (dest_dir))
      (infos)
    )
    (copyfiles
      (source "ANESCGFX.060")
      (dest (dest_dir))
      (infos)
    )

    (copyfiles
      (source "ANESCGFX.guide")
      (dest (dest_dir))
      (infos)
    )

    (copyfiles
      (source "libs/ANESutility.library")
      (dest "LIBS:")
      (infos)
    )

    (complete 50)

; COPY THE DRAWER ICON
    (copyfiles
      (source "/ANESCGFX.info")
      (dest (tackon dest_dir "/")))
     

; ASKS WHERE TO INSTALL THE FONT

(copyfiles
	(prompt "I will have to install NINTENDO fonts\nRequired to get ANES running\nWhere should I put them?")
	(help @copyfiles-help)
	(source "fonts/")
	(dest "fonts:")
	(all)
	(confirm)
)

    (complete 100)
    (exit)
