We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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”