home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 18 / amigaformatcd18.iso / -screenplay- / shareware / nsx_190u / nsx-install < prev    next >
Text File  |  1997-07-22  |  933b  |  37 lines

  1. (set name
  2.     (askdir
  3.         (prompt "Select the place where the NSX directory to be created:"
  4.         "(Path must end with : or /)")
  5.         (help "The NSX directory will be placed in the directory you specify here.")
  6.         (default "SYS:")
  7.     )
  8. )
  9.  
  10. (set fullname (tackon name "NSX"))
  11.  
  12. (makedir fullname (infos))
  13.  
  14. (set fullname (cat fullname "/"))
  15.  
  16. (textfile
  17.     (prompt "Creating executable script")
  18.     (help "This script file must be executed either from CLI or WorkBench to run the game.")
  19.     (dest (cat fullname "NibblerSupereXtra"))
  20.     (append (cat "Assign NSX: " fullname))
  21.     (append "\n")
  22.     (append (cat "cd " fullname))
  23.     (append "\n")
  24.     (append "NSXv1.90")
  25.     (append "\n")
  26.         (append "assign NSX: REMOVE")
  27. )
  28.  
  29. (copyfiles
  30.     (prompt "Copying data files to %s" fullname)
  31.     (help "The installer is currently copying the files from archive to %s." name)
  32.     (source "")
  33.     (dest fullname)
  34.     (all)
  35. )
  36. (rename (cat fullname "nsxicon") (cat fullname "NibblerSupereXtra.info"))
  37.