msi: Set the OutOfDiskSpace property.

This commit is contained in:
James Hawkins 2008-05-13 20:31:44 -05:00 committed by Alexandre Julliard
parent 9460ae35b5
commit ece5a047de
1 changed files with 6 additions and 0 deletions

View File

@ -2125,7 +2125,10 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
{'C','o','s','t','i','n','g','C','o','m','p','l','e','t','e',0 };
static const WCHAR szlevel[] =
{'I','N','S','T','A','L','L','L','E','V','E','L',0};
static const WCHAR szOutOfDiskSpace[] =
{'O','u','t','O','f','D','i','s','k','S','p','a','c','e',0};
static const WCHAR szOne[] = { '1', 0 };
static const WCHAR szZero[] = { '0', 0 };
MSICOMPONENT *comp;
UINT rc;
MSIQUERY * view;
@ -2177,6 +2180,9 @@ static UINT ACTION_CostFinalize(MSIPACKAGE *package)
MSI_SetPropertyW(package,szlevel, szOne);
msi_free(level);
/* FIXME: check volume disk space */
MSI_SetPropertyW(package, szOutOfDiskSpace, szZero);
ACTION_UpdateFeatureInstallStates(package);
return MSI_SetFeatureStates(package);