;				INSTALL.TXT
;
;  SAMPLE INSTALLATION FILE WITH FORMAT NOTES
;
;  General Rules:
;       1) Items in brackets '[' or ']' denote keywords used to define
;	   sections of the install script or used to set internal flags.
;       2) Comment lines begin with ';'
;	3) Several pre-defined variables exist:
;	    %0% : Target directory for the installed product.
;	    %1% : In WINDOWS, the Windows directory; in OS2, the
;		  current directory on the active hard disk.
;	    %2% : In WINDOWS, the Windows System directory; in OS2, the
;		  OS2 DLL directory
;	    %3% : This is a bit flag representation of up to 32
;		  components (groups) that show up on the selection
;		  dialog.  Each bit, when 1 (starting from the lowest
;		  bit) represents the respective option selected.
;		  This can be used to pass the selection information
;                 to another program when EXEC'd by the installer.
;	    %4% : This is the drive of the target directory, to pass
;                 to exec's or calls primarily.
;	    %5% : The directory of the CA-APPS common tools.  Use this
;		  as the target drive when installing common tools such
;		  as CABL.DLL, etc.
;	    %6% : The source subdirectory.
;	    %7% : The boot drive.
;	    %8% : The response file name.
;	    %{any letter}% : The directory specified in the [directory]
;		  section that matches that letter.
;	4) MAX Disks	   = 100
;	5) MAX Files	   = 10000
;	6) MAX Directories = 625
;


[setup]
; Sample Installation 
;
; CA-REALIZER 5.25" & 3.5" Diskette Installation
  "PACKAGENAME","CA-REALIZER Version 3.0"
  "CAPTIONNAME","CA-REALIZER Installation"
  "APPNAME", "CA-REALIZER"
  "RELEASESTRING", "Version 3.0"

  "BASEAPP", "usrapp"
  "COPYRIGHTSTR", "Copyright 1995, Computer Associates International"
  "PRODIDMATCH", "1"
  "MAJORVERSION",  "3"
  "MINORVERSION",  "0"
  "REVLETTER",     "B"


;
; Don't display the splash screen when bringing up the product.
;
[nosplash]


; The NOTCOMPLETE keyword specifies that after the install product is
; finished we don't want to display an "Install Complete" message, since
; the user will be doing more installation work via execs.
;
[not_complete]


; The SKIPWRITEKEY  keyword skips writing the keyfile information back
; to the ORIGINAL keyfile on the source disks.	This is important for
; products that will be installed from CD-ROM or other non-writable media.
;
[skipwritekey]

; Use the BASIC_DLG key to bring up a dialog with the basic/advanced
; selection.
;
[basic_dlg]

; The LOGFILE specifies a filename to use in the SOURCE directory to log
; various installation information, such as the date and time, which
; files were copied and/or compressed, errors, etc.
;

[logfile]
"RLZINST.LOG"

; The PRODUCT_LOG specifies a filename to use in the SOURCE directory to
; log which products were installed, where, and when.
;

[product_log]
"RLZPROD.LOG"

; The RESPONSE command specifies a filename which contains canned responses
; for the installer.  Look in the file RESPONSE.RSP for the syntax of
; response files.
;
[response]
"RLZ.RSP"

; The SKIPCAPPS command bypasses the prompt for CA-APPS common directory.
; This should only be used if there are no common CA tools in your product,
; and you do not wish the product to be "registered" in CAI.INI.
;
[skipcaapps]



; Specifies what disks are part of the installation.
[disks]
;
;
; Format:
;
; "n","path","name"
;
; n	: The disk number, 0-100
; path  : The path of the disk, i.e. "A:\".  This will generally be
;	  ignored since the path will be replaced if the user executes
;	  the install from another drive.
; name  : The name on the printed disk label you stick on,
;         i.e. "KillerApp Disk #1"
;
  "0","A:\","CA-REALIZER Product #1 (1 of 3)"
  "1","A:\","CA-REALIZER Product #2 (2 of 3)"
  "2","A:\","CA-REALIZER Product #3 (3 of 3)"


[directories]
;
; This is where you indicate where to place the files.
; There are two types of directories: The parent, and children.
; Children must be from the parent, or from other children.
; There can only be one parent, as many children as you like.
;
;
; Note: MAX number of dirs = 625 !!
;
;
; Format:
;
; "product","n","path","description"
;

; product     : This value should be "A".

