[This is preliminary documentation and subject to change.]
The ReserveCost table is an optional table that allows the author to reserve a specified amount of disk space in any directory, depending on the installation state of a component.
The ReserveCost table has the following columns.
Column | Type | Key | Nullable |
---|---|---|---|
ReserveKey | Identifier | Y | N |
Component_ | Identifier | N | |
ReserveFolder | Identifier | Y | |
ReserveLocal | DoubleInteger | Y | |
ReserveSource | DoubleInteger | Y |
External key to column one of the Component Table.
Reserving cost in this way could be useful for authors who want to ensure that a minimum amount of disk space will be available after the installation is completed. For example, this disk space might be reserved for user documents or for application files (such as index files) that are created only after the application is started following installation. The ReserveCost table also allows custom actions to specify an approximate cost for any files, registry entries, or other items that the custom action might install.