How to trigger installation of User-Available Application purely through WMI or other code without having to use Software Center?

Abdur Rahman Khan 1 Reputation point
2021-10-22T15:52:53.903+00:00

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.

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:

  1. https://video2.skills-academy.com/en-us/answers/questions/169898/ccm-application-client-wmi-class-available-softwar.html
  2. https://stackoverflow.com/questions/53276451/ccm-application-user-available-software-missing

(unsolved)

  1. https://stackoverflow.com/questions/12056088/automated-software-deployment-through-sccm-2012-using-wmi

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.

Microsoft Configuration Manager Application
Microsoft Configuration Manager Application
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Application: A computer program designed to carry out a specific task other than one relating to the operation of the computer itself, typically to be used by end users.
482 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Abdur Rahman Khan 1 Reputation point
    2021-10-25T12:06:44.717+00:00

    Greetings @Amandayou-MSFT ,

    Thank you for early response.

    We have made some integrations with the Software Center using WMI ClientSDK that allows us to handle the client side functionalities such as Install, Uninstall, Display List of available Apps etc. on the Client Machine, through WMI without having to access Software Center. But we are unable to perform the above mentioned functionalities for the User-Available Apps. If we are given a full fledge SDK for the client we should have a clearly defined, documented, exposed method to perform the said actions for the User-Available Apps as well. Or at least some method to enforce the User-Available App, after which they get added to the list in CCM_Application class and be treated like the others.

    Thanks. Hope you really get me someone who may have a solution to this.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.