Unattended Install and Uninstall with CA XCOM Data Transport for Windows

Document ID : KB000028194
Last Modified Date : 14/02/2018
Show Technical Document Details

Summary: 

How to do an unattended install and uninstall.  

Instructions: 

Running a Silent Install

To do an unattended install, you must first build a response file using the InstallShield setup command. This will build a response file tailored to your installation. You can build one response file and use it on many systems. You need separate response files only if you want different options for the install on some machines.

Then you can run an unattended InstallShield installation using the setup command. If you need to run tpsetup, you should run it after the install is complete.

After the installation, you need to reboot the PC.

Here are the commands to accomplish this:

    1. Issue the command setup.exe /r which will create the setup.iss file in your WINNT directory. Issue setup from the InstallShield CD or wherever you have the InstallShield setup.exe program. InstallShield will prompt you for the various installation parameters, but will build a file instead of doing the actual install. The file setup.iss contains all the parameters of your install.

    2. Issue this command to build your install file with all the parameters:setup.exe /r /f1"C:\YourPath\setup.iss"
    3. When this is completed, chose one of the following commands depending on your needs.
      The first command will run the silent install but the system SYSID and SYSNAME parameters will be set to default values. 

     setup.exe /s /f1"C:\YourPath\setup.iss"

The second command will run the silent install but the /z parameter is specified which allows the administrator to customize the values of the system SYSID and SYSNAME parameters.

     setup.exe /s /f1"C:\YourPath\setup.iss" /z"\"SYSID=xxxx,SYSNAME=yyyyyyyy\""

xxxx       The one- to four-character System ID that you have selected for this CA XCOM Data Transport installation.
yyyyyyyy The one- to eight-character System Name that you have selected for this CA XCOM Data Transport installation.
Together, the System ID and System Name are used to uniquely identify this specific CA XCOM Data Transport system

NOTE: Be sure all windows are closed before a silent install.

Running a Silent Uninstall

To do an unattended install, you must first build a response file using the InstallShield setup command. This will build a response file tailored to your installation. You can build one response file and use it on many systems.

1) Change directory to the path location where you have the InstallShield setup.exe program.

2. Create a response file first by issuing the following command:

    setup.exe /x /r /f1"C:\YourPath\setup.iss"

   This command creates the setup.iss file in the YourPath directory. If the /f1 parameter is not specified, it defaults to setup.iss in your WINDOWS directory. 

3) Run the unattended uninstall by issuing the following command:

     setup.exe /x /s /f1"C:\YourPath\setup.iss"

NOTE: Silent installation does not display any dialog boxes in the event of an error. Instead, status information for the silent install or uninstall is written (by default) to a file called setup.log in the same directory where the response file is located.  To specify a different name and location for the log file, specify the /f2 argument with the full path name for the log file with setup.exe.

Additional Information:

See the CA XCOM for Windows 11.6 Server/Professional Installation Guide - Sections Unattended Install and Unattended Uninstall