OS2-SoftInstaller
view release on metacpan or search on metacpan
*FILE
* PWS = '%CONFIGFL%',
* DOWNLOAD = 'DELETE',
* WHEN = 'DELETE'
**********************************************************************
*---------------------------------------------------------------------
* This component creates a folder on the desktop. You must create
* the folder in a hidden component to ensure that deleting your
* product does not delete the folder before the objects within the
* folder are deleted.
*---------------------------------------------------------------------
COMPONENT
NAME = 'INSFIRST',
ID = 'INSFIRST',
DISPLAY = 'NO',
SIZE = '1000'
* WHEN = 'OUTOFDATE',
* REPLACEINUSE = 'I U D R',
* UNPACK = 'NO',
* SOURCE = 'DRIVE: Perl.DSC',
* PWS = 'Perl.DSC',
* DATE = '950101',
* TIME = '1200',
* SIZE = '1000'
*---------------------------------------------------------------------
* Create your product''s folder on the desktop.
*
* The following changes are required:
* - Change "<Product Name>" in the EXIT keyword to your product name.
*---------------------------------------------------------------------
FILE
EXITWHEN = 'INSTALL || UPDATE',
EXITIGNOREERR = 'NO',
EXIT = 'CREATEWPSOBJECT WPFolder "Perl^ maintenance"
<WP_DESKTOP> R
"OBJECTID=<%FOLDERID%>;"'
( run in 0.400 second using v1.01-cache-2.11-cpan-299005ec8e3 )