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

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