Search for updates in silent mode

We can set preferences in a response file to automatically search for updates to installed packages or to Installation Manager. These preferences work together to find updates when we are installing with a response file.

Use the offering.service.repositories.areUsed and com.ibm.cic.common.core.preferences.searchForUpdates preferences to search for updates to installed packages.

The offering.service.repositories.areUsed preference checks the service repositories for updates for installed products. The com.ibm.cic.common.core.preferences.searchForUpdates preference checks for available updates to Installation Manager. An update is available if it can be found by Installation Manager. Installation Manager finds updates either in the service repositories or in the repositories that are listed in the response file.

For information about using these preferences in the Installation Manager graphical user interface, see Search for updates in wizard mode.

We can use the clean attribute in a response file to ignore preferences that are set in the Installation Manager graphical user interface (GUI). When this attribute is set to true in the response file, repositories that are listed in the repository table are not searched. We can access the repository table using the Installation Manager graphical user interface (GUI). For more information about the repository table, see Repository preferences. To search for updates in repositories that are listed in the repository table, set the clean to false in the response file. For more information about the clean attribute, see Response file commands.

Preferences in response files Result
offering.service.repositories.areUsed=true

com.ibm.cic.common.core.preferences.searchForUpdates=true

Installation Manager searches for updates in both the service repositories and the repositories that are listed in the response file. Installation Manager looks for available updates to itself.
offering.service.repositories.areUsed=true

com.ibm.cic.common.core.preferences.searchForUpdates=false

Installation Manager searches for updates in both the service repositories and the repositories that are listed in the response file. Installation Manager does not look for available updates to itself.
offering.service.repositories.areUsed=false

com.ibm.cic.common.core.preferences.searchForUpdates=true

Installation Manager does not access IBM .com to look at the service repositories for updates. Installation Manager does look for available updates to itself.

Installation Manager searches the repositories that are listed in response file for updates.

offering.service.repositories.areUsed=false

com.ibm.cic.common.core.preferences.searchForUpdates=false

Installation Manager does not access IBM.com to look at the service repositories for updates. Installation Manager does search the repositories that are listed in the response file for updates. Installation Manager does not look for available updates to itself.