PrimaryVolumeSpaceAvailable Property
The installer sets the value of the PrimaryVolumeSpaceAvailable property to a string that represents the total number of bytes available, in units of 512, on the volume referenced by the PrimaryVolumePath property.
Remarks
For example, if PrimaryVolumePath is set to "D:", and volume D: has 446,134,272 bytes free, PrimaryVolumeSpaceAvailable is set to 871356.
Note if this value is to be displayed within a static Text control, the FormatSize bit can be used to automatically format and label this number in units of kilobytes or megabytes as appropriate.
Requirements
Version | Windows Installer 5.0 on 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, Windows XP, and Windows 2000. 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
Send comments about this topic to Microsoft
Build date: 8/13/2009
© 2009 Microsoft Corporation. All rights reserved.