home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 December / CHIP Turkiye Aralık 1997.iso / grafik / masterc / demo / disk6 / disk6.dat < prev    next >
Encoding:
Text File  |  1997-01-08  |  2.8 KB  |  118 lines

  1. /* __________ APPLICATION DISK #4 (SPLIT: HLP1) __________ */
  2.  
  3. @DefineDisk
  4.     @Label = "Disk #6"
  5.  
  6.     @BeginLib DM6HLP.001
  7.         @File DEMO6.HLP @Out @Outdrive:\\@Subdir\\DEMO6.HLP
  8.     @EndLib
  9.  
  10. @EndDisk
  11.  
  12. /* __________ APPLICATION DISK #7 (SPLIT: HLP2) __________ */
  13.  
  14. @If (5000 [= @OPTION)
  15.     @LocSuffix = "\\DISK7"
  16.     @ChDir ("@LocPrefix@LocMiddle@LocSuffix")
  17.     @Chain ("Disk #7", "DISK7.DAT")
  18. @Else
  19.     @Chain ("Disk #7", "@InDrive:\\disk7.dat")
  20. @EndIf
  21.  
  22. /* __________ APPLICATION DISK #8 __________ */
  23.  
  24. @If (5000 [= @OPTION)
  25.     @LocSuffix = "\\DISK8"
  26.     @ChDir ("@LocPrefix@LocMiddle@LocSuffix")
  27.     @Chain ("Disk #8", "DISK8.DAT")
  28. @Else
  29.     @Chain ("Disk #8", "@InDrive:\\disk8.dat")
  30. @EndIf
  31.  
  32. /* __________ UPDATE MASTERCAM.INI __________ */
  33.  
  34. @SetINI ("@LowName", "maindir", "@Outdrive:\\@Subdir", "mastrcam.ini")
  35. @If ('K' [= @Group)
  36.     @SetINI ("@LowName", "units", "E", "mastrcam.ini")
  37. @Else
  38.     @SetINI ("@LowName", "units", "M", "mastrcam.ini")
  39. @Endif
  40.  
  41. /* __________ PROMPT FOR SHADING MODE (SAVE TO MASTERCAM.INI) __________ */
  42.  
  43. @If ('R' [! @Group)                     /* 95 or NT */
  44.  
  45. //@GetOption
  46. //    @Cls
  47. //    Please specify default shading mode .....
  48. //    (see glreadme.txt for more info)
  49. //
  50. //    @DlgCtrlSize(0,4,2,6,26)
  51. //    @Option 100 = "OpenGL (recommended)"
  52. //    @Option 200 = "v6.0"
  53. //@EndOption
  54.  
  55. //@If (100 [= @Option)
  56.     @SetINI ("common", "shading", "GL", "mastrcam.ini")
  57. //@Else
  58. //    @SetINI ("common", "shading", "V6", "mastrcam.ini")
  59. //@EndIf
  60.  
  61. //@OpGLIco = "[AddItem(NOTEPAD GLREADME.TXT,glreadme.txt,,,,,@Outdrive:\\@Subdir)]"
  62.  
  63. @EndIf
  64.  
  65. /* __________ CREATE MASTERCAM GROUP __________ */
  66.  
  67. @CGroup = "[CreateGroup(Mastercam)]"
  68. @AppMItem = "[AddItem(@Outdrive:\\@Subdir\\DEMO6.EXE,@IconTXT,,,,,@Outdrive:\\@Subdir)]"
  69. @ProgramManager ("@CGroup@AppMItem@OpGLIco")
  70.  
  71. /* __________ WIN32S DISK __________ */
  72.  
  73. @If ('R' [= @Group)
  74.  
  75. @If (5000 [= @OPTION)
  76.     @ChDrive (@StartupDrive)
  77.     @ChDir ("@StartupDir")
  78. @Endif
  79.  
  80. @Display
  81.     @Cls
  82.     @Product installation complete ...
  83.    
  84.     Select OK to run Microsoft Win32s Setup.
  85.     Select CANCEL to quit.
  86.  
  87.     Installation of Win32s is required to run Mastercam.
  88.     Please select OK unless you are sure that the latest
  89.     version of Win32s has already been installed (7/95).
  90.  
  91.     @Pause
  92. @EndDisplay
  93.  
  94. @If (5000 [= @OPTION)
  95.     @LocSuffix = "\\MILL\\WIN32S1"
  96.     @ChDir ("@LocPrefix@LocSuffix")
  97.     @Chain ("Win32s Disk #1", "WIN32S1.DAT")
  98. @Else
  99.     @Chain ("Win32s Disk #1", "@InDrive:\\win32s1.dat")
  100. @EndIf
  101.  
  102. @EndIf
  103.  
  104. /* __________ RETURN TO STARTUP DIRECTORY __________ */
  105.  
  106. @If (5000 [= @OPTION)
  107.     @ChDrive (@StartupDrive)
  108.     @ChDir ("@StartupDir")
  109. @Endif
  110.  
  111. /* __________ INSTALLATION COMPLETE __________ */
  112.  
  113. @Finish
  114.     @Cls
  115.     @Product installation complete ...
  116.     @Pause
  117. @EndFinish
  118.