home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / tickros2.exe / ticker.pkg < prev   
Text File  |  1996-04-01  |  10KB  |  285 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 = '000000'
  12.  
  13.  
  14. **********************************************************************
  15.  
  16.  
  17. *---------------------------------------------------------------------
  18. *  Include 1 DISK entry for each diskette needed.
  19. *
  20. *  The following changes are required:
  21. *  - Change "<Product Name>" in the each NAME keyword to your product
  22. *    name.
  23. *  - Set each VOLUME keyword to a unique value.
  24. *---------------------------------------------------------------------
  25. * DISK
  26. *    NAME   = 'IBM infoMarket NewsTicker - Diskette 1',
  27. *    VOLUME = 'PROD001'
  28.  
  29. * DISK
  30. *    NAME   = 'IBM infoMarket NewsTicker - Diskette 2',
  31. *    VOLUME = 'PROD002'
  32.  
  33.  
  34. **********************************************************************
  35.  
  36.  
  37. *---------------------------------------------------------------------
  38. *  Default directories
  39. *---------------------------------------------------------------------
  40. PATH
  41.    FILE = 'C:/TICKER',
  42.    FILELABEL = 'Installation directory'
  43.  
  44.  
  45. **********************************************************************
  46.  
  47.  
  48. *---------------------------------------------------------------------
  49. *  Exit to define your product folder's object ID.
  50. *
  51. *  The following changes are required:
  52. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  53. *    the value sufficiently unique; do not use "PRODFLDR".
  54. *---------------------------------------------------------------------
  55. FILE
  56.    EXITWHEN = 'ALWAYS',
  57.    EXITIGNOREERR = 'NO',
  58.    EXIT = 'SETVAR FOLDERID=infoMarket'
  59.  
  60.  
  61. **********************************************************************
  62.  
  63.  
  64. *---------------------------------------------------------------------
  65. *  This component creates a folder on the desktop.  You must create
  66. *  the folder in a hidden component to ensure that deleting your
  67. *  product does not delete the folder before the objects within the
  68. *  folder are deleted.
  69. *---------------------------------------------------------------------
  70. COMPONENT
  71.    NAME = 'INSFIRST',
  72.    ID = 'INSFIRST',
  73.    DISPLAY = 'NO',
  74.    SIZE = '10000',
  75.    SHARED = 'NO',
  76.    DELETE = 'YES'
  77.  
  78. *---------------------------------------------------------------------
  79. *  Include a FILE entry to install the catalog file.
  80. *
  81. *  The following changes are required:
  82. *  - Change the SOURCE and PWS keywords to the name of your catalog
  83. *    file.
  84. *---------------------------------------------------------------------
  85. FILE
  86.    WHEN = 'OUTOFDATE',
  87.    REPLACEINUSE = 'I U D R',
  88.    SOURCE = 'DRIVE:Ticker.ICF',
  89.    VOLUME = 'PROD001',
  90.    PWS = 'Ticker.ICF',
  91.    DATE = '960401',
  92.    TIME = '1114',
  93.    SIZE = '2311'
  94.  
  95. *---------------------------------------------------------------------
  96. *  Set variable CATALOG to be the name of the catalog file;
  97. *  the variable is used in EPFISINC.PKG.
  98. *
  99. *  The following changes are required:
  100. *  - Change "CATALOG.ICF" in the EXIT keyword to the name of your
  101. *    catalog file.
  102. *---------------------------------------------------------------------
  103. FILE
  104.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  105.    EXITIGNOREERR = 'NO',
  106.    EXIT = 'SETVAR CATALOG=Ticker.ICF'
  107.  
  108. *---------------------------------------------------------------------
  109. *  Include a FILE entry to install the description file.
  110. *
  111. *  The following changes are required:
  112. *  - Change the SOURCE and PWS keywords to the name of your
  113. *    description file.
  114. *---------------------------------------------------------------------
  115. FILE
  116.    WHEN = 'OUTOFDATE',
  117.    REPLACEINUSE = 'I U D R',
  118.    SOURCE = 'DRIVE:Ticker.DSC',
  119.    VOLUME = 'PROD001',
  120.    PWS = 'Ticker.DSC',
  121.    DATE = '960327',
  122.    TIME = '1436',
  123.    SIZE = '39'
  124.  
  125. *---------------------------------------------------------------------
  126. *  Create your product's folder on the desktop.
  127. *
  128. *  The following changes are required:
  129. *  - Change "<Product Name>" in the EXIT keyword to your product name.
  130. *---------------------------------------------------------------------
  131. FILE
  132.    EXITWHEN = 'INSTALL || UPDATE',
  133.    EXITIGNOREERR = 'NO',
  134.    EXIT = 'CREATEWPSOBJECT WPFolder "IBM infoMarket"                   <WP_DESKTOP> R                   "OBJECTID=<%FOLDERID%>;"'
  135.  
  136. *---------------------------------------------------------------------
  137. *  The included package file will install and register the
  138. *  Installation Utility.  You do not need to make any changes to
  139. *  EPFISINC.PKG.
  140. *---------------------------------------------------------------------
  141. *INCLUDE
  142. *  NAME = 'DRIVE: EPFISINC.PKG'
  143.  
  144.  
  145. **********************************************************************
  146.  
  147.  
  148. *---------------------------------------------------------------------
  149. *  Include 1 COMPONENT entry for each component.
  150. *
  151. *  The following changes are required:
  152. *  - Change "Component 1" in the NAME keyword to the name of the
  153. *    component.
  154. *  - Describe the component in the DESCRIPTION keyword.
  155. *
  156. *  The component must require at least the INSFIRST and DELLAST
  157. *  components.
  158. *---------------------------------------------------------------------
  159. COMPONENT
  160.    NAME = 'IBM infoMarket NewsTicker',
  161.    ID = 'COMP1',
  162.    REQUIRES = 'INSFIRST DELLAST',
  163.    DISPLAY = 'YES',
  164.    DESCRIPTION = 'Ticker Executable',
  165.    SIZE = '820000',
  166.    SHARED = 'NO',
  167.    DELETE = 'YES'
  168.  
  169. *---------------------------------------------------------------------
  170. *  Include 1 FILE entry for each file in the component.
  171. *
  172. *  The following changes are required:
  173. *  - Change the SOURCE and PWS keywords to the name of the file to
  174. *    install.
  175. *---------------------------------------------------------------------
  176. FILE
  177.    WHEN = 'OUTOFDATE',
  178.    REPLACEINUSE = 'I U D R',
  179.    UNPACK = 'YES',
  180.    SOURCE = 'DRIVE:TICKER.EX_',
  181.    VOLUME = 'PROD001',
  182.    PWS = 'TICKER.EXE',
  183.    DATE = '960401',
  184.    TIME = '1042',
  185.    SIZE = '570894'
  186.  
  187. *---------------------------------------------------------------------
  188. *  Create a program object in the product folder.
  189. *
  190. *  The following changes are required:
  191. *  - Change "COMP1A" in the EXIT keyword to the name of the object.
  192. *  - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
  193. *    name of the program to run.
  194. *  - Change "[]" in the EXIT keyword after PARAMETERS to any
  195. *    parameters required to run the object; if no parameters are
  196. *    required, delete "PARAMETERS=[];" from the EXIT keyword.
  197. *  - Change "COMP1A" in the EXIT keyword after OBJECTID to the
  198. *    program's object ID; be sure to make the value sufficiently
  199. *    unique; the value must be enclosed in "<>" characters; do not use
  200. *    "COMP1A" or the value of the FOLDERID variable.
  201. *---------------------------------------------------------------------
  202. FILE
  203.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  204.    EXITIGNOREERR = 'NO',
  205.    EXIT = 'CREATEWPSOBJECT WPProgram "IBM infoMarket NewsTicker"                   <%FOLDERID%> R                   "EXENAME=%EPFIFILEDIR%//TICKER.EXE;STARTUPDIR=%EPFIFILEDIR%;OBJECTID=<imTicker>;"'
  206.  
  207. *---------------------------------------------------------------------
  208. *  Delete the program object.
  209. *
  210. *  The following changes are required:
  211. *  - Change "COMP1A" in the EXIT keyword to the program's object ID;
  212. *    be sure to use the object ID that you gave the object when it was
  213. *    created in the previous FILE entry; the value must be enclosed in
  214. *    "<>" characters.
  215. *---------------------------------------------------------------------
  216. FILE
  217.    EXITWHEN = 'DELETE',
  218.    EXITIGNOREERR = 'YES',
  219.    EXIT = 'DELETEWPSOBJECT <imTicker>'
  220.  
  221. *---------------------------------------------------------------------
  222. *  Another FILE entry.
  223. *
  224. *  The following changes are required:
  225. *  - Change the SOURCE and PWS keywords to the name of the file to
  226. *    install.
  227. *---------------------------------------------------------------------
  228. FILE
  229.    WHEN = 'OUTOFDATE',
  230.    REPLACEINUSE = 'I U D R',
  231.    UNPACK = 'YES',
  232.    SOURCE = 'DRIVE:BPMCC.DL_',
  233.    VOLUME = 'PROD001',
  234.    PWS = 'BPMCC.DLL',
  235.    SIZE = '99456'
  236.  
  237. FILE
  238.    WHEN = 'OUTOFDATE',
  239.    REPLACEINUSE = 'I U D R',
  240.    UNPACK = 'YES',
  241.    SOURCE = 'DRIVE:TCP32DLL.DL_',
  242.    VOLUME = 'PROD001',
  243.    PWS = 'TCP32DLL.DLL',
  244.    SIZE = '83681'
  245.  
  246. FILE
  247.    WHEN = 'OUTOFDATE',
  248.    REPLACEINUSE = 'I U D R',
  249.    UNPACK = 'YES',
  250.    SOURCE = 'DRIVE:SO32DLL.DL_',
  251.    VOLUME = 'PROD001',
  252.    PWS = 'SO32DLL.DLL',
  253.    SIZE = '56205'
  254.  
  255. FILE
  256.    WHEN = 'OUTOFDATE',
  257.    REPLACEINUSE = 'I U D R',
  258.    UNPACK = 'YES',
  259.    SOURCE = 'DRIVE:TICKER.HL_',
  260.    VOLUME = 'PROD001',
  261.    PWS = 'TICKER.HLP',
  262.    DATE = '960401',
  263.    TIME = '1019',
  264.    SIZE = '8002'
  265.  
  266. *---------------------------------------------------------------------
  267. *  This component deletes the product folder; it must be the last
  268. *  COMPONENT entry in the package file.
  269. *
  270. *  No changes are required to any entry in this component.
  271. *---------------------------------------------------------------------
  272. COMPONENT
  273.    NAME = 'DELLAST',
  274.    ID = 'DELLAST',
  275.    DISPLAY = 'NO',
  276.    SIZE = '10000',
  277.    SHARED = 'NO',
  278.    DELETE = 'YES'
  279.  
  280. FILE
  281.    EXITWHEN = 'DELETE',
  282.    EXITIGNOREERR = 'YES',
  283.    EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'
  284.  
  285.