home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / Install Script < prev    next >
Encoding:
Text File  |  1994-04-22  |  2.6 KB  |  42 lines  |  [TEXT/MPS ]

  1. ########################################################################################
  2. # Begin Install script
  3. #
  4. Loop
  5.     Set cd_opendoc_folder "`GetFileName -q -d -m 'Select OpenDoc folder on the CD'`"
  6.     If "`Exists -d "{cd_opendoc_folder}Getting Started"`" == ""
  7.         Alert "Oops, the OpenDoc folder should contain the folder ∂'Getting Started∂'"
  8.     else
  9.         Break
  10.     End
  11. End
  12. Set opf_folder "`GetFileName -q -d -m 'OPF destination folder?'`"
  13. Set opendoc_examples_folder "`GetFileName -q -d -m 'OpenDoc and Examples dest...?'`"
  14.  
  15. Echo "Copying OPF to {opf_folder}"
  16. duplicate -y "{cd_opendoc_folder}OpenDoc Parts Framework:OPF:" "{opf_folder}"
  17. duplicate -y "{opf_folder}"OPF:UserStartup•OPF "{MPW}"
  18. Open "{opf_folder}OPF:Startup"
  19. find Δ1 "{opf_folder}OPF:Startup"
  20. replace -c 1 /Set BedASLMDir ∂"∂{OPF∂}∂"SharedLib:/ "Set BedASLMDir '{opendoc_examples_folder}OpenDoc and Examples(Symantec):'" "{opf_folder}OPF:Startup"
  21. close -y "{opf_folder}OPF:Startup"
  22.  
  23. Echo "Copying supplemental headers to {MPW}Interfaces:SCIncludes..."
  24. #What if SCIncludes doesn't exist?
  25. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:AOCE:"≈.h "{MPW}"Interfaces:SCIncludes:
  26. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:AppleScript:"≈.h "{MPW}"Interfaces:SCIncludes:
  27. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:ASLM:"≈.h "{MPW}"Interfaces:SCIncludes:
  28. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:Drag Manager:"≈.h "{MPW}"Interfaces:SCIncludes:
  29. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:QuickDraw GX:"≈.h "{MPW}"Interfaces:SCIncludes:
  30. duplicate -y "{cd_opendoc_folder}OpenDoc a6:Development:Tools:MPW Additions:CIncludes for other dev. sys.s:QuickTime:"≈.h "{MPW}"Interfaces:SCIncludes:
  31.  
  32. Echo "Copying Symantec built libraries into {MPW}ODDev..."
  33. duplicate -y "{cd_opendoc_folder}OpenDoc Parts Framework:OpenDoc(Symantec Build):ODDev:SCppLibraries:" "{MPW}ODDev:"
  34.  
  35. Echo "Copying Symantec built '{opendoc_examples_folder}OpenDoc and Examples(Symantec)' to your hard drive..."
  36. duplicate -y "{cd_opendoc_folder}OpenDoc Parts Framework:OpenDoc(Symantec Build):OpenDoc and Examples" "{opendoc_examples_folder}OpenDoc and Examples(Symantec)"
  37.  
  38. Echo 'Setting the size of your MPW stack to 256k'
  39. "{opf_folder}"OPF:Tools:Mac:SetShellSize -s 256k
  40. #
  41. # End Install script
  42. ########################################################################################