Hi Blair,
Thank you for your help. I tried your suggestion and have a problem getting it
work. Below is how the custom action, WriteModulesXml, is setup. This CA tries
to access session.Features.
Declaration:
CustomAction Id=WriteModulesXml BinaryKey=CustomAction1.dll
Dear All,
I am trying to find a way to loop through the Feature tree and detect the
install state and install action for each one of the features in my C# custom
action. Below is what I've found that I could use:
FeatureInfo FeatureState = session.Features[feature_name];
From the FeatureState
I would assume:
foreach (FeatureInfo FeatureState in session.Features)
{
FeatureInfo.Name; // etc.
}
From: miaohsi.w...@invensys.com
To: wix-users@lists.sourceforge.net
Date: Wed, 10 Jul 2013 16:05:48 -0400
Subject: [WiX-users] How can I loop through in C# custom action the Feature
3 matches
Mail list logo