Hi folks i have a requirement that there are 10 components in a feature iwant to install only four components out of 10
as of my knowledge ihope that it can be achieved by setting the component condition value in the component table is it right method or we can write a custom action anybody can help me how to do this?

Thanks in advance.
0 Comments   [ + ] Show 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.


Set the condition to 1=2, so the component won't be installed. This is the easiest way, in my opinion.
Answered 12/14/2011 by: Nicole
Senior Yellow Belt

Please log in to comment
Set component condition to "0" without quotes on which you dont want to install.
Answered 12/14/2011 by: pratikpawar
Senior Yellow Belt

Please log in to comment
Hi Veera ,

Set component condition to 0 is one way ...

but this makes the component not installed always ...

here is a case which can explain you the conditioning the components :

A application has some files that to be installed depending on the OS based.
a.dll has to be installed on XP machines and not on vista or win 7 machine.
similarly b.dll has to be installed on vista and win 7 machine not on XP machine.

so the best way for this
Create a system search to get OS value and set it to property .
then in component condition assign the property ...

for a.dll the component condition can be set to WINNT<5.0 so that it gets installed in XP machine only ...

I hope this throws some light....
Answered 12/14/2011 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity