home *** CD-ROM | disk | FTP | other *** search
INI File | 1994-11-15 | 6.1 KB | 136 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]
- "di1" "DrawPlus Intro" "DrawPlus Install"
- "2040" "dpp"
-
- [apps]
- "" "0D" "00" "A." "0.1" "NSerif DrawPlus Intro" "TDrawPlus Intro - utility"
-
- [!1!]
- [setup]
- "di1" "DrawPlus Intro" "DrawPlus Intro Install" "Serif DrawPlus Intro" "##DrawPlusIni" ""
- "2040" "dpp"
-
- [disks]
- "0" "A:\" "DrawPlus Intro Disk"
-
- [directories]
- "0" "C:\SERIF\DRAWI10" "DrawPlus Intro Main Directory"
- "SN" "" "Serif DLL Directory" "w\SERIF.INI" "serif" "SharedDLLDir" "w\SERIFDLL"
- "A" "\PROGRAM" "DrawPlus Intro Program Files"
- "B" "\SAMPLES" "DrawPlus Intro Samples"
- "C" "\CLIPART" "DrawPlus Intro Clipart"
-
- [apps]
- "" "0R" "ADRAWI10" "drawplus.ini.2" "NDrawPlus Intro Basic Set" "TMinimum requirement for running DrawPlus."
- "" "0CTR" "SDRAWI10" "serifreg.scf.220"
- "" "0CIAR" "ADRAWI10" "drawplus.scf.637" "Idpini" "CDrawPlus Intro" "DA" "Odpole"
- "" "0CR" "ADRAWI10" "dphelp.scf.170"
- "" "0CR" "CDRAWI10" "tutorcli.scf.1"
-
- "" "0CTAR" "BDRAWI10" "samples.scf.141" "NSamples" "TSample DrawPlus Intro documents"
-
- "" "0CTAR" "CDRAWI10" "clipart.scf.176" "NClipart" "TSample pictures taken from Serif's ArtPack I clipart collection"
-
- [progman]
- "A" "Serif Applications" "SERIF.GRP"
-
- [dpini]
- "#w\SERIF.INI"
- "!Serif"
- "Name" "z"
- "Company" "y"
- "RegNumber" "x"
- "SharedDLLDir" "S"
- "!Serif DrawPlus Intro"
- "Name" "z"
- "Company" "y"
- "DrawPlusIni" "A\DrawPlus.Ini"
- "#A\DrawPlus.Ini"
- "!Misc"
- "WindowPos" "^"
- "Welcomed" "^"
- "LoadDir" "B"
- "SaveDir" "B"
- "ImportDir" "C"
- "?dpp" "A\DrawPlus.Exe"
-
- [help]
- "107" "108"
-
- [dpole]
- "DrawPlus" "Serif DrawPlus" "Edit"
-