In Basic MSI how to get feature cost to display total size required in disk
I have tried to create CA after costfinalize in UI Sequence and called FeatureGetCostEx function
FeatureGetCostEx ( MEDIA, "NewFeature1", INSTALLDIR, nvCostHigh, nvCostLow );
Fails: still returns 0 for both nvcost low and high.
Query : how to get particualr feature size / or component size to calculate and display it in ready to install dialog.
FeatureGetCostEx works only for InstallScript and InstallScript MSI projects.
For BasicMSI project, you can try using MSI function MsiGetFeatureCost.
Guess after CA CostFinalize there will be enteries in the ReserveCost table right. is it possible to read those entries in the Reserve Cost table using installscript CA ?
You can refer below community thread on ReserveCost table query:
To access msi database tables: