List of Installed Features - Advanced Installer Community
CarlEMac2008
Posts: 17
Joined: Tue Apr 29, 2008 7:12 pm

List of Installed Features

Hi All,

I need a list of ALL the installed features in a custom action - ADDLOCAL/ADDDEFAULT don't cut it since these only list the feature "delta"; ie. when adding/deleting a feature, ADDLOCAL/ADDDEFAULT give the change in installed features. Is there a solution?

TIA

Carl <|};-)>
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: List of Installed Features

Hi,

This could be done by using the MsiEnumFeatures function. Also, in a VBScript custom action you can use the FeatureCurrentState property of the "Session" object to get the installed state of a feature.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”