Description: Parent component doesn't include the size of the child components while custom setup Steps to Reproduce: 1. Run LibreOffice_7.1.2_Win_x64.msi 2. Click "Next" button 3. Select "Custom" setup and click "Next" button 4. Select "Optional Components" or "Dictionaries" or "User Interface Languages" Actual Results: "Optional Components", "Dictionaries" and "User Interface Languages" doesn't show the size of the components that are included. Expected Results: "Optional Components", "Dictionaries" and "User Interface Languages" show the size of the components that are included. Reproducible: Always User Profile Reset: No Additional Info: It's installation testing.
Created attachment 171528 [details] Parent component doesn't include the size of the child components while custom setup
This is the feature of Windows Installer, which provides separate numbers for feature and subfeatures. The strings used for that (SelChildCostPos, SelChildCostNeg, SelParentCostPosPos, SelParentCostPosNeg, SelParentCostNegPos and SelParentCostNegNeg) are documented in [1]. A hack that could be used to implement this is described in [2]. But I doubt that it's useful. The separate numbers are designed by MS specifically this way; and using subfeatures size as component size (as [2] suggests) is not correct, since some features may have own size, and showing subcomponents size would not include the main selection size (so a string like "this feature requires 200 KB; its subcomponents need 150 KB" would be shown "this feature and its subfeatures require 150 KB"). This is NOTABUG, since this works as intended and provides correct information. [1] https://docs.microsoft.com/en-us/windows/win32/msi/selectiontree-control [2] http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Feature-costing-td1307593.html