home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / mslang / stepon / _temp302.tab < prev    next >
Encoding:
Text File  |  1994-05-01  |  4.2 KB  |  93 lines

  1. '         ^^^^^^^^^^
  2. '              This program is configured in table part: Choose radio button Table
  3. ' First table has only one element in each line 
  4. ' for information of the program.
  5. Table prgInfos
  6. ' Name of the program for outputs.
  7. ' Please enter the program name, which the user should read in hints
  8.     "My program name"
  9. '    The to be installed program isn't allowed to run during installation     
  10. '    For this check give the file name of the program with extension but without path
  11.     "MyPrg.exe"
  12. '    During first installation you should give the user a default path.
  13. '    This example gets the Windows directory, goes up a directory and
  14. '    expands the given name.
  15. '    Hint: Only the last part of the string will be used, i.e.
  16. '     'test\stepone' gives 'stepone'.
  17.     "MyPath"
  18.  
  19. '    If your application uses a database which needs SHARE.EXE,  change the value to "-1"
  20. '    otherwise let the item "0".
  21.     "0"
  22. EndTable
  23.  
  24. '     Place here all VBX and DLL files, which your program needs.
  25. '     This files will be checked for:
  26. '     - they are loaded in the users system
  27. '     - they are installed incorrectly in the users Windows directory
  28. Table vbxtable
  29. '    "util1.vbx","util2.dll"   'aso.
  30. EndTable
  31.  
  32. ' Place here all files which should be installed in the target directory.
  33. ' The simples possibility:
  34. ' 1. Create a directory
  35. ' 2. Copy all files of the program you've to install in the directory
  36. ' 3. Start Compress.exe in this directory from DOS-Prompt as 'compress *.* -r'.
  37. ' 4. Choose all files, with underscore as last character of the file extension, i.e. in File Manager, but not the
  38. '    files which are also used from other programs, i.e. .DLLs or .VBXs, position the cursor in the line
  39. '    and the files drop. StepIt creates the following table and asks you for the name of the disk and a comment.
  40. '    See project stepone.prj for an example of a file table.
  41. Table targettable
  42. '    medium name
  43. '    |       packed file name
  44. '    |       |                expanded name         
  45. '    |       |                |                  packed length
  46. '    |       |                |                  |           expanded length
  47. '    |       |                |                  |           |           comment
  48. '    |       |                |                  |           |           |               
  49. '   A space as comment shows the last comment
  50. '   Its allowed to use relative paths like 'redist\stepone.exe'. 
  51. '   Not allowed will be: '..\stepone.exe' !
  52. '   The optional 7th parameter can overwrite the global copy type
  53. '   for CopyFileTable for this line. Here we use copy type 5 because 
  54. '   the files in the directory REDIST shouldn't be expanded.
  55. EndTable
  56.  
  57. ' Use this table for the files which should be installed in the System directory
  58. Table systemtable
  59. '   disk name
  60. '   |           packed name
  61. '   |           |                 expanded name         
  62. '   |           |                 |               packed length
  63. '   |           |                 |               |          expanded length
  64. '   |           |                 |               |          |           comment
  65. '   |           |                 |               |          |           |    
  66. EndTable
  67.  
  68. ' How to edit the registration database
  69. Table regbasetable
  70. '    Type = CMD or DDE. DDE = uses DDE to load a document 
  71. '    |         Extension
  72. '    |         |         Name         
  73. '    |         |         |                   file type
  74. '    |         |         |                   |                   file name for 'open' command
  75. '    |         |         |                   |                   |                 DDE message   DDE application    DDE theme
  76. '    |         |         |                   |                   |                 |             |                  |
  77. EndTable
  78.  
  79. Table prgmantable
  80. '    group name 
  81. '    |         name of the program
  82. '    |         |              text for icon    
  83. '    |         |              |
  84. EndTable
  85.  
  86. Table initable
  87. '    Name of INI file
  88. '    |                             section name
  89. '    |                             |               key    
  90. '    |                             |               |                value
  91. '    |                             |               |                |
  92. EndTable
  93.