home *** CD-ROM | disk | FTP | other *** search
INI File | 1995-05-02 | 5.7 KB | 124 lines |
- ; INF file - tells the install program what to install and where
- ; Contains various sections of the form:
-
- ; [N] - where N = 0 => section till next header is for SuperInstall
- ; otherwise => section is for the N'th option of SuperInstall
- ; [setup] - background file and strings used as captions for this option
- ; format is
- ; "wmf" "appName" "installName" and options "winIniSection" "winIniLine" "dirName"
- ; "reserveSpace", "installType" and optional string
- ; InstallType MUST be 3 chars
- ; [extra] - some extra info!
- ; currently this can contain section name for previous version of the product
- ; [disks] - the names of the various disks used for this option
- ; [directories] - the names of the directories created for this option
- ; - First char of name is its reference.
- ; - Second char is
- ; NULL => dir is relative to directory 0
- ; W => dir is relative to windows dir
- ; S => dir is relative to windows system dir
- ; N => dir is relative to dir named in specified INI
- ; [apps] - all the possible files to install for this option
- ; format is
- ; "wmf" "disk/flags" "copyNumber(optional)" "dstDir/srcDir" "fileName.bytes" "Xstring"
- ; values for flags are "A" => if current file is newer than one being installed, tell user
- ; "C" => file is compressed
- ; "D" => option should be displayed in box
- ; "E" => install file only if a version already exists
- ; "F" => file contains TrueType fonts
- ; "I" => file has an icon, next char is progman letter
- ; "J" => just create the directory
- ; "K" => this file cannot be skipped
- ; "R" => this file must be installed
- ; "T" => install file only if newer than existing
- ; "U" => give file unique name when copy
- ; "V" => file should be version checked before installation
- ; values for X are "I" => string is name of ini section in this inf file
- ; "O" => string is name of ole section in this inf file
- ; "C" => string is name of icon if one is given
- ; "D" => string is name of working directory for icon
- ; "N" => string is the option name for the listbox
- ; "T" => string is the dexcription of this option
- ;
- ; [progman] - the names of all the Program Manager groups to be created
- ;
- ; [??ini] - changes to be made to ini files
- ; symbols used for first string are
- ; ! => Following is a new sectionName.
- ; # => Following line is the new iniName for future lines.
- ; ? => Line is intended for the Extensions section of WIN.INI
- ; @ => WIN.INI is used rather than the current iniName.
- ; w => Windows directory
- ; ~ => Following is a fileName in the [apps] section - the next line
- ; should be done only if that fileName was selected/installed.
- ; If then approp. first string will be added as a keyName in the current
- ; sectionName in the current iniFile, with its value being the second
- ; string.
- ; The first char of the second string will be expanded based on the
- ; [directories] section above unless it is a symbol in which case
- ; ^ => use literal RHS given
- ; # => following strings are "#section key default iniSection": look
- ; in win.ini in 'section' for 'key' and get that rhs, then look
- ; in 'iniSection' of the current ini file and find the entry where
- ; the win.ini == first part of the entry's rhs, and then set the
- ; the specified lhs to be this entry
- ; ~ => set bits in the given field if doing an upgrade, with "~off on"
- ; format for bits to unset and set respectively
- ; z => insert user name
- ; y => insert company name
- ; x => insert registration number
- ;
- ; [??ole] - lines for the OLE registration
- ; [help] - name of help topics for the Help buttons
- [!0!]
- [setup]
- "ppi" "PagePlus Intro", "PagePlus Install", "PagePlus 2.0", "##PpIniPath", ""
- "2040", "ppp", "", "PagePlus Intro"
-
- [disks]
- "0","A:\","PagePlus Intro Disk"
-
- [directories]
- "0","C:\PPINTRO", "PagePlus Main Directory"
- "A","\PROGRAM", "PagePlus Program Files"
- "B","\DOCUMENT", "PagePlus Document Files"
- "C","\TEMPLATE", "PagePlus Template Files"
- "D","\SAMPLES", "PagePlus Sample Files"
- "E","\PROGRAM\TEMP", "PagePlus Import Files"
- "F","\ART&BORD", "PagePlus Art and Borders Files"
- "G","\ART&BORD\SAMPLES", "PagePlus Art and Borders Files"
-
- [apps]
- "" "0RCIAD" "A." "pp.scf.1352" "Ippini" "CPagePlus Intro" "DA"
- "" "0R" "A." "pp.wel.1"
- "" "0RC" "A." "ppmin.scf.544"
- "" "0RC" "D." "txtsam.scf.5"
- "" "0RC" "A." "ppcnf.scf.74"
- "" "0RC" "C." "template.scf.176"
- "" "0RJ" "E." "0.0"
- "" "0RJ" "B." "0.0"
- "" "0RC" "A." "pphelp.scf.254"
- "" "0RC" "G." "samples.scf.101"
-
- [progman]
- "A","Serif Applications","SERIF.GRP"
-
- [ppini]
- "!PagePlus 2.0"
- "@PpIniPath", "A\PP.INI"
- "#A\PP.INI"
- "GraphicImportDir", "D"
- "GraphicExportDir", "D"
- "PPPFileDir", "B"
- "TemplateDir", "C"
- "TextImportDir", "D"
- "TempImportPath", "E"
- "!Art&Borders"
- "ArtPack Samples", "G,A"
- "ArtPack-Samples", "G,B"
- "?ppp", "A\pp.exe"
- "?ppt", "A\pp.exe"
-
- [help]
- "107", "108"
-