Skip to content

Instantly share code, notes, and snippets.

@fearthecowboy
Created July 30, 2013 18:28
Show Gist options
  • Save fearthecowboy/6115484 to your computer and use it in GitHub Desktop.
Save fearthecowboy/6115484 to your computer and use it in GitHub Desktop.
class MS_SoftwareInstallationService {
// checks to see if a software identity can be installed
// from CIM_SoftwareInstallationService
uint32 CheckSoftwareIdentity( CIM_SoftwareIdentity REF Source, CIM_ManagedElement REF Target, CIM_Collection REF Collection, uint16 OUT InstallCharacteristics[]);
// Installs a package from it's SoftwareIdentity
// from CIM_SoftwareInstallationService
uint32 InstallFromSoftwareIdentity(CIM_ConcreteJob REF Job, uint16 InstallOptions[], string InstallOptionsValues[], CIM_SoftwareIdentity REF Source, CIM_ManagedElement REF Target, CIM_Collection REF Collection)
// Installs a package from a URI (resolves the SoftwareIdentity from URI and calls InstallSoftwareFromIdentity
// from CIM_SoftwareInstallationService
uint32 InstallFromURI(CIM_ConcreteJob REF Job, string URI, CIM_ManagedElement REF Target, uint16 InstallOptions[], string InstallOptionsValues[]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment