cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
aravindan_s
Level 2

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 

ie., 

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.

Labels (1)
0 Kudos
3 Replies
Varaprasad
Level 6 Flexeran
Level 6 Flexeran

FeatureGetCostEx works only for InstallScript and InstallScript MSI projects.

https://helpnet.flexerasoftware.com/installshield19helplib/Subsystems/installshield19langref/helplibrary/FeatureGetCostEx.htm

For BasicMSI project, you can try using MSI function MsiGetFeatureCost.

0 Kudos

thanks for quick response.. ill sure try that MsiGetFeatureCost function.

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 ?
0 Kudos