AVAILABLEFREEREG property

The AVAILABLEFREEREG property specifies in kilobytes the total free space available in the registry after calling the AllocateRegistrySpace action.

The maximum value of the AVAILABLEFREEREG property is 2000000 kilobytes.

This property is set only on Windows 2000.

Remarks

The AVAILABLEFREEREG property must be set to a value large enough to ensure sufficient space in the registry for all registration information added by the installation. The minimum value required to ensure sufficient space depends on where the AllocateRegistrySpace action is located in the action sequence because the installer automatically increases the space as needed when registering information in the Registry, Class, SelfReg, Extension, MIME, and Verb tables. The installer does not increase the total registry space to the amount specified by AVAILABLEFREEREG until reaching AllocateRegistrySpace in the action sequence.

If AllocateRegistrySpace is one of the first actions in the action sequence, AVAILABLEFREEREG should be set to the total space required by the registration information in the Registry table, Class table, TypeLib table, SelfReg table, Extension table, MIME table, Verb table, custom actions registration, self registration, and any other registry information written during the installation. The value of AVAILABLEFREEREG is the total amount of information added by the installation and ensures sufficient space in all cases. This is also the most common case.

If the AllocateRegistrySpace action can be authored into the action sequence after all standard actions that write registration data, such as WriteRegistryValues and RegisterClassInfo, the value of AVAILABLEFREEREG needs only be set to the space needed to register custom actions, register type libraries, and any other information not yet registered through the tables.

Requirements

Requirement Value
Version
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP. See the Windows Installer Run-Time Requirements for information about the minimum Windows service pack that is required by a Windows Installer version.

See also

Properties