Skip to main content

Command: --searchInstallation

Function: The command searches for already installed installations which fulfill the specified criteria.

Call: APInstaller.CLI

Table 31. Options

--types <types>

A json serialized list of plug-in GUIDs and version tuples. Mutually exclusive with --typeFile.

--typeFile <type file>

Fully qualified path to a file containing a json-serialized list of plug-in GUIDs and version tuples. Mutually exclusive with --types.

--plugins <plugins>

A json serialized list of plug-in GUIDs and version tuples

Mutually exclusive with --pluginFile.

--pluginFile <plugin file>

Fully qualified path to a file containing a json-serialized list of plug-in GUIDs and version tuples

Mutually exclusive with --plugins.

--outputfile <output file>

Fully qualified path to a file where the result of the command is to be written

If not specified, then the result is written to the console instead.



Example 20. Example

APInstaller.CLI --searchInstallation --types "[{\"Guid\":\"d1a449f0-21c2-471d-b02a-79af0fa4a974\",\"Version\":\"1.2.3.4\"}]"

APInstaller.CLI --searchInstallation --typesFile "C:\typeFile.json" --outputfile "C:\outFile.txt"

APInstaller.CLI --searchInstallation --plugins "[{\"Guid\":\"2b7e9a81-f3f3-4ad2-96d5-35d1af40c03c\",\"Version\":\"1.2.3.4\"}]"

APInstaller.CLI --searchInstallation --pluginFile "C:\pluginFile.json"