home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 29 Fixes_o / 29-Fixes_o.zip / wr07060a.zip / US7060B2.DSK / APPLETS / CASSETUP.ZIP / os221.pro < prev    next >
Text File  |  1995-04-12  |  16KB  |  279 lines

  1. * CASSETUP application profile for: OS/2 2.1 (Base)
  2.  
  3. ****************************************************************
  4. *          APPLICATION DESCRIPTION SECTION                     *
  5. ****************************************************************
  6.  
  7.  
  8.                                       * APPNAME is a long descriptive name.  
  9.                                       * It can contain blanks. It should be
  10.                                       * unique among all the Application 
  11.                                       * Profiles.
  12. APPNAME = OS/2^Version 2.1
  13.  
  14.                                       * APPNICK is a short nickname.  It is 
  15.                                       * used to identify this application in
  16.                                       * other scripts and profiles. It MUST 
  17.                                       * be unique among all the App Profiles.
  18.                                       * Case is ignored for this parameter, 
  19.                                       * so KILLER10 and killer10 are
  20.                                       * considered equal.
  21. APPNICK = OS221
  22.  
  23.                                       * PROGTYPE tells what kind of 
  24.                                       * application this is: 
  25.                                       *      Operating System (1),
  26.                                       *      Transport (2), 
  27.                                       *      Redirector(3), 
  28.                                       * or other (4).
  29. PROGTYPE = 1
  30.                                       * ICON is the icon to be displayed to 
  31.                                       * represent this application in CASSETUP
  32.                                       * A restriction in Release 1.1 of
  33.                                       * CASSETUP is that this must be a
  34.                                       * bitmap (bmp) file or DLL resource.
  35.                                       * The path is relative to the directory
  36.                                       * where cassetup is installed.
  37. ICON = CASSETUP:#111
  38.  
  39.                                       * OS tells whether the program runs 
  40.                                       * under OS/2 (1) or DOS (2)
  41. OS = 1
  42.  
  43.                                       * PACKAGE tells whether it is a complete
  44.                                       * application (1) or a fix (2)
  45. PACKAGE = 1
  46.  
  47.                                       * If it is a fix, FIXTO is the APPNICK 
  48.                                       * of the application it fixes.
  49. * FIXTO = 
  50.  
  51.                                       * And FIXLEVEL specifies the relative 
  52.                                       * fix level.  It can be -1 to indicate
  53.                                       * it is an unsequenced fix.
  54. * FIXLEVEL = 
  55.                                       * Some products required that 
  56.                                       * prerequisite products be installed on
  57.                                       * the code server before images can
  58.                                       * be loaded.  Put the nicknames of
  59.                                       * the prereq products on this line.
  60.                                       * The special nickname <LCU> indicates
  61.                                       * that Remote Install Support must first
  62.                                       * be installed on the code server.
  63. LOADPREREQS = <LCU>
  64. ****************************************************************
  65. *                   IMAGE LOAD SECTION                         *
  66. * (elements in this section describe how the application's     *
  67. * install image is put onto a Code Server -- usually by being  *
  68. * copied from install diskettes or CD-ROM)                     *
  69. ****************************************************************
  70.  
  71.                  * The directories below are set up when the application's
  72.                  * install images are loaded onto the code server.
  73.  
  74.                                       * APPDIR is the subdirectory (relative
  75.                                       * to the CID mount point) where
  76.                                       * the app's install images will be 
  77.                                       * stored. The directory will be created
  78.                                       * if it does not exist.
  79.                                       * The CID Mount Point is specified
  80.                                       * in the CASSETUP gui.
  81. APPDIR = IMG\OS2V21
  82.  
  83.                                       * WORKDIR is a subdirectory (relative 
  84.                                       * to the WORK alias) where various
  85.                                       * application-required programs may be 
  86.                                       * placed.  It is optional, but almost
  87.                                       * every application will need one.  The 
  88.                                       * directory will be created if it
  89.                                       * does not exist.
  90.                                       * Some CID documentation refers to this
  91.                                       * as the EXE directory.
  92.                                       * The WORK alias is specified in the GUI.
  93. WORKDIR = EXE\V21
  94.  
  95.                                       * DLLDIR is the directory (relative to 
  96.                                       * the DLL alias) where DLLs for
  97.                                       * the product will be placed.  Not all 
  98.                                       * applications will need one.
  99.                                       * The DLL alias is specified in the GUI.
  100. DLLDIR = DLL\V21
  101.  
  102.                                       * RSPDIR is the directory (relative to
  103.                                       * the RESP alias) where response
  104.                                       * files will be placed.  
  105. RESPDIR = RSP\OS2V21
  106.  
  107.                                       * LOGDIR is the directory (relative
  108.                                       * to the LOG alias) where log files
  109.                                       * will be placed.
  110. LOGDIR = LOG\OS2V21
  111.  
  112.                  * The parameters below describe the methods to be
  113.                  * used to put the applications's images on the Code Server.
  114.  
  115.                                       * METHOD defines whether XCOPY or an
  116.                                       * application-supplied program will be
  117.                                       * used to load the images.
  118.                                       * Methods are 1=XCOPY-is-used 
  119.                                       *             2=Application-supplied
  120. METHOD =  2
  121.  
  122.                                       * NUMDSKT is the number of diskettes 
  123.                                       * (or CD-ROMS)in the package.  It is
  124.                                       * required when the XCOPY method is 
  125.                                       * being used, but optional otherwise.
  126. NUMDSKT = 13
  127.  
  128.  
  129.                         * The next parameter deals with loading the images
  130.                         * using an application-provided program.
  131.  
  132.                                       * If METHOD==2 the IMAGELOAD keywords
  133.                                       * specify the commands to be run and 
  134.                                       * the meaning of their return codes.
  135.                                       * IMAGELOAD.0 specifies the number of
  136.                                       * commands to be run.
  137. IMAGELOAD.0 = 4
  138.                                       * IMAGELOAD.n is a template for the 
  139.                                       * nth command that will be executed.
  140.                                       * Templates may contain Symbolic 
  141.                                       * Substitution Parameters, which will be 
  142.                                       * replaced by actual values when the 
  143.                                       * command line is executed.  
  144.                                       * The Symbolic Substitutions supported 
  145.                                       * for IMAGELOAD are
  146.                                       *     $T      which is replaced by the 
  147.                                       *             target path (the path to 
  148.                                       *             which code images are to 
  149.                                       *             be moved).
  150.                                       *     $S      which is replaced by the 
  151.                                       *             source drive (and, 
  152.                                       *             possibly, path) from which 
  153.                                       *             the code images will be 
  154.                                       *             copied.
  155.                                       *     $W      which is replaced by the 
  156.                                       *             fully-qualified path of 
  157.                                       *             the Work directory.
  158.                                       *     $D      which is replaced by the 
  159.                                       *             fully-qualified path of 
  160.                                       *             the DLL directory.
  161.                                       *     $F      which applies only to CSDs 
  162.                                       *             and is replaced by the 
  163.                                       *             fully-qualified path of 
  164.                                       *             the Work directory of the 
  165.                                       *             application being fixed.
  166. IMAGELOAD.1 = seimage /S:$S /T:$T
  167. IMAGELOAD.2 = GetOSCid $T $W
  168. IMAGELOAD.3 = GetRExx $T $D
  169. IMAGELOAD.4 = GetBoot $T $W
  170.  
  171.                         * The next parameter deals with commands to be
  172.                         * run _before_ the image loading command.  They
  173.                         * are run regardless of the Method selected.
  174.                         * The work directory, will be put at the front of the
  175.                         * path and dpath during execution of these steps
  176.  
  177.                                       * The SETUP keywords specify steps
  178.                                       * to be performed before image
  179.                                       * loading.  Commands to unpack the
  180.                                       * load image program, for example, might
  181.                                       * go here.
  182.                                       * SETUP.0 says how many steps there
  183.                                       * are
  184. SETUP.0 = 2
  185.                                       * SETUP.n gives the prompt text for
  186.                                       * step n.  If it is blank, then the
  187.                                       * step is done immediately
  188. SETUP.1 =  OS/2 2.1 Installation Diskette 2
  189.                                       * If there is a diskette prompt, then 
  190.                                       * the diskette can be verified either by
  191.                                       * Volume Label or presence of a file.
  192.                                       * These elements are optional.
  193. SETUP.1.0MarkerFile = unpack.exe
  194.                                       * For each step, there can be as many 
  195.                                       * commands as needed. SETUP.n.0 parm 
  196.                                       * tells how many commands make up 
  197.                                       * step n.
  198. SETUP.1.0 =     2
  199.                                       * SETUP.n.i is a template of the ith
  200.                                       * commmand in step n.  Symbolic
  201.                                       * substitution is supported for the
  202.                                       * $T, $S, $D and $W variables; for
  203.                                       * their meaning, see the IMAGELOAD
  204.                                       * section above.
  205. SETUP.1.1 =  COPY $S\UNPACK.EXE $W
  206. SETUP.1.2 =  COPY $S\UNPACK2.EXE $W
  207.                                       * If a command returns something other
  208.                                       * than 0 to indicate success, use the
  209.                                       * SETUP.n.i.0GOODRC element to specify
  210.                                       * the good return codes.
  211. SETUP.2 = OS/2 2.1 Diskette 7 (Diskette 8 in some DBCS countries)
  212. SETUP.2.0 = 1
  213. SETUP.2.0MarkerFile = CID
  214. SETUP.2.1 = $W\UNPACK2 $S\CID $W /N:SEIMAGE.EXE
  215.  
  216.  
  217. ****************************************************************
  218. *                      INSTALL SECTION                         *
  219. * (elements in this section deal with how the application is   *
  220. * remotely installed).                                         *
  221. ****************************************************************
  222.  
  223.                                       * INSTCMD is the template of the
  224.                                       * install command.  Symbolic 
  225.                                       * substitution is supported for $T, $S,
  226.                                       * $D and $W as described above, but
  227.                                       * also for
  228.                                       *     $B (boot drive)
  229.                                       *     $M (Maint dir)
  230.                                       *     $R (response file dir)
  231.                                       *     $V (server name)
  232.                                       *     $F (directory for the /S2 parm)
  233.                                       *     $C (client name)
  234.                                       *     $O (boot drive)
  235. INSTCMD = $W\seinst /b:$B /s:$S /t:$M /l1:$L\"client".log /r:
  236.  
  237.                                       * DEFRESPFILE is the default response 
  238.                                       * file name.  It is used during 
  239.                                       * creation of LCU command files
  240.                                       * to specify a "rspdir/default" 
  241.                                       * block for the install command line.
  242.                                       * If it is specified then the response 
  243.                                       * file (usually /R) parameter in
  244.                                       * INSTPROG must be at the end of the 
  245.                                       * string and be empty.  For example:
  246.                                       *    myinstpg /S:something  /R:
  247. DEFRESPFILE = default.rsp
  248.  
  249.                                       * MAINTSYSREQ tells whether the install 
  250.                                       * command must be run under a 
  251.                                       * maintenance system (1 is yes, 0 no)
  252. MaintSysReq = 1
  253.  
  254.   
  255. ****************************************************************
  256. *              MAINTENANCE SYSTEM SECTION                      *
  257. * (applications that have a PROGTYPE of 1 (OS), 2 (transport)  *
  258. * or 3 (redirector) have associated commands that allow them   *
  259. * to be installed as part of Maintnance Systems.  This section *
  260. * describes those commands.                                    *
  261. ****************************************************************
  262.  
  263.                                       * MSCMD.0 tells how many commands 
  264.                                       * follow
  265. MSCmd.0 = 2
  266.                                       * MSCMD.n is the template for the nth
  267.                                       * command.  Symbolic substitution for
  268.                                       * $T, $W, $D and $S is always supported
  269.                                       * and other translation is available 
  270.                                       * during processing of Boot Diskette
  271.                                       * Build scripts.
  272. MSCmd.1 = $W\semaint /s:$S /t:$M /b:$B /l1:$L\"client".log
  273. MSCmd.1.0CmdName = semaint
  274.  
  275. MSCmd.2 = $W\sedisk /S:$S /T:$T
  276. MSCMD.2.0CmdName = sedisk
  277.  
  278. MaintSysBuild = 1
  279.