home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / wsb2.zip / warpspac.pkg < prev   
Text File  |  1997-05-01  |  7KB  |  227 lines

  1. **********************************************************************
  2. *  See the Software Installer Reference for information on creating a
  3. *  package file.
  4. **********************************************************************
  5.  
  6.  
  7. *---------------------------------------------------------------------
  8. *  Service level
  9. *---------------------------------------------------------------------
  10. SERVICELEVEL
  11.    LEVEL = '000012'
  12.  
  13.  
  14. **********************************************************************
  15.  
  16. *---------------------------------------------------------------------
  17. *  Include 1 DISK entry for each diskette needed.
  18. *
  19. *  The following changes are required:
  20. *  - Change "<Product Name>" in the each NAME keyword to your product
  21. *    name.
  22. *  - Set each VOLUME keyword to a unique value.
  23. *---------------------------------------------------------------------
  24. DISK
  25.    NAME = 'WarpSpace Beta 2',
  26.    VOLUME = 'PROD001'
  27.  
  28. **********************************************************************
  29.  
  30.  
  31. *---------------------------------------------------------------------
  32. *  Default directories
  33. *---------------------------------------------------------------------
  34. PATH
  35.    FILE = 'C:/NETSCAPE/PLUGINS/npwspace',
  36.    FILELABEL = 'Installation directory'
  37.  
  38.  
  39. **********************************************************************
  40.  
  41.  
  42. *---------------------------------------------------------------------
  43. *  Exit to define your product folder's object ID.
  44. *
  45. *  The following changes are required:
  46. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  47. *    the value sufficiently unique; do not use "PRODFLDR".
  48. *---------------------------------------------------------------------
  49. FILE
  50.    EXITWHEN = 'ALWAYS',
  51.    EXITIGNOREERR = 'NO',
  52.    EXIT = 'SETVAR FOLDERID=WSPACEFLDR'
  53.  
  54.  
  55. **********************************************************************
  56.  
  57.  
  58. *---------------------------------------------------------------------
  59. *  This component creates a folder on the desktop.  You must create
  60. *  the folder in a hidden component to ensure that deleting your
  61. *  product does not delete the folder before the objects within the
  62. *  folder are deleted.
  63. *---------------------------------------------------------------------
  64. COMPONENT
  65.    NAME = 'INSFIRST',
  66.    ID = 'INSFIRST',
  67.    DISPLAY = 'NO',
  68.    SIZE = '810000',
  69.    SHARED = 'NO',
  70.    DELETE = 'YES'
  71.  
  72. *---------------------------------------------------------------------
  73. *  Include a FILE entry to install the catalog file.
  74. *
  75. *  The following changes are required:
  76. *  - Change the SOURCE and PWS keywords to the name of your catalog
  77. *    file.
  78. *---------------------------------------------------------------------
  79. FILE
  80.    WHEN = 'OUTOFDATE',
  81.    REPLACEINUSE = 'I U D R',
  82.    SOURCE = 'DRIVE:WARPSPAC.ICF',
  83.    VOLUME = 'PROD001',
  84.    PWS = 'WARPSPAC.ICF',
  85.    DATE = '970430',
  86.    TIME = '1138',
  87.    SIZE = '2284'
  88.  
  89. *---------------------------------------------------------------------
  90. *  Set variable CATALOG to be the name of the catalog file;
  91. *  the variable is used in EPFISINC.PKG.
  92. *
  93. *  The following changes are required:
  94. *  - Change "CATALOG.ICF" in the EXIT keyword to the name of your
  95. *    catalog file.
  96. *---------------------------------------------------------------------
  97. FILE
  98.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  99.    EXITIGNOREERR = 'NO',
  100.    EXIT = 'SETVAR CATALOG=WARPSPAC.ICF'
  101.  
  102. *---------------------------------------------------------------------
  103. *  Include a FILE entry to install the description file.
  104. *
  105. *  The following changes are required:
  106. *  - Change the SOURCE and PWS keywords to the name of your
  107. *    description file.
  108. *---------------------------------------------------------------------
  109. FILE
  110.    WHEN = 'OUTOFDATE',
  111.    REPLACEINUSE = 'I U D R',
  112.    SOURCE = 'DRIVE:WARPSPAC.DSC',
  113.    VOLUME = 'PROD001',
  114.    PWS = 'WARPSPAC.DSC',
  115.    DATE = '970101',
  116.    TIME = '1054',
  117.    SIZE = '89'
  118.  
  119. FILE
  120.    EXITWHEN = 'INSTALL || UPDATE',
  121.    EXITIGNOREERR = 'NO',
  122.    EXIT = 'CREATEWPSOBJECT WPFolder "WarpSpace Beta 2" <WP_DESKTOP> R "OBJECTID=<%FOLDERID%>;"'
  123.  
  124.  
  125. *---------------------------------------------------------------------
  126. *  The included package file will install and register the
  127. *  Installation Utility.  You do not need to make any changes to
  128. *  EPFISINC.PKG.
  129. *---------------------------------------------------------------------
  130. INCLUDE
  131.    NAME = 'DRIVE:EPFISINC.PKG'
  132.  
  133.  
  134. **********************************************************************
  135.  
  136.  
  137. *---------------------------------------------------------------------
  138. *  Include 1 COMPONENT entry for each component.
  139. *
  140. *  The following changes are required:
  141. *  - Change "Component 1" in the NAME keyword to the name of the
  142. *    component.
  143. *  - Describe the component in the DESCRIPTION keyword.
  144. *
  145. *  The component must require at least the INSFIRST and DELLAST
  146. *  components.
  147. *---------------------------------------------------------------------
  148. COMPONENT
  149.    NAME = 'WarpSpace Beta 2',
  150.    ID = 'COMP1',
  151.    REQUIRES = 'INSFIRST DELLAST',
  152.    DISPLAY = 'YES',
  153.    DESCRIPTION = 'WarpSpace plugin.',
  154.    SIZE = '400000',
  155.    SHARED = 'NO',
  156.    DELETE = 'YES'
  157.  
  158. *---------------------------------------------------------------------
  159. *  Include 1 FILE entry for each file in the component.
  160. *
  161. *  The following changes are required:
  162. *  - Change the SOURCE and PWS keywords to the name of the file to
  163. *    install.
  164. *---------------------------------------------------------------------
  165. FILE
  166.    WHEN = 'OUTOFDATE',
  167.    REPLACEINUSE = 'I U D R',
  168.    UNPACK = 'YES',
  169.    SOURCE = 'DRIVE:NPWSPACE.DL_',
  170.    VOLUME = 'PROD001',
  171.    PWS = '../NPWSPACE.DLL',
  172.    DATE = '970426',
  173.    TIME = '2230',
  174.    SIZE = '386627'
  175.  
  176. FILE
  177.    WHEN = 'OUTOFDATE',
  178.    REPLACEINUSE = 'I U D R',
  179.    UNPACK = 'YES',
  180.    SOURCE = 'DRIVE:HISTORY.TX_',
  181.    VOLUME = 'PROD001',
  182.    PWS = 'HISTORY.TXT',
  183.    DATE = '970429',
  184.    TIME = '2031',
  185.    SIZE = '4210'
  186.  
  187. FILE
  188.    WHEN = 'OUTOFDATE',
  189.    REPLACEINUSE = 'I U D R',
  190.    UNPACK = 'YES',
  191.    SOURCE = 'DRIVE:READ.ME_',
  192.    VOLUME = 'PROD001',
  193.    PWS = 'READ.ME',
  194.    DATE = '970429',
  195.    TIME = '2047',
  196.    SIZE = '3984'
  197.  
  198. FILE
  199.    EXITWHEN = 'INSTALL || UPDATE',
  200.    EXITIGNOREERR = 'NO',
  201.    EXIT = 'CREATEWPSOBJECT WPProgram "WarpSpace README" <%FOLDERID%> R "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%/read.me;OBJECTID=WSRME;"'
  202.  
  203. FILE
  204.    EXITWHEN = 'INSTALL || UPDATE',
  205.    EXITIGNOREERR = 'NO',
  206.    EXIT = 'CREATEWPSOBJECT WPProgram "WarpSpace Revision History" <%FOLDERID%> R "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%/history.txt;OBJECTID=WSHIST;"'
  207. **********************************************************************
  208.  
  209. *---------------------------------------------------------------------
  210. *  This component deletes the product folder; it must be the last
  211. *  COMPONENT entry in the package file.
  212. *
  213. *  No changes are required to any entry in this component.
  214. *---------------------------------------------------------------------
  215. COMPONENT
  216.    NAME = 'DELLAST',
  217.    ID = 'DELLAST',
  218.    DISPLAY = 'NO',
  219.    SIZE = '10000',
  220.    SHARED = 'NO',
  221.    DELETE = 'YES'
  222. FILE
  223.    EXITWHEN = 'DELETE',
  224.    EXITIGNOREERR = 'YES',
  225.    EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'
  226.  
  227.