/build/static/layout/Breadcrumb_cap_w.png

Get Feature InstallLevel

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   [ + ] Show comments

Answers (3)

Posted by: AngelD 15 years ago
Red Belt
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
Posted by: anonymous_9363 15 years ago
Red Belt
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?
Posted by: AngelD 15 years ago
Red Belt
0
Ian,

Have to say that your suggestion would be more preferred!

Cheers!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