home *** CD-ROM | disk | FTP | other *** search
/ Network PC / Network PC.iso / amiga utilities / disk utilities / compression / packit / install_packit < prev    next >
Encoding:
Text File  |  1997-11-21  |  649 b   |  38 lines

  1. ; Installation script for PackIt
  2.  
  3. (transcript "Installing PackIt...")
  4.  
  5. (copylib
  6.         (prompt "Install PowerPacker library.")
  7.         (help @copylib-help)
  8.         (source "LIBS/powerpacker.library")
  9.         (dest "libs:")
  10.         (confirm)
  11. )
  12.  
  13. (set destpath
  14.         (askdir
  15.                 (prompt "Install PackIt where?")
  16.                 (help @askdir-help)
  17.                 (default "C:")
  18.         )
  19. )
  20.  
  21. (set cputype (+(database "CPU")) )
  22.  
  23. ( if (>  cputype 68020)
  24.     (set packit "PackIt030")
  25.     (set packit "PackIt")
  26. )
  27.  
  28. (copyfiles
  29.         (source packit)
  30.         (dest destpath)
  31.         (newname "PackIt")
  32. )
  33.  
  34. (set @default-dest destpath)
  35.  
  36. (exit)
  37.  
  38.