Querry Collection
Hi All,
I was wondering if any one could help me with an querry on collection, based on user targeting but only deploys the application if the machine had a particular application installed.
Thank you.
Regards,
Ram.
I was wondering if any one could help me with an querry on collection, based on user targeting but only deploys the application if the machine had a particular application installed.
Thank you.
Regards,
Ram.
0 Comments
[ + ] Show comments
Answers (5)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
One, there is a dedicated SCCM/SMS forum here on AppDeploy (a moderator may well move this thread there) and two, that kind of conditioning belongs in the package (MSI), not the deployment tool. If you wanted to go that route, I imagine you'd have to build a script and execute that.
Posted by:
Ram
14 years ago
Sorry for the improper placement.
And Thank you.
But Our issue is.
One application is user targeted and the other application is machine targeted.
1. We want the user targeted application to move along with the user but Not the other machine targeted application.
2. We want the user targeted application to move with them but if the dependent machine targeted application is not there on the machine the user currently logged in then the application should not try to install.
Regards,
Ram.
And Thank you.
But Our issue is.
One application is user targeted and the other application is machine targeted.
1. We want the user targeted application to move along with the user but Not the other machine targeted application.
2. We want the user targeted application to move with them but if the dependent machine targeted application is not there on the machine the user currently logged in then the application should not try to install.
Regards,
Ram.
Posted by:
dunnpy
14 years ago
I've just been having a think, and because you are using targeted users and targeted machines, it's going to be difficult to populate a collection on a query, due to the mix of targets.
You could create a VB script to check for the dependency and then launch the MSI if applicable, but then you loose the error reporting on the MSI installation, because it will report back on the VB script execution to some extent.
If you condition the MSI, as Ian suggested, then you should see a different exit code for missing dependency than you would for a failed installation, so you can work with any genuine failures.
Hope that helps,
Dunnpy
You could create a VB script to check for the dependency and then launch the MSI if applicable, but then you loose the error reporting on the MSI installation, because it will report back on the VB script execution to some extent.
If you condition the MSI, as Ian suggested, then you should see a different exit code for missing dependency than you would for a failed installation, so you can work with any genuine failures.
Hope that helps,
Dunnpy
Posted by:
anonymous_9363
14 years ago
Posted by:
dunnpy
14 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.