Index: reactos/dll/win32/msi/dialog.c =================================================================== --- reactos/dll/win32/msi/dialog.c (revision 74135) +++ reactos/dll/win32/msi/dialog.c (working copy) @@ -3165,13 +3165,15 @@ MSICOSTTREE_SELFONLY, INSTALLSTATE_LOCAL, &each_cost))) { /* each_cost is in 512-byte units */ total_cost += ((LONGLONG)each_cost) * 512; +TRACE("%d %s\n", each_cost, debugstr_w(L"=+EachCost") ); } if (ERROR_SUCCESS == (MSI_GetFeatureCost(dialog->package, feature, MSICOSTTREE_SELFONLY, INSTALLSTATE_ABSENT, &each_cost))) { /* each_cost is in 512-byte units */ total_cost -= ((LONGLONG)each_cost) * 512; +TRACE("%d %s\n", each_cost, debugstr_w(L"=-EachCost") ); } } return total_cost; @@ -3202,6 +3204,10 @@ ptr = drives; while (*ptr) { + INT dt = GetDriveTypeW(ptr); +TRACE("%d %s %s\n", dt, debugstr_w(L"=DriveType"), debugstr_w(ptr)); + if (dt != 5) + { lvitem.mask = LVIF_TEXT; lvitem.iItem = i; lvitem.iSubItem = 0; @@ -3234,7 +3240,7 @@ lvitem.pszText = size_text; lvitem.cchTextMax = lstrlenW(size_text) + 1; SendMessageW( control->hwnd, LVM_SETITEMW, 0, (LPARAM)&lvitem ); - + } ptr += lstrlenW(ptr) + 1; i++; } Index: reactos/dll/win32/msi/install.c