home *** CD-ROM | disk | FTP | other *** search
/ Magazyn Exec 1 / CD_Magazyn_EXEC_nr_1.iso / eXec / Voyager3 / Programy / MCC_TearOff.lzx / MCC_TearOff / Install < prev    next >
Text File  |  2013-01-05  |  2KB  |  98 lines

  1. ;
  2. ; MANUAL INSTALLATION:
  3. ;
  4. ; copy libs/#? MUI:Libs/mui
  5. ; copy sysimages/#? SYS:Classes/Images
  6. ; copy images/#? MUI:Images/ ALL
  7. ; copy TearOff.guide MUI:Docs/English/
  8. ;
  9.  
  10. (set @default-dest "MUI:")
  11.  
  12. (copylib
  13.     (prompt "Installing TearOffPanel Class")
  14.     (confirm)
  15.     (source "libs/TearOffPanel.mcc")
  16.     (dest "MUI:Libs/MUI")
  17.     (help @copylib-help)
  18. )
  19.  
  20. (copylib
  21.     (prompt "Installing TearOffBay Class")
  22.     (confirm)
  23.     (source "libs/TearOffBay.mcc")
  24.     (dest "MUI:Libs/MUI")
  25.     (help @copylib-help)
  26. )
  27.  
  28. (copylib
  29.     (prompt "Installing TearOff Prefereces module")
  30.     (confirm)
  31.     (source "libs/TearOff.mcp")
  32.     (dest "MUI:Libs/MUI")
  33.     (help @copylib-help)
  34. )
  35.  
  36. (copyfiles
  37.     (prompt "Installing TearOff MUI images")
  38.     (confirm)
  39.     (source "Images")
  40.     (dest "MUI:Images")
  41.     (all)
  42.     (help @copyfiles-help)
  43. )
  44.  
  45. (copyfiles
  46.     (prompt "Installing TearOff on-line help")
  47.     (confirm)
  48.     (source "TearOff.guide")
  49.     (dest "MUI:Docs/English")
  50.     (all)
  51.     (help @copyfiles-help)
  52. )
  53.  
  54. (copylib
  55.     (prompt "Installing CompactWindow Class")
  56.     (confirm)
  57.     (source "libs/CompactWindow.mcc")
  58.     (dest "MUI:Libs/MUI")
  59.     (help @copylib-help)
  60. )
  61.  
  62. (copylib
  63.     (prompt "Installing CompactWindow Preferences module")
  64.     (confirm)
  65.     (source "libs/CompactWindow.mcp")
  66.     (dest "MUI:Libs/MUI")
  67.     (help @copylib-help)
  68. )
  69.  
  70. (set #imagedest 
  71.     (select
  72.         (= 2 (exists "sys:Classes" (noreq)))
  73.         "Libs:Images"
  74.         "Sys:Classes/Images"
  75.     )
  76. )
  77.  
  78. (if (<> 2 (exists #imagedest (noreq))) 
  79.     (makedir #imagedest (confirm)
  80.        (help "Your system doesn't contain a directory for images."))
  81. )
  82.  
  83. (copylib
  84.     (prompt "Installing hvdragbar.image")
  85.     (confirm)
  86.     (source "sysimages/hvdragbar.image")
  87.     (dest #imagedest)
  88.     (help @copylib-help)
  89. )
  90.  
  91. (if (askbool (prompt "Do you want to start the demo now?")
  92.        (help "The demo is not needed for anything, just for your pleasure!")
  93.        (default 1))
  94.     (run "run demo/TearOffDemo")
  95. )
  96.  
  97. (message "This script doesn't copy the demo program. If you think you will need it in the future, please install it by yourself.")
  98.