; n	      : The directory Number. PARENT must be 0, and must exist.
;               Children can have names A-ZZ.  Children start with backslash.

; path        : The name of the subdirectory

; description : The description of the purpose of this directory
;
; Note: "0", the parent, may be modified by the user.
; This is reflected in "0"'s value.
;

"A","0","C:\RLZWIN3","CA-REALIZER Program Directory"
"A","A","\TUTORIAL","REALIZER Tutorial Directory"
"A","B","\REALIZER",                      "CA-Realizer Directory"
"A","C","\REALIZER\LIB",                     "l Directory"
"A","D","\REALIZER\LIB\DB",                  "ld Directory"
"A","E","\REALIZER\UTILITY",                 "u Directory"
"A","F","\REALIZER\DEMOS\APPS\DATAVIEW",     "dad Directory"
"A","G","\REALIZER\DEMOS\APPS\DEALER",       "dal Directory"
"A","H","\REALIZER\DEMOS\APPS\FINANCE",      "daf Directory"
"A","I","\REALIZER\SAMPLES\CUSTCTRL",        "sc Directory"
"A","J","\REALIZER\DEMOS\APPS\EXPENSE",      "dae Directory"
"A","K","\REALIZER\SAMPLES\REFCH13",         "s13 Directory"
"A","L","\REALIZER\SAMPLES\REFCH14",         "s14 Directory"
"A","M","\REALIZER\SAMPLES\REFCH15",         "s15 Directory"
"A","N","\REALIZER\SAMPLES\REFCH18",         "s18 Directory"
"A","O","\REALIZER\SAMPLES\REFCH19",         "s19 Directory"
"A","P","\REALIZER\SAMPLES\REFCH20",         "s20 Directory"
"A","Q","\REALIZER\SAMPLES\REFCH25",         "s25 Directory"
"A","R","\REALIZER\SAMPLES\REFCH26",         "s26 Directory"
"A","S","\REALIZER\SAMPLES\REFCH27",         "s27 Directory"
"A","T","\REALIZER\MANUAL",                  "m Directory"
"A","U","\REALIZER\MANUAL\SAMPLER",          "ms Directory"
"A","V","\REALIZER\CUSTCTRL",                "cc Directory"
"A","W","\REALIZER\DEMOS",                   "d Directory"
"A","X","\REALIZER\DEMOS\APPS\PDOXDEMO",     "dap Directory"
"A","Y","\ASSIST",                           "ast Directory"
"A","Z","\REALIZER\DEMOS\APPS",              "da Directory"
"A","AA","\REALIZER\DEMOS\APPS\COOLDEMO",    "Cooldemo Directory"

