This approach was chosen in case the database should ever become corrupt (which is not probable though), so that experienced users can attempt to fix the database themselves.
The applications in the INI file are the five-part package IDs as specified
with the PCK
element in the
installation script.
For each INI "application" (i.e. installed package), there are several INI keys, not all of which have to be present (depending on the package).
The following lists the INI keys which are presently used (per package). "SZ" means zero-terminated string; "ASZ" means an array of zero-terminated strings, terminated by two zero bytes.
CONFIGSYS
element.
EXECUTE
element.
CHAR[] BYTE time_t time_t ULONG BYTE filename 0 lastwrite creation filesize 0That is, first comes the SZ filename, then the last-write date of the file, then the creation date.
time_t
is a four-byte structure of the C runtime library
(defined in time.h
).
Then there's the uncompressed file size (ULONG = four bytes), then
another zero byte.
REGISTERCLASS
element.
REPLACECLASS
element.
REQUIRES
element).
CREATEOBJECT
element.
WIPackHeader
in wiarchive.h
.