James Hawkins : msi: Set the OutOfDiskSpace property.

Alexandre Julliard julliard at winehq.org
Wed May 14 06:43:42 CDT 2008


Module: wine
Branch: master
Commit: ece5a047de4f1909b1f2ba1c69f0cece9459acc5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ece5a047de4f1909b1f2ba1c69f0cece9459acc5

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Tue May 13 20:31:44 2008 -0500

msi: Set the OutOfDiskSpace property.

---

 dlls/msi/action.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 9d8198b..6867e93 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -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);




More information about the wine-cvs mailing list