Response file creation

You can use response files to provide inputs during silent installation upgrade. You can either generate a response file or create one manually.

A response file contains the information necessary to answer the prompts during the upgrade of the adapter. You can do multiple upgrades without having to resupply the same information.

Generating the response file

You can generate a response file by running the following command.
setup.exe -r "Full path of response file"

This command runs the installer in interactive mode and installs the adapter. You must supply information for each of the installation prompts. After the installation is completed, the file specified as Full path of response file is created. It contains the information you supplied for the required parameters. You can use this file for later upgrade installations.

Example

setup.exe -r "C:\Notes60UpdateResp.txt" 

Creating the response file manually

You can also manually create the response file and add the required parameters to the file.

Attributes with names like attrName_YES and attrName_NO are related to a registry key with the name attrName. For example DeleteMailDB_YES and DeleteMailDB_NO are related to a registry key with the name DeleteMailDB. The combination of the attribute values set the value for the registry key.

Table 1. Attribute settings and registry key values
Attribute setting Attribute setting Registry key value
attrName_YES=1 attrName_NO=0 TRUE
attrName_YES=0 attrName_NO=1 FALSE
Note: The value for attrName_YES and attrName_NO must not be the same.
Create a text file, for example C:\Notes60UpdateResp.txt with the following content:
#Select Install Type
#-------------------
USER_INPUT_INSTALL_TYPE=\"\",\"Update Installation\"
USER_INPUT_INSTALL_TYPE_1=
USER_INPUT_INSTALL_TYPE_2=Update Installation
USER_INPUT_INSTALL_TYPE_BOOLEAN_1=0
USER_INPUT_INSTALL_TYPE_BOOLEAN_2=1

#Adapter Name
#------------
AgentName=\"NotesAgent\"
AgentName_1=NotesAgent
AgentName_BOOLEAN_1=

#Choose Install Folder
#---------------------
USER_INSTALL_DIR=C:\\Program Files\\IBM\\ISIM\\Agents\\NotesAgent
If you do not want to restart the server after the adapter is installed, add this line to the end of the response file.
USER_REQUESTED_RESTART=NO

For a list of available attributes, see Installation attributes. If optional attributes are not specified in the response file, a default value is assigned to the associated registry key. See Default values for optional registry keys for a list of the default values.

After you create the response file, you can use it to provide parameters to the installer for updating the adapter in silent installation:
setup.exe -i silent -f "Full path of response file" 

Example

setup.exe -i silent -f "C:\Notes60UpdateResp.txt"
After the adapter is updated, an installation log file is created to replace the old file in the installation directory.