Software.GetInstallations
Method | |
---|---|
Module | Software |
Library | Core |
Action | Gets a list of the installed software available to all users, optionally filtered by product and/or publisher. |
Parameters | |
Return values | A table of:
|
Example | Get all software: Software.GetInstallations(); Find and remove all installed instances of Calculator Plus: Software.GetInstallations( Publisher : "Microsoft", Product : "Microsoft Calculator Plus"); evaluate; Agent.Echo( Message: "Is installed"); Software.Uninstall( Publisher : "Microsoft", Product : "Microsoft Calculator Plus"); To select a specific version, use a SQL WHERE clause: @installs = Software.GetInstallations( Publisher : "Microsoft", Product : "Office Professional"); SELECT DISTINCT * FROM @installs WHERE Version LIKE "16.0%"; |
Platforms |
|
Notes | To find additional software installed for specific users, use Software.GetUserInstallations. |