/bundles/itninjaweb/img/Breadcrumb_cap_w.png
As I understand it when a user enables or disables a feature through a Selection Tree Control the Feature's InstallLevel is altered by a SetInstallLevel control event. What I am wanting to know is:

Is there some way to get the value of a particular feature's InstallLevel later in the installation? If so, means are availble to do this?

Cheers
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
It depends how you want to use the feature level or access it.

Have a look at:
Advanced Custom Action Conditions
http://itninja.com/blog/view/appdeploy:-articles:-msi-advanced-custom-actions

FeatureCurrentState Property of the Session Object
http://msdn.microsoft.com/en-us/library/aa371658(VS.85).aspx

FeatureValidStates Property of the Session Object
http://msdn.microsoft.com/en-us/library/aa371664(VS.85).aspx
Answered 06/05/2008 by: AngelD
Red Belt

Please log in to comment
0
Nice one, Kim. I'm wondering, though, whether FeatureRequestState http://msdn.microsoft.com/en-us/library/aa371662(VS.85).aspx would be more appropriate, given that - per my reading, anyway - that the OP wants to know the feature state that the user selected?
Answered 06/06/2008 by: VBScab
Red Belt

Please log in to comment
0
Ian,

Have to say that your suggestion would be more preferred!

Cheers!
Answered 06/06/2008 by: AngelD
Red Belt

Please log in to comment