home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 November / VPR9711B.ISO / IBM_OS / JAVA102 / JAVAOS2.ZIP / java.adf < prev    next >
Text File  |  1997-03-04  |  6KB  |  152 lines

  1. * ***************************************************************
  2. * The @DEF section describes general attributes of the software.
  3. * You MUST not change the Keywords, you only need to provide
  4. * values for them. For example, in the line
  5. *     Name = <software-short-name>
  6. * you MUST not change the keyword Name, but you need to customize
  7. * the <software-short-name>.
  8. * Here is the description of each keyword:
  9. * ***************************************************************
  10. @DEF
  11. * ***************************************************************
  12. *  Descr    is not specified here; it is the icon title
  13. *
  14. *  Name     is the short name of the product (max. 16 char)
  15. *  BaseProd is the short name of the Package that is the product name without
  16. *           explicit references to the version/release.
  17. *  Release  is the version/release of the product (no dots allowed)
  18. *  Level    is the maintenance Level of the product
  19. *  Platform is the required Operating System: OS2 or DOS
  20. *  Category is the type of application: OpSys, LANTran, SWDistr, Appl, CSD
  21. *  Manufacturer is the name of the company that produced the package
  22. *  Language is the NLS version of the product
  23. * ***************************************************************
  24.              Name                   JAVA
  25.              BaseProd               JAVA10
  26.              Release                0100
  27.              Level                  02
  28.              Platform               OS2
  29.              Category               Application
  30.              Language               US_EN
  31.              Manufacturer           IBM
  32. @ENDDEF
  33.  
  34. * ***********************************************************************
  35. * The @VAR section lists all the parameters that are used during the process
  36. * of generating response and change files; the values are collected
  37. * when you configure this software.
  38. * More in depth, a parameter (or variable), is used when you need to
  39. * customize a Response File / Change File keyword. In this way, you can
  40. * provide a RSP File / CHG File template written only once, and customized
  41. * during the configuration process.
  42. * For example, suppose you have a RSP File keyword
  43. *     Install_documentation
  44. * that can assume a list of the following values:
  45. *       Don't Install = 0
  46. *       Install 1     = 1
  47. *       Install 2     = 2
  48. *       Install All   = 3
  49. *
  50. * Depending on the kind of installation you want to do, you can choose
  51. * different values, so you need to provide a way to modify those values
  52. * at run-time (during the configuration process).
  53. * To do that you can define a variable in the @VAR section called for
  54. * example:
  55. *       Install_Doc
  56. * and define the way to get the value for this variable during the
  57. * configuration process:
  58. *       Install_Doc {
  59. *         dialog {
  60. *           multisel
  61. *           values ( "Don't Install" = 0,
  62. *                    "Install 1"     = 1,
  63. *                    "Install 2"     = 2,
  64. *                    "Install All"   = 3 )
  65. *         }
  66. *         default 3
  67. *       }
  68. *
  69. * In this way you have instructed the configuration process to display
  70. * a multi-selection list box in the dialog to select the value for the
  71. * variable Install_Doc.
  72. *
  73. * In the @MRF section you need to parametrize the value of the keyword
  74. * Install_documentation. To do that you need to put the following line
  75. * in the @MRF section:
  76. *       Install_documentation = &Install_Doc&
  77. *
  78. * In this way, the generation process is able to calculate the actual value
  79. * of the keyword Install_documentaiton just reading the value of the
  80. * variable Install_Doc from the configuration specific file (it is an
  81. * internal file used to store the actual values for each configuraiton; you
  82. * don't warry about it).
  83. * ***********************************************************************
  84. @VAR
  85. * *********************************************************************
  86. * The following included file contains variables about the set-up of
  87. * the code server
  88. * *********************************************************************
  89. @INCLUDE CODESERV.VAR
  90. * **************************************************************
  91. * The following section contains the command to install and
  92. * uninstall the product
  93. * Use special symbols
  94. *     $S     to specify the path containing the product images
  95. *     $R     to specify the response file
  96. *     $B     to specify the boot drive
  97. *     $L1-5  to specify up to 5 log files
  98. *     $L     to specify the first log file
  99. * Each of them as a correspondant SDM_xxxxxx keyword in the
  100. * SDMCMDS.VAR that translates the command in the Software
  101. * distribution format.
  102. * Note:
  103. * It is reccomended to specify the drive or directory where to install
  104. * the software as a keyword of the response file rather than a parameter
  105. * of the command line.
  106. * **************************************************************
  107. Section Commands
  108. {
  109.       InstallProgram
  110. {
  111.    "INSTALL.EXE"
  112. }
  113.       InstallParms
  114. {
  115.    "/X /NMSG /O:DRIVE /R:$R /L1:$L1 /L2:$L2 /S:$S /A:I"
  116. }
  117. UninstallAllowed { 1 }
  118. UninstallWithRSP { 1 } 
  119.       UninstallProgram
  120. {
  121.    "INSTALL.EXE"
  122. }
  123.             UninstallParms
  124. {
  125.    "/X /NMSG /O:DRIVE /R:$R /L1:$L1 /L2:$L2 /S:$S /A:D"
  126. }
  127. }
  128. * **********************************************************************
  129. * ** INCLUDE here the configuration keywords that will be used in the
  130. * ** model response file for the specified product
  131. * **********************************************************************
  132. @ENDVAR
  133. * ***********************************************************************
  134. *             Change File Profile skeleton section
  135. *         -------------------------------------------
  136. *  WARNING: do not change the lines between @MCF and @ENDMCF
  137. * ***********************************************************************
  138. @MCF
  139. @INCLUDE CID.MCF
  140. @ENDMCF
  141. * ***********************************************************************
  142. *                Response File skeleton section
  143. *        --------------------------------------------
  144. * Specify the name of the model response file in the include statement;
  145. * the model R/F is a skeleton of a response file with place-holders
  146. * instead of keyword value and conditional statements to include or exclude
  147. * part of the file, depending on the value of some configuration keywords.
  148. * ***********************************************************************
  149. @MRF
  150. @INCLUDE DUMMY.MRF
  151. @ENDMRF
  152.