I'm wondering if anyone would know why CostFinalize would add features when a patch is applied. During initial setup I'm selecting certain features to be installed using the CustomSetup dialog. When the patch gets applied, 2 out of the 6 unselected features get added at the end of CostFinalize. The patch is a small update patch. REINSTALL is ALL and REINSTALLMODE is omus. Also, I'm not using Feature conditions.
MSI log (feature names modified):
MSI © (D0:E8) [15:38:05:584]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'Feature1,Feature2,Feature3,Feature4,Feature5'.
MSI © (D0:E8) [15:38:05:584]: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'Feature6,Feature7'.
Action ended 15:38:05: CostFinalize. Return value 1.
Edit:
I just noticed that InstallValidate lists the previously installed features as 'Advertise'.

Not good since they were installed 'Local' originally. When the app is uninstalled all of the "advertised" features are not uninstalled.
Edited by klacounte, 21 July 2007 - 00:29.