In SCCM, WMI class CCM_Application in ClientSDK does not list User-Available (Target = User Collection, Purpose = Available) Applications unless you Install them manually from the Software Center once, and hence you cannot trigger Installation ("Install" method of the "CCM_Application" class) of an application that has been made available to a user but has not yet been installed through the Software Center. Is there any way we could trigger the installation of such Application from the client machine using WMI or other code without actually having to go to the Software Center for the first time? (which otherwise, defies the purpose of ClientSDK IMO).
I do realize that there is a procedure that is followed behind the scenes whenever the deployment is made available to the user, the Policy gets downloaded (or enforced) to the client machine only once the installation is triggered through the Software Center and not before that. But all these steps of discovering and installing the User-Available Application, is it possible to do that from the client machine just like the Software Center, WITHOUT ever having to use the Software Center? There has to be a way.
EDIT: Our purpose is not to automate the process or to use purpose = required. What we are trying to achieve is to trigger the installation of User-Available Applications externally (not automatically) through WMI without having to go to the Software Center, just like we can Install/Uninstall Device-targeted Applications though the Methods exposed in the WMI class CCM_Application without having to use Software Center at all. We can also do the same for User-Available apps as well, but only once they have been installed through the Software Center, because then they get added to the CCM_Application just like the other apps and you can install/uninstall them without using the Software Center. Why can't we perform the first initial detection of User-Available Apps and install them for the first time as well? If SDK allows us to do all the above functionality, why are we forced to use Software Center for just one step? There should/must be a way.
Can anyone refer an SCCM expert to this Question? Anyone from Microsoft who actually have solution to this?
I have already read many long blogs on the internet related to this query but none seem to have figured it out.
Related Questions:
(unsolved)
This question has been answered but the objective there is different. It simply creates and starts the deployment of a software from the Configuration Manager. What I am trying to achieve is to Install the already deployed software (which is Available and hence not automatically installed), right from the client machine and not the server. Just like the Software Center does.