[files]
;
; This is where you place the information about
; each file to be copied.
;
;
; ----------------------------------------------------------------------------
;
; NOTE:  There are two types of setup: Simple and Complex.
;
;        Simple:  Installs ALL files, like a batch file.  For this       
;                 setup, do not worry about "D" flags, "R" flags,
;                 or the <nn> flag.
;
;        Complex: Presents the user with a dialog box allowing
;                 them to install certain files.  All flags apply
;                 in this case.                
;
;        For Group (or Component) definitions, ALL fields are required.
;           For files following each group definition, only the first 6
;           fields are required.  There should always be at least one
;           group defined, using either the D, T, or R flag (these are
;           mutually exclusive).
; ----------------------------------------------------------------------------
;
; Format:
;
; "n","prod","flags","d","idir","filename","PName","Description","Comment","size","finalsize"
;
; n          : The disk number this file resides on
;
; prod	     : This value should be "A".
;
; flags      : Can be none, one, or many of the following:
;
;              C     : Compressed file. Use the "real" filename in this .ISC
;		       file, setup will look for a filename with the last
;                      character of the extension == '$'.
;              R     : Required GROUP - Setup **will** copy all files
;                      in this group.
;              D     : Display this GROUP in the User Selection Listbox.
;              T     : Turn off selection of this item as a default, but
;                      show this in the list box as a group.
;              Ic[t] : Add this program to ProgMan, group c. Group is A-Z
;		       t is an optional parameter that can be either W, P,
;		       or M (Windows, PM, or MS-DOS).
;	       nn    : The next nn entries are part of the group to copy,
;		       for example, if there are four files for KillerApp,
;		       all of which you copy or you dont, then you
;		       would place 03 in this spot, and make the next
;		       three entries be the other three files. The user
;		       will see this entry as only one Object though.
;	       On    : (Optional) If the product already exists on the
;		       users computer this flag can be used to determine
;		       CA-Install actions:
;				    n = 0   Check time and dates of the
;					    source and destination files
;					    and then ask display a dialog
;					    box for overwrite instructions if
;					    the source file is older otherwise
;					    copy file. (default).
;				    n = 1   Always display a dialog box for
;					    instructions.
;				    n = 2   Replace destination file
;					    with source file.
;				    n = 3   Do not replace destination file
;					    with source file.
;	       V=n.nn: Install only if the operating system (i.e. Windows)
;                      is this version or later. If n='s', then this will
;		       check for the existence of Win32s.
;
;		       Examples:
;
;                      This example says "if running under Windows 3.0 then copy RLZWIN.EXE".
;                      "0","A","C07DIAV=3.0","0","","RLZWIN.EXE","CA-REALIZER","Program Files","CA-REALIZER program, help and report files","2550", "2550"
;
;		       Copy this file if the version number greater than 2.0
;                      "0","A","CV>2.0","0","","RLZLOGO.DLL",""
;
;		       The following is WRONG beacuse the version number and
;                      file count can't go together.
;                      "0","A","CV=3.007DIA","0","","RLZWIN.EXE","CA-REALIZER","Program Files","CA-REALIZER program, help and report files","2550", "2550"
;
; d          : The destination directory. 0 = Parent, A-ZZ = Children, %5%
;              for common tools
;
; idir       : The directory on the install disk
;
; filename   : The actual name of the file
;              12 chars MAX.
;
; PName      : The name of the Icon in Progman (required if D flag)
;              32 chars MAX.
;
; Description: (Group Definitions Only)
;              A short description, for the listbox entry (only if D flag)
;              20 chars MAX.
;
; Comment    : (Group Definitions Only)
;              The lengthy text displayed in the Comment box (only if D flag)
;	       80 chars MAX.
;
; size       : (Group Definitions Only)
;              Size of file/group actually copied in K
;
; finalsize  : (Group Definitions Only)
;              The ulitmate file size of file/group in K. Usually different if
;	       there are other processes which will expand or implode files
;	       after the install program is finished.  Another use is to
;	       account for the sector size of hard disks; for instance,
;	       20 files with a length of 10 bytes would show up in the
;              "size" parameter as 200 bytes (1K), but if installed on a hard
;	       disk with an 8K sector size the actual used space would be
;	       20 * 8K = 160K.
;

"0","A","C07DIA","0","","RLZWIN.EXE","CA-REALIZER","Program Files","CA-REALIZER program, help and report files","2450","2450"
"0","A","C","0","","RLZWIN.DAT",""
"1","A","","0","","RLZLOGO.DLL",""
"1","A","C","0","","README.PRN",""
"1","A","","0","","RLZWIN.NET",""
"2","A","C","0","","RLZ.HLP",""
"2","A","C","0","","REPORTS.RLZ",""
"2","A","C","0","","RLZWIN.HLP",""


;
; This defines the progman groups that the apps above will be added to
;
; Format:
;
; "n", "Parameter String", "icon caption", "Class", "Title","filename"
;
; n		  : The number of the group, A-Z, or the name of the .exe
;		    file with path.
; parameter string: The default parameters (in a string)
; icon caption    : The string displayed below the icon.  Only needed if
;		    an external program is set up (such as winhelp).
;                   Should be empty if not an external program.
; class (OS2 ONLY): A user specified object class for objects owned by this
;                   group.  The default should be "WPProgram".
; title           : The caption on the group window
; filename	  : The name of the .GRP file.

[progman]
  "A","","","WPProgram","CA-REALIZER 3.0","RLZWIN3.GRP"
  "%1%\WINHELP.EXE","RLZ.HLP","REALIZER Help","","","RLZWIN3.GRP"


;
; The [precall] section specifies a program to be run before copying any files.
; It must appear on the line following the [precall] header.
; The entire line is passed to the system.  Args can be included, as well as
; any level of path spec desired.
;
; Format:
;
;   "prog", "call", "prompt", "state"
;
;   prog    : The program identifier - OS/2 only (from environment )
;   call    : The call string, including all command line parameters
;   prompt  : A yes/no prompt - if no, the exec will not be issued, otherwise
;	      it will be executed.
;   state   : 0 = Visible; 1 = Invisible;
;	      Note: In Windows all dos programs are controlled by PIF files.
;	      Note: Once the program has been started it can activate itself
;		    and become visible.
;
[precall]
"A", "notepad.exe %0%\readme.prn","Do you want to view the readme file now?",0


