home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / hstd10b2.zip / htmlstud.pkg < prev    next >
Text File  |  1996-08-22  |  8KB  |  251 lines

  1. *---------------------------------------------------------------------
  2. *  Service level
  3. *---------------------------------------------------------------------
  4. SERVICELEVEL
  5.    LEVEL = '000000'
  6.  
  7.  
  8. **********************************************************************
  9.  
  10.  
  11. *---------------------------------------------------------------------
  12. *  Include 1 DISK entry for each diskette needed.
  13. *
  14. *  The following changes are required:
  15. *  - Change "<Product Name>" in the each NAME keyword to your product
  16. *    name.
  17. *  - Set each VOLUME keyword to a unique value.
  18. *---------------------------------------------------------------------
  19. DISK
  20.    NAME = 'HTML Studio - Disk 1',
  21.    VOLUME = 'DISK1'
  22.  
  23.  
  24. **********************************************************************
  25.  
  26.  
  27. *---------------------------------------------------------------------
  28. *  Default directories
  29. *---------------------------------------------------------------------
  30. PATH
  31.    FILE = 'C:/HTMLSTUD',
  32.    FILELABEL = 'Installation directory'
  33.  
  34.  
  35. **********************************************************************
  36.  
  37.  
  38. *---------------------------------------------------------------------
  39. *  Exit to define your product folder's object ID.
  40. *
  41. *  The following changes are required:
  42. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  43. *    the value sufficiently unique; do not use "PRODFLDR".
  44. *---------------------------------------------------------------------
  45. FILE
  46.    EXITWHEN = 'ALWAYS',
  47.    EXITIGNOREERR = 'NO',
  48.    EXIT = 'SETVAR FOLDERID=HTMLSTUDFOLDER'
  49.  
  50.  
  51. **********************************************************************
  52.  
  53.  
  54. *---------------------------------------------------------------------
  55. *  This component creates a folder on the desktop.  You must create
  56. *  the folder in a hidden component to ensure that deleting your
  57. *  product does not delete the folder before the objects within the
  58. *  folder are deleted.
  59. *---------------------------------------------------------------------
  60. COMPONENT
  61.    NAME = 'INSFIRST',
  62.    ID = 'INSFIRST',
  63.    DISPLAY = 'NO',
  64.    SIZE = '1120000',
  65.    SHARED = 'NO',
  66.    DELETE = 'YES'
  67.  
  68. *---------------------------------------------------------------------
  69. *  Include a FILE entry to install the catalog file.
  70. *
  71. *  The following changes are required:
  72. *  - Change the SOURCE and PWS keywords to the name of your catalog
  73. *    file.
  74. *---------------------------------------------------------------------
  75. FILE
  76.    WHEN = 'OUTOFDATE',
  77.    REPLACEINUSE = 'I U D R',
  78.    SOURCE = 'DRIVE:HTMLSTUD.ICF',
  79.    VOLUME = 'DISK1',
  80.    PWS = 'htmlstud.icf',
  81.    DATE = '960822',
  82.    TIME = '1916',
  83.    SIZE = '2263'
  84.  
  85. FILE
  86.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  87.    EXITIGNOREERR = 'NO',
  88.    EXIT = 'SETVAR CATALOG=HTMLSTUD.ICF'
  89.  
  90. FILE
  91.    WHEN = 'OUTOFDATE',
  92.    REPLACEINUSE = 'I U D R',
  93.    SOURCE = 'DRIVE:HTMLSTUD.DSC',
  94.    VOLUME = 'DISK1',
  95.    PWS = 'HTMLSTUD.DSC',
  96.    DATE = '960822',
  97.    TIME = '1916',
  98.    SIZE = '784'
  99.  
  100. *---------------------------------------------------------------------
  101. *  Create your product's folder on the desktop.
  102. *
  103. *  The following changes are required:
  104. *  - Change "<Product Name>" in the EXIT keyword to your product name.
  105. *---------------------------------------------------------------------
  106. FILE
  107.    EXITWHEN = 'INSTALL || UPDATE',
  108.    EXITIGNOREERR = 'NO',
  109.    EXIT = 'CREATEWPSOBJECT WPFolder "HTML Studio"  <WP_DESKTOP> R  "OBJECTID=<%FOLDERID%>;ALWAYSSORT=YES;"'
  110.  
  111. *---------------------------------------------------------------------
  112. *  The included package file will install and register the
  113. *  Installation Utility.  You do not need to make any changes to
  114. *  EPFISINC.PKG.
  115. *---------------------------------------------------------------------
  116. INCLUDE
  117.    NAME = 'DRIVE:EPFISINC.PKG'
  118.  
  119.  
  120. **********************************************************************
  121.  
  122.  
  123. *---------------------------------------------------------------------
  124. *  Include 1 COMPONENT entry for each component.
  125. *
  126. *  The following changes are required:
  127. *  - Change "Component 1" in the NAME keyword to the name of the
  128. *    component.
  129. *  - Describe the component in the DESCRIPTION keyword.
  130. *
  131. *  The component must require at least the INSFIRST and DELLAST
  132. *  components.
  133. *---------------------------------------------------------------------
  134. COMPONENT
  135.    NAME = 'Executables',
  136.    ID = 'COMP1',
  137.    REQUIRES = 'INSFIRST DELLAST',
  138.    DISPLAY = 'YES',
  139.    DESCRIPTION = 'HTML Studio Program Files',
  140.    SIZE = '380000',
  141.    SHARED = 'NO',
  142.    DELETE = 'YES'
  143.  
  144. *---------------------------------------------------------------------
  145. *  Include 1 FILE entry for each file in the component.
  146. *
  147. *  The following changes are required:
  148. *  - Change the SOURCE and PWS keywords to the name of the file to
  149. *    install.
  150. *---------------------------------------------------------------------
  151. FILE
  152.    WHEN = 'OUTOFDATE',
  153.    REPLACEINUSE = 'I U D R',
  154.    UNPACK = 'YES',
  155.    SOURCE = 'DRIVE:HTMLSTUD.EX_',
  156.    VOLUME = 'DISK',
  157.    PWS = 'htmlstud.exe',
  158.    DATE = '960822',
  159.    TIME = '2019',
  160.    SIZE = '35192'
  161.  
  162. FILE
  163.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  164.    EXITIGNOREERR = 'NO',
  165.    EXIT = 'CREATEWPSOBJECT WPProgram "HTML Studio" <%FOLDERID%> R "PROGTYPE=PM;EXENAME=%EPFIFILEDIR%//HTMLSTUD.EXE;OBJECTID=<HTMLSTUDEXE>;STARTUPDIR=%EPFIFILEDIR%"'
  166.  
  167. FILE
  168.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  169.    EXITIGNOREERR = 'NO',
  170.    EXIT = 'CREATEWPSOBJECT WPProgram "Uninstall^HTML Studio" <%FOLDERID%> R   "PROGTYPE=WINDOWABLEVIO;EXENAME=CMD.EXE;OBJECTID=<HTMLSTUDUNIST>;STARTUPDIR=%EPFIFILEDIR%;PARAMETERS=/C %EPFIFILEDIR%//EPFINSTS.EXE /A:D /O:%EPFISOURCE% /P:"HTML Studio";ICONFILE=UNINST.ICO"'
  171.  
  172. FILE
  173.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  174.    EXITIGNOREERR = 'NO',
  175.    EXIT = 'CREATEWPSOBJECT WPProgram "HTML Studio Beta^Readme" <%FOLDERID%> R   "PROGTYPE=PM;EXENAME=E.EXE;OBJECTID=<HTMLSTUDREAD>;STARTUPDIR=%EPFIFILEDIR%;PARAMETERS=readme.txt;ICONFILE=UNINST.ICO"'
  176.  
  177. *---------------------------------------------------------------------
  178. *  Delete the program object.
  179. *
  180. *  The following changes are required:
  181. *  - Change "COMP1A" in the EXIT keyword to the program's object ID;
  182. *    be sure to use the object ID that you gave the object when it was
  183. *    created in the previous FILE entry; the value must be enclosed in
  184. *    "<>" characters.
  185. *---------------------------------------------------------------------
  186. FILE
  187.    EXITWHEN = 'DELETE',
  188.    EXITIGNOREERR = 'YES',
  189.    EXIT = 'DELETEWPSOBJECT <HTMLSTUDEXE>'
  190.  
  191. FILE
  192.    EXITWHEN = 'DELETE',
  193.    EXITIGNOREERR = 'YES',
  194.    EXIT = 'DELETEWPSOBJECT <HTMLSTUDUNINST>'
  195.  
  196. FILE
  197.    WHEN = 'OUTOFDATE',
  198.    REPLACEINUSE = 'I U D R',
  199.    UNPACK = 'YES',
  200.    SOURCE = 'DRIVE:HTMLSTUD.DL_',
  201.    VOLUME = 'DISK1',
  202.    PWS = 'htmlstud.dll',
  203.    DATE = '960822',
  204.    TIME = '2019',
  205.    SIZE = '322957'
  206.  
  207. FILE
  208.    WHEN = 'OUTOFDATE',
  209.    REPLACEINUSE = 'I U D R',
  210.    UNPACK = 'YES',
  211.    SOURCE = 'DRIVE:HTMLSTUD.HL_',
  212.    VOLUME = 'DISK1',
  213.    PWS = 'htmlstud.hlp',
  214.    DATE = '960822',
  215.    TIME = '2019',
  216.    SIZE = '4128'
  217.  
  218. FILE
  219.    WHEN = 'OUTOFDATE',
  220.    REPLACEINUSE = 'I U D R',
  221.    UNPACK = 'YES',
  222.    SOURCE = 'DRIVE:README.TX_',
  223.    VOLUME = 'DISK1',
  224.    PWS = 'readme.txt',
  225.    DATE = '960822',
  226.    TIME = '2016',
  227.    SIZE = '15082'
  228.  
  229. **********************************************************************
  230.  
  231.  
  232. *---------------------------------------------------------------------
  233. *  This component deletes the product folder; it must be the last
  234. *  COMPONENT entry in the package file.
  235. *
  236. *  No changes are required to any entry in this component.
  237. *---------------------------------------------------------------------
  238. COMPONENT
  239.    NAME = 'DELLAST',
  240.    ID = 'DELLAST',
  241.    DISPLAY = 'NO',
  242.    SIZE = '10000',
  243.    SHARED = 'NO',
  244.    DELETE = 'YES'
  245.  
  246. FILE
  247.    EXITWHEN = 'DELETE',
  248.    EXITIGNOREERR = 'YES',
  249.    EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'
  250.  
  251.