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
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)
Please log in to answer
Posted by:
AngelD
16 years ago
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
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
16 years ago
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
16 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.