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

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