Components installation
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.
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
Answers (3)
Please log in to answer
Posted by:
Nicole
12 years ago
Posted by:
pratikpawar
12 years ago
Posted by:
mahendraKumar
12 years ago
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....
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....
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.