;
; The [call] section specifies a program to be run before the end of the
; successful install.  It must appear on the line following the [call] header.
; The entire line is passed to the system.  Args can be included, as well as
; any level of path spec desired.
;
; Format:
;
;   "prog", "product", "comp-ID", "call", "prompt", "state"
;
;   prog    : The program identifier - OS/2 only (from environment )
;   product : The product identifier - only if installing this product will
;             this exec be issued.  "0" signifies to execute this command
;	      regardless of which products were installed.
;   comp-ID : The component identifier - only if installing this component of
;             this product will this exec be issued.  "0" signifies to execute
;             this command regardless of which components were installed.
;   call    : The call string, including all command line parameters
;   prompt  : A yes/no prompt - if no, the exec will not be issued, otherwise
;	      it will be executed.
;   state   : 0 = Visible; 1 = Invisible;
;	      Note: In Windows all dos programs are controlled by PIF files.
;	      Note: Once the program has been started it can activate itself
;		    and become visible.
;
[call]
"A", "B", "0", "notepad.exe %0%\readme.prn","Do you want to view the readme file now?",0


; The CHANGEDIR command resets the current directory to the specified
; directory.  This could be useful, for instance, if you wanted to set
; you current directory to a DLL subdirectory, and then EXEC a program
; that resides in another directory (but is in the path).
;
;[changedir]
;%0%\DLL


;
; The [exec] section specifies a program to be run at the end of the successful
; install.  It must appear on the line following the [exec] header.
; The entire line is passed to the system.  Args can be included, as well as
; any level of path spec desired.
;
; Format:
;
;  "prog","exec","prompt", "state"
;
;   prog    : The program identifier - OS/2 only (from environment )
;   exec    : The exec string, including all command line parameters
;   prompt  : A yes/no prompt - if no, the exec will not be issued, otherwise
;	      it will be executed.
;   state   : 0 = Visible; 1 = Invisible;
;	      Note: In Windows all dos programs are controlled by PIF files.
;	      Note: Once the program has been started it can activate itself
;		    and become visible.
;
[exec]
"A","notepad.exe %0%\readme.prn","Do you want to view the readme file now?",0

;
; The [ini] section defines all of the settings that will go into the app's
; .INI file.
;
; The line following the [ini] header contains the name of your .INI file.
; It should be name.extension followed by the PRODUCT IDENTIFIER.
; By default it is placed in the app's main directory.
;
; Remaining lines, to the end of the file, are settings for your INI file.
; All settings MUST be preceded with a group name in square brackets.
;
; If INI file does not exist, it is built with these lines verbatim.
;
; If INI file DOES exist, only new settings (right hand side) are added.
; Existing keys with different values are NOT modified in the INI file.
;
; You may substitute params into the text with %token%.  Valid tokens:
;   - single char "0", and A-Z.  Refers to token in [directories] section.
;     Note that this always substitutes a fully qualified pathname, NOT
;     terminated with a backslash.  That is, specifying a child directory
;     id token will result in: drive, colon, slash, parent, slash, child.
;
;   - "PACKAGENAME", "CAPTIONNAME", "APPNAME", "RELEASESTRING"
;       These are defined in the [setup] section.
;       Do not specify the token name within quotes.  See example.
;
; Text is substituted exactly as declared within quotes.  No blanks added.
; See example "setting6" below; see it expand when you generate INI file.
;
;

[ini]
;Update win.ini
IniFileName: %1%\WIN.INI,A

[CA-Realizer]
SetColumn=1
SetRow=1

[Extensions]
rlz=rlzwin.exe ^.rlz

;Update another ini file
IniFileName: %1%\rlzwin.ini,A
[RLZ General]
Macro Program Types=Realizer,V-Basic,Other

[RLZ Run Command Definitions]
PM Assistant=Yes,Ctrl+A,Realizer,%0%%B%\realizer %0%%Y%\assist.rlz
MPX Convert=No,None,Realizer,%0%%B%\realizer %0%%B%\convert.rlz
ABT Convert=No,None,Other,%0%\cpmw.exe
