home *** CD-ROM | disk | FTP | other *** search
/ ANews 2 / AnewsCD2.iso / Indispensables / Compression / xfd / Install next >
Text File  |  1999-10-04  |  2KB  |  91 lines

  1. ; $VER: xfdinstall 1.1 (12.12.1998) [Chris Young]
  2. ; updated by SDI
  3.  
  4. (complete 0)
  5.  
  6. (set @default-dest ("libs:"))
  7.  
  8. (welcome)
  9.  
  10. (copylib
  11.     (prompt "Copying xfdmaster.library")
  12.     (help @copylib-help)
  13.     (source "libs/xfdmaster.library")
  14.     (dest "libs:")
  15. )
  16.  
  17. (complete 20)
  18.  
  19. (copyfiles
  20.     (prompt "Copying external slaves...")
  21.     (help @copyfiles-help)
  22.     (source "libs/xfd")
  23.     (dest "libs:xfd")
  24.     (all)
  25.     (optional "force" "nofail")
  26. )
  27.  
  28. (complete 40)
  29.  
  30. (working "Deleting old slaves that are no longer required...")
  31.  
  32. (delete (cat "libs:xfd/(.README.FIRST|Chryseis|PMC|RNC#?|XPK|Ice|Ice!|TSM|"
  33.         "Rob_Norten_Cruncher.slave|XFD_ATN!_LHLib_XPK.Slave|Decloner|SF|"
  34.         "ProPackExe|MagneticFields|BOND|PARA|AMOS|FUCK|CRND|CRUN|xVdg|"
  35.         "PPBK|KDUB|LSD!|89A8|ByteKillerFake|1AM|CRUa|DeluxeCruncher|VOL1)")
  36.     (prompt "Deleting old slaves that are no longer required")
  37.     (help "These slaves are now included in xfdmaster.library\n\n"
  38.     @delete-help)
  39.     (optional "force")
  40. )
  41.  
  42. (complete 50)
  43.  
  44. (copyfiles
  45.     (prompt "Do you want to copy the following support commands?")
  46.     (help "HackProPack: Unlock encrypted ProPack files\n\n"
  47.     "xfdDecrunch: Unpacks crunched files\n\n"
  48.     "xfdDecrunchAddr: Unpacks address crunched executables\n\n"
  49.     "xfdLibInfo: Displays information about xfdmaster.library\n\n"
  50.     "xfdList: Lists files, showing the names of the crunchers\n\n"
  51.     "xfdPatch: Patches executable decrunch headers to use xfd\n\n"
  52.     "xfdScan: Searches for crunched data inside files\n\n"
  53.     "xfdUnlink: Unlinks 4EB9 linked files\n\n"
  54.     @copyfiles-help)
  55.     (source "c")
  56.     (dest "C:")
  57.     (all)
  58.     (confirm)
  59.     (optional "force" "no fail")
  60. )
  61.  
  62. (complete 60)
  63.  
  64. (copyfiles
  65.     (prompt "Do you want to install the documentation?")
  66.     (help @copyfiles-help)
  67.     (source "docs")
  68.     (dest "HELP:English")
  69.     (all)
  70.     (confirm)
  71. )
  72.  
  73. (complete 80)
  74.  
  75. (set #xfdpatch    (exists "C:xfdPatch"))
  76.  
  77. (if #xfdpatch
  78.     (startup "xfdPatch"
  79.         (prompt "Do you want to add xfdPatch to your user-startup "
  80.         "so crunched executables will be patched to use xfdmaster.library?")
  81.         (help "This is recommended, as some old decrunch headers will "
  82.         "not work correctly under newer OS releases\n\n" @startup-help)
  83.         (command "xfdPatch >NIL:")
  84.     )
  85. )
  86.  
  87. (complete 100)
  88.  
  89. (exit "Please note that the developer files have not been installed.")
  90.  
  91.