home *** CD-ROM | disk | FTP | other *** search
/ PC-Online 1998 February / PCOnline_02_1998.iso / filesbbs / os2 / embo202.arj / EMBO202.ZIP / embelsh.pkg < prev    next >
Encoding:
OS/2 install Package  |  1997-11-10  |  15.8 KB  |  563 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 = '000002'
  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.  
  26. * when making CDROM version, comment out below.  Otherwise, leave in.
  27. * If making floppies, you will need to set the volume label on the disks
  28. * appropriately.  Also comment out all the VOLUME statements in this files
  29. *DISK
  30. *   NAME   = 'Embellish - Diskette 1',
  31. *   VOLUME = 'Emb001'
  32.  
  33. *DISK
  34. *   NAME   = 'Embellish - Diskette 2',
  35. *   VOLUME = 'Emb002'
  36.  
  37.  
  38. **********************************************************************
  39.  
  40.  
  41. *---------------------------------------------------------------------
  42. *  Default directories
  43. *---------------------------------------------------------------------
  44. PATH
  45.    FILE = 'C:/EMBLSH',
  46.    FILELABEL = 'Embellish install directory'
  47.  
  48.  
  49. **********************************************************************
  50.  
  51.  
  52. *---------------------------------------------------------------------
  53. *  Exit to define your product folder's object ID.
  54. *
  55. *  The following changes are required:
  56. *  - Set variable FOLDERID to your folder's object ID; be sure to make
  57. *    the value sufficiently unique; do not use "PRODFLDR".
  58. *---------------------------------------------------------------------
  59. FILE
  60.    EXITWHEN = 'ALWAYS',
  61.    EXITIGNOREERR = 'NO',
  62.    EXIT = 'SETVAR FOLDERID=EMBELLISH_FOLDER'
  63.  
  64.  
  65. **********************************************************************
  66.  
  67.  
  68. *---------------------------------------------------------------------
  69. *  This component creates a folder on the desktop.  You must create
  70. *  the folder in a hidden component to ensure that deleting your
  71. *  product does not delete the folder before the objects within the
  72. *  folder are deleted.
  73. *---------------------------------------------------------------------
  74. COMPONENT
  75.    NAME = 'INSFIRST',
  76.    ID = 'INSFIRST',
  77.    DISPLAY = 'NO',
  78.    SIZE = '10000',
  79.    SHARED = 'NO',
  80.    DELETE = 'YES'
  81.  
  82. *---------------------------------------------------------------------
  83. *  Include a FILE entry to install the catalog file.
  84. *
  85. *  The following changes are required:
  86. *  - Change the SOURCE and PWS keywords to the name of your catalog
  87. *    file.
  88. *---------------------------------------------------------------------
  89. *FILE
  90. *   VOLUME        = 'PROD001',
  91. *   WHEN          = 'OUTOFDATE',
  92. *   REPLACEINUSE  = 'I U D R',
  93. *   UNPACK        = 'NO',
  94. *   SOURCE        = 'DRIVE: EMBELSH.ICF',
  95. *   PWS           = 'EMBELSH.ICF',
  96. *   DATE          = '970501',
  97. *   TIME          = '1200',
  98. *   SIZE          = '3000'
  99.  
  100. *---------------------------------------------------------------------
  101. *  Set variable CATALOG to be the name of the catalog file;
  102. *  the variable is used in EPFISINC.PKG.
  103. *
  104. *  The following changes are required:
  105. *  - Change "CATALOG.ICF" in the EXIT keyword to the name of your
  106. *    catalog file.
  107. *---------------------------------------------------------------------
  108. FILE
  109.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  110.    EXITIGNOREERR = 'NO',
  111.    EXIT = 'SETVAR CATALOG=EMBELSH.ICF'
  112.  
  113.  
  114. *---------------------------------------------------------------------
  115. *  Include a FILE entry to install the description file.
  116. *
  117. *  The following changes are required:
  118. *  - Change the SOURCE and PWS keywords to the name of your
  119. *    description file.
  120. *---------------------------------------------------------------------
  121. *FILE
  122. *   VOLUME        = 'PROD001',
  123. *   WHEN          = 'OUTOFDATE',
  124. *   REPLACEINUSE  = 'I U D R',
  125. *   UNPACK        = 'NO',
  126. *   SOURCE        = 'DRIVE: EMBELSH.DSC',
  127. *   PWS           = 'EMBELSH.DSC',
  128. *   DATE          = '970501',
  129. *   TIME          = '1200',
  130. *   SIZE          = '500'
  131.  
  132. *---------------------------------------------------------------------
  133. *  Create your product's folder on the desktop.
  134. *
  135. *  The following changes are required:
  136. *  - Change "<Product Name>" in the EXIT keyword to your product name.
  137. *---------------------------------------------------------------------
  138. FILE
  139.    EXITWHEN = 'INSTALL || UPDATE',
  140.    EXITIGNOREERR = 'NO',
  141.    EXIT = 'CREATEWPSOBJECT WPFolder "Embellish"                   <WP_DESKTOP> U                   "OBJECTID=<%FOLDERID%>;"'
  142.  
  143. *---------------------------------------------------------------------
  144. *  The included package file will install and register the
  145. *  Installation Utility.  You do not need to make any changes to
  146. *  EPFISINC.PKG.
  147. *---------------------------------------------------------------------
  148. *INCLUDE
  149. *   NAME = 'DRIVE: EPFISINC.PKG'
  150.  
  151.  
  152. **********************************************************************
  153.  
  154.  
  155. *---------------------------------------------------------------------
  156. *  Include 1 COMPONENT entry for each component.
  157. *
  158. *  The following changes are required:
  159. *  - Change "Component 1" in the NAME keyword to the name of the
  160. *    component.
  161. *  - Describe the component in the DESCRIPTION keyword.
  162. *
  163. *  The component must require at least the INSFIRST and DELLAST
  164. *  components.
  165. *---------------------------------------------------------------------
  166. COMPONENT
  167.    NAME = 'Embellish for OS/2',
  168.    ID = 'COMP1',
  169.    REQUIRES = 'INSFIRST DELLAST',
  170.    DISPLAY = 'YES',
  171.    DESCRIPTION = 'Embellish image editor files',
  172.    SIZE = '3960000',
  173.    SHARED = 'NO',
  174.    DELETE = 'YES'
  175.  
  176. *---------------------------------------------------------------------
  177. *  Include 1 FILE entry for each file in the component.
  178. *
  179. *  The following changes are required:
  180. *  - Change the SOURCE and PWS keywords to the name of the file to
  181. *    install.
  182. *---------------------------------------------------------------------
  183. FILE
  184.    WHEN = 'OUTOFDATE',
  185.    REPLACEINUSE = 'I U D R',
  186.    SOURCE = 'DRIVE:license.txt',
  187.    PWS = 'license.txt',
  188.    DATE = '971106',
  189.    TIME = '2218',
  190.    SIZE = '3298'
  191. *   VOLUME        = 'Emb001',
  192.  
  193. FILE
  194.    WHEN = 'OUTOFDATE',
  195.    REPLACEINUSE = 'I U D R',
  196.    SOURCE = 'DRIVE:read.me',
  197.    PWS = 'read.me',
  198.    DATE = '971027',
  199.    TIME = '1129',
  200.    SIZE = '7314'
  201. *   VOLUME        = 'Emb001',
  202.  
  203. FILE
  204.    WHEN = 'OUTOFDATE',
  205.    REPLACEINUSE = 'I U D R',
  206.    UNPACK = 'YES',
  207.    SOURCE = 'DRIVE:emb.ex_',
  208.    PWS = 'EMB.EXE',
  209.    DATE = '971110',
  210.    TIME = '1013',
  211.    SIZE = '28217'
  212. *   VOLUME        = 'Emb002',
  213.  
  214. FILE
  215.    WHEN = 'OUTOFDATE',
  216.    REPLACEINUSE = 'I U D R',
  217.    UNPACK = 'YES',
  218.    SOURCE = 'DRIVE:embapi.dl_',
  219.    PWS = 'EMBAPI.DLL',
  220.    DATE = '971110',
  221.    TIME = '1017',
  222.    SIZE = '129049'
  223. *   VOLUME        = 'Emb002',
  224.  
  225. FILE
  226.    WHEN = 'OUTOFDATE',
  227.    REPLACEINUSE = 'I U D R',
  228.    UNPACK = 'YES',
  229.    SOURCE = 'DRIVE:embclrs.dl_',
  230.    PWS = 'EMBCLRS.DLL',
  231.    DATE = '971110',
  232.    TIME = '1026',
  233.    SIZE = '165915'
  234. *   VOLUME        = 'Emb002',
  235.  
  236. FILE
  237.    WHEN = 'OUTOFDATE',
  238.    REPLACEINUSE = 'I U D R',
  239.    UNPACK = 'YES',
  240.    SOURCE = 'DRIVE:embdlgs.dl_',
  241.    PWS = 'EMBDLGS.DLL',
  242.    DATE = '971110',
  243.    TIME = '1023',
  244.    SIZE = '905216'
  245. *   VOLUME        = 'Emb002',
  246.  
  247. FILE
  248.    WHEN = 'OUTOFDATE',
  249.    REPLACEINUSE = 'I U D R',
  250.    UNPACK = 'YES',
  251.    SOURCE = 'DRIVE:embeff.dl_',
  252.    PWS = 'EMBEFF.DLL',
  253.    DATE = '971110',
  254.    TIME = '1025',
  255.    SIZE = '192021'
  256. *   VOLUME        = 'Emb002',
  257.  
  258. FILE
  259.    WHEN = 'OUTOFDATE',
  260.    REPLACEINUSE = 'I U D R',
  261.    UNPACK = 'YES',
  262.    SOURCE = 'DRIVE:embfiles.dl_',
  263.    PWS = 'EMBFILES.DLL',
  264.    DATE = '971110',
  265.    TIME = '1020',
  266.    SIZE = '585243'
  267. *   VOLUME        = 'Emb002',
  268.  
  269. FILE
  270.    WHEN = 'OUTOFDATE',
  271.    REPLACEINUSE = 'I U D R',
  272.    UNPACK = 'YES',
  273.    SOURCE = 'DRIVE:embhook.dl_',
  274.    PWS = 'EMBHOOK.DLL',
  275.    DATE = '971110',
  276.    TIME = '1026',
  277.    SIZE = '23584'
  278. *   VOLUME        = 'Emb002',
  279.  
  280. FILE
  281.    WHEN = 'OUTOFDATE',
  282.    REPLACEINUSE = 'I U D R',
  283.    UNPACK = 'YES',
  284.    SOURCE = 'DRIVE:embmisc.dl_',
  285.    PWS = 'EMBMISC.DLL',
  286.    DATE = '971110',
  287.    TIME = '1017',
  288.    SIZE = '573973'
  289. *   VOLUME        = 'Emb002',
  290.  
  291. FILE
  292.    WHEN = 'OUTOFDATE',
  293.    REPLACEINUSE = 'I U D R',
  294.    UNPACK = 'YES',
  295.    SOURCE = 'DRIVE:embpnt.dl_',
  296.    PWS = 'EMBPNT.DLL',
  297.    DATE = '971110',
  298.    TIME = '1022',
  299.    SIZE = '301595'
  300. *   VOLUME        = 'Emb002',
  301.  
  302. FILE
  303.    WHEN = 'OUTOFDATE',
  304.    REPLACEINUSE = 'I U D R',
  305.    UNPACK = 'YES',
  306.    SOURCE = 'DRIVE:embweb.dl_',
  307.    PWS = 'EMBWEB.DLL',
  308.    DATE = '971110',
  309.    TIME = '1027',
  310.    SIZE = '285205'
  311. *   VOLUME        = 'Emb002',
  312.  
  313. FILE
  314.    WHEN = 'OUTOFDATE',
  315.    REPLACEINUSE = 'I U D R',
  316.    UNPACK = 'YES',
  317.    SOURCE = 'DRIVE:emb.hl_',
  318.    PWS = 'EMB.HLP',
  319.    DATE = '971104',
  320.    TIME = '1056',
  321.    SIZE = '190222'
  322. *   VOLUME        = 'Emb002',
  323.  
  324. FILE
  325.    WHEN = 'OUTOFDATE',
  326.    REPLACEINUSE = 'I U D R',
  327.    UNPACK = 'YES',
  328.    SOURCE = 'DRIVE:emb.in_',
  329.    PWS = 'EMB.INF',
  330.    DATE = '971104',
  331.    TIME = '1053',
  332.    SIZE = '190222'
  333. *   VOLUME        = 'Emb002',
  334.  
  335.  
  336. FILE
  337.    WHEN = 'OUTOFDATE',
  338.    REPLACEINUSE = 'I U D R',
  339.    UNPACK = 'YES',
  340.    SOURCE = 'DRIVE:inifile.cm_',
  341.    PWS = 'inifile.cmd',
  342.    DATE = '971029',
  343.    TIME = '0936',
  344.    SIZE = '268'
  345. *   VOLUME        = 'Emb002',
  346.  
  347. FILE
  348.    WHEN = 'OUTOFDATE',
  349.    REPLACEINUSE = 'I U D R',
  350.    UNPACK = 'YES',
  351.    SOURCE = 'DRIVE:emb.do_',
  352.    PWS = 'emb.doc',
  353.    DATE = '971104',
  354.    TIME = '1031',
  355.    SIZE = '370176'
  356. *   VOLUME        = 'Emb002',
  357.  
  358.  
  359. *---------------------------------------------------------------------
  360. *  Create a program object in the product folder.
  361. *
  362. *  The following changes are required:
  363. *  - Change "COMP1A" in the EXIT keyword to the name of the object.
  364. *  - Change "COMP1A.EXE" in the EXIT keyword after EXENAME to the
  365. *    name of the program to run.
  366. *  - Change "[]" in the EXIT keyword after PARAMETERS to any
  367. *    parameters required to run the object; if no parameters are
  368. *    required, delete "PARAMETERS=[];" from the EXIT keyword.
  369. *  - Change "COMP1A" in the EXIT keyword after OBJECTID to the
  370. *    program's object ID; be sure to make the value sufficiently
  371. *    unique; the value must be enclosed in "<>" characters; do not use
  372. *    "COMP1A" or the value of the FOLDERID variable.
  373. *---------------------------------------------------------------------
  374. FILE
  375.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  376.    EXITIGNOREERR = 'NO',
  377.    EXIT = 'CREATEWPSOBJECT WPProgram "Embellish"                   <%FOLDERID%> U                  "EXENAME=%EPFIFILEDIR%//emb.exe;STARTUPDIR=%EPFIFILEDIR%;ASSOCFILTER=*.jpg,*.jpeg,*.gif,*.bmp,*.tga,*.tif,*.tiff,*.x11,*.pcx,*.png,*.ping,*.ras,*.eff,*.emm,*.pbm,*.met,*.pcd;OBJECTID=<EMBELLISH_EXE_ID>;"'
  378.  
  379.  
  380. FILE
  381.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  382.    EXITIGNOREERR = 'NO',
  383.    EXIT = 'CREATEWPSOBJECT WPProgram "Embellish README"                   <%FOLDERID%> U                   "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%//read.me;OBJECTID=<EMBELLISH_README>;"'
  384.  
  385. FILE
  386.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  387.    EXITIGNOREERR = 'NO',
  388.    EXIT = 'CREATEWPSOBJECT WPProgram "Embellish LICENSE"                   <%FOLDERID%> U                   "EXENAME=e.exe;PARAMETERS=%EPFIFILEDIR%//license.txt;OBJECTID=<EMBELLISH_LICENSE>;"'
  389.  
  390. FILE
  391.    EXITWHEN = 'INSTALL || UPDATE || RESTORE',
  392.    EXITIGNOREERR = 'NO',
  393.    EXIT = 'CREATEWPSOBJECT WPProgram "Embellish Help"                   <%FOLDERID%> U                   "EXENAME=view.exe;PARAMETERS=%EPFIFILEDIR%//emb.inf;OBJECTID=<EMBELLISH_INF>;"'
  394.  
  395. FILE
  396.    EXITWHEN = 'DELETE',
  397.    EXITIGNOREERR = 'YES',
  398.    EXIT = 'DELETEFILES emb.exe'
  399.  
  400. FILE
  401.    EXITWHEN = 'DELETE',
  402.    EXITIGNOREERR = 'YES',
  403.    EXIT = 'DELETEFILES embapi.dll'
  404.  
  405. FILE
  406.    EXITWHEN = 'DELETE',
  407.    EXITIGNOREERR = 'YES',
  408.    EXIT = 'DELETEFILES embclrs.dll'
  409.  
  410. FILE
  411.    EXITWHEN = 'DELETE',
  412.    EXITIGNOREERR = 'YES',
  413.    EXIT = 'DELETEFILES embdlgs.dll'
  414.  
  415. FILE
  416.    EXITWHEN = 'DELETE',
  417.    EXITIGNOREERR = 'YES',
  418.    EXIT = 'DELETEFILES embeff.dll'
  419.  
  420. FILE
  421.    EXITWHEN = 'DELETE',
  422.    EXITIGNOREERR = 'YES',
  423.    EXIT = 'DELETEFILES embfiles.dll'
  424.  
  425. FILE
  426.    EXITWHEN = 'DELETE',
  427.    EXITIGNOREERR = 'YES',
  428.    EXIT = 'DELETEFILES embhook.dll'
  429.  
  430. FILE
  431.    EXITWHEN = 'DELETE',
  432.    EXITIGNOREERR = 'YES',
  433.    EXIT = 'DELETEFILES embmisc.dll'
  434.  
  435. FILE
  436.    EXITWHEN = 'DELETE',
  437.    EXITIGNOREERR = 'YES',
  438.    EXIT = 'DELETEFILES embpnt.dll'
  439.  
  440. FILE
  441.    EXITWHEN = 'DELETE',
  442.    EXITIGNOREERR = 'YES',
  443.    EXIT = 'DELETEFILES embweb.dll'
  444.  
  445. FILE
  446.    EXITWHEN = 'DELETE',
  447.    EXITIGNOREERR = 'YES',
  448.    EXIT = 'DELETEFILES license.txt'
  449.  
  450. FILE
  451.    EXITWHEN = 'DELETE',
  452.    EXITIGNOREERR = 'YES',
  453.    EXIT = 'DELETEFILES read.me'
  454.  
  455. FILE
  456.    EXITWHEN = 'DELETE',
  457.    EXITIGNOREERR = 'YES',
  458.    EXIT = 'DELETEFILES emb.hlp'
  459.  
  460. FILE
  461.    EXITWHEN = 'DELETE',
  462.    EXITIGNOREERR = 'YES',
  463.    EXIT = 'DELETEFILES emb.inf'
  464.  
  465. *---------------------------------------------------------------------
  466. *  Delete the program object.
  467. *
  468. *  The following changes are required:
  469. *  - Change "COMP1A" in the EXIT keyword to the program's object ID;
  470. *    be sure to use the object ID that you gave the object when it was
  471. *    created in the previous FILE entry; the value must be enclosed in
  472. *    "<>" characters.
  473. *---------------------------------------------------------------------
  474. FILE
  475.    EXITWHEN = 'DELETE',
  476.    EXITIGNOREERR = 'YES',
  477.    EXIT = 'DELETEWPSOBJECT <EMBELLISH_EXE_ID>'
  478.  
  479.  
  480. FILE
  481.    EXITWHEN = 'DELETE',
  482.    EXITIGNOREERR = 'YES',
  483.    EXIT = 'DELETEWPSOBJECT <EMBELLISH_README>'
  484.  
  485. FILE
  486.    EXITWHEN = 'DELETE',
  487.    EXITIGNOREERR = 'YES',
  488.    EXIT = 'DELETEWPSOBJECT <EMBELLISH_LICENSE>'
  489.  
  490. FILE
  491.    EXITWHEN = 'DELETE',
  492.    EXITIGNOREERR = 'YES',
  493.    EXIT = 'DELETEWPSOBJECT <EMBELLISH_INF>'
  494.  
  495. **********************************************************************
  496.  
  497. *---------------------------------------------------------------------
  498. * update config.sys
  499. *---------------------------------------------------------------------
  500.  
  501.  
  502. * For some reason couldn't get the entry in the config.sys to delete if there was a semi-colon
  503. * at the end and we did it all in one updateconfig statement.  So, we break it into two and things
  504. * seem to work.  Would like to have it delete on empty directory but it also didn't work so
  505. * just having it delete when DELETEWHEN = 'DELETE'
  506. *
  507.  
  508. UPDATECONFIG
  509.    VAR = 'SET PATH',
  510.    ADDSTR = '%EPFIFILEDIR%;',
  511.    ADDWHEN = 'INSTALL',
  512.    DELETEWHEN = ' NEVER '
  513.  
  514. UPDATECONFIG
  515.    VAR = 'LIBPATH',
  516.    ADDSTR = '%EPFIFILEDIR%;',
  517.    ADDWHEN = 'INSTALL',
  518.    DELETEWHEN = ' NEVER '
  519.  
  520. UPDATECONFIG
  521.    VAR = 'SET HELP',
  522.    ADDSTR = '%EPFIFILEDIR%;',
  523.    ADDWHEN = 'INSTALL',
  524.    DELETEWHEN = ' NEVER '
  525.  
  526. UPDATECONFIG
  527.    VAR = 'SET PATH',
  528.    ADDSTR = '%EPFIFILEDIR%',
  529.    ADDWHEN = 'NEVER',
  530.    DELETEWHEN = 'DELETE'
  531.  
  532. UPDATECONFIG
  533.    VAR = 'LIBPATH',
  534.    ADDSTR = '%EPFIFILEDIR%',
  535.    ADDWHEN = 'NEVER',
  536.    DELETEWHEN = 'DELETE'
  537.  
  538. UPDATECONFIG
  539.    VAR = 'SET HELP',
  540.    ADDSTR = '%EPFIFILEDIR%',
  541.    ADDWHEN = 'NEVER',
  542.    DELETEWHEN = 'DELETE'
  543.  
  544. *---------------------------------------------------------------------
  545. *  This component deletes the product folder; it must be the last
  546. *  COMPONENT entry in the package file.
  547. *
  548. *  No changes are required to any entry in this component.
  549. *---------------------------------------------------------------------
  550. COMPONENT
  551.    NAME = 'DELLAST',
  552.    ID = 'DELLAST',
  553.    DISPLAY = 'NO',
  554.    SIZE = '10000',
  555.    SHARED = 'NO',
  556.    DELETE = 'YES'
  557.  
  558. FILE
  559.    EXITWHEN = 'DELETE',
  560.    EXITIGNOREERR = 'YES',
  561.    EXIT = 'DELETEWPSOBJECT <%FOLDERID%>'
  562.  
  563.