/*-------------------( General information )--------------------*/
/* This Installation control words are optional. If you don't   */ 
/* use them, the installation program will simply copy or unpack*/
/* all files from the Install.exe home directory into this you  */
/* are selected.                                                */
/* Note: Only files packed with PACK.EXE will be unpacked       */
/*--------------------------------------------------------------*/
/*--------------(Set default destination directory)-------------*/
DESTINATION=DEVTOOLS\GREED  /* Pathname without drive character */

/*---------------(Search for previous installation)-------------*/
WPS_ONLY_IF_EXIST=GREED.EXE

/*-----(Your welcome message. Set no comment in those lines)----*/
/* Note: Use '\n' (like C) in the message line for Line Feed    */
/*--------------------------------------------------------------*/
WELCOME_BUTTON=OKCANCEL                /* OKCANCEL, OK or Blank */
WELCOME_TITLE=Hi Gals and Guys!
WELCOME=Welcome to the Installation of "GREED"
WELCOME=Version 2.20.\n\n
WELCOME=Click OK to continue or CANCEL to exit\n\n
WELCOME=Best Regards, Janosch\n\n

/*----------------------(start WPS objects)---------------------*/
/* Note: "dest_path" is a keyword for the destination directory */
/*       - please use it as is.                                 */
/*       For syntax of those lines see REXXUtil SysCreateObject.*/
/*--------------------------------------------------------------*/
("WPFolder","General Rexx Extended Editor"'0d0a'x"Version 2.20","<WP_DESKTOP>", "OBJECTID=<GREED_FOLDER>;BACKGROUND="dest_path"\GREED.BMP;ICONFILE="dest_path"\GREED.ICO", "U")
("WPProgram","Greed", "<GREED_FOLDER>","TEMPLATE=NO;EXENAME="||dest_path"\GREED.EXE;STARTUPDIR="||dest_path,"U")
("WPProgram","Greed Information","<GREED_FOLDER>","EXENAME=VIEW.EXE;PARAMETERS="||dest_path"\GREED.INF;STARTUPDIR="dest_path,"U")
("WPProgram","Templates Controller", "<GREED_FOLDER>","TEMPLATE=NO;EXENAME="||dest_path"\GREEDX.EXE;STARTUPDIR="||dest_path,"U")
("WPProgram","Templates Controller"||'0d0a'x"Information","<GREED_FOLDER>","OBJECTID=<DEL_GREEDX_INF>;EXENAME=VIEW.EXE;PARAMETERS="||dest_path"\GREEDX.INF;STARTUPDIR="dest_path,"U")
("WPProgram","Template Editor","<GREED_FOLDER>","TEMPLATE=NO;EXENAME="dest_path"\TemplEd.EXE;STARTUPDIR="dest_path";ASSOCFILTER=*.FNC,,","U")
("WPProgram","File Browser","<GREED_FOLDER>","TEMPLATE=NO;EXENAME="dest_path"\PMBROWSE.EXE;STARTUPDIR="dest_path,"U")
("WPShadow","REXX Information","<GREED_FOLDER>","SHADOWID=<WP_REXREF>;OBJECTID=<GREED_REXREF>","r")
/*----------------------(end WPS objects)-----------------------*/

/*-------(Rexx procedures. Set no comment in those lines)----------*/
/* Note: Your REXX programs, if used, must exist in the            */
/*       installation(source) directory. You can only use constant */
/*       values as calling parameters or the following keywords:   */
/*       - dest_path (for the destination directory)               */
/*       - homeDir   (for the installation(source) directory)      */
/*       It is not necessary  to enter the File Extention (.CMD).  */
/*       Please do not use the output to / input from the Stdio.   */
/*       i.e.: Call for MYREXX.CMD with the parameter 'A:'         */
/*             after successfully installation:                    */
/*             START_REXX_BY_SUCCESSFUL=MYREXX 'A:'                */
/*-----------------------------------------------------------------*/
START_REXX_BY_OPEN_WINDOW  = 
START_REXX_BY_START_INSTALL= savepre dest_path
START_REXX_BY_SUCCESSFUL   = rstrfnc dest_path
/* delsaves dest_path */
START_REXX_IF_FAILURE      = restorep dest_path
START_REXX_BY_CLOSE_WINDOW = ApplSet dest_path
/*---------------------(End Rexx procedures)--------------------*/

/*--------------------(Update informations)----------------------*/
/* Note: Here you can enter  the names of files to delete if you */
/*       use this procedure for update a previous installation.  */
/*       It is useful for delete files you do not need  any more */
/*       for the new release.  (PS : See Diectory Info below )   */
/*       This files are deleted before you start the installation*/
/*       (after you are pressed the push Button Install)         */ 
/*       You can use this keyword as frequently as you need.     */
/*       i.e.: DELETE_FILE=MYAPPL16.EXE                          */
/*---------------------------------------------------------------*/
DELETE_FILE=FunWrite.EXE
DELETE_FILE=FunWrite.ICO
DELETE_FILE=FtpDef.HLP
DELETE_FILE=FtpDef.INF
DELETE_FILE=FtpDef.EXE
DELETE_FILE=GreedX.INF
DELETE_FILE=TemplEd.INF
DELETE_FILE=PMBrowse.INF
DELETE_FILE=Greed.MSG
DELETE_FILE=CpyGreed.CMD
DELETE_FILE=CopyAll.CMD
DELETE_FILE=
/* ... more deletes ... */
/*----------------------( Directory Information )----------------*/
/* Note: Here are entries for the Directories to be deleted      */
/* before installing the new instance of of the installtion.     */
/* These are directories that you no longer require ( or want )  */
/* to appear in the new installation into the existing Directory.*/
/*---------------------------------------------------------------*/
REMOVE_DIR=
REMOVE_DIR=
REMOVE_DIR=
/* ... more removes ... */
/*-------------------(End update informations)-------------------*/

/*----------------(Post-installation processing)-----------------*/
/* After successfully installation you can delete files and      */
/* directories which you not need after the installation such as */
/* Log files, Rexx-exits or backup directory                     */
/* You can use this keywords as frequently as you need.          */
/* Note: only empty directories will be deleted                  */
/*---------------------------------------------------------------*/
DELETE_FILE_AFTER_INSTALLATION=
DELETE_FILE_AFTER_INSTALLATION=
DELETE_FILE_AFTER_INSTALLATION=
/* ... more ... */

REMOVE_DIR_AFTER_INSTALLATION=SAVEPRE
REMOVE_DIR_AFTER_INSTALLATION=
/* ... more ... */
/*--------------(End post-installation processing)---------------*/
