Installing using a response file  Configuring the data sources to connect to targets

Chapter 5: Installing DirectConnect

Creating a response file

There are two methods of generating a response file for InstallShield:

WARNING! If you created a response file using a Custom installation, you need to edit the response file to allow the custom selections to be chosen correctly during installation. The following is a workaround for an installer issue when using a response file.

Use a text editor and delete the word "Custom" in the setup type in the following line

-W setupTypes.selectedSetupTypeId=Custom

The resultant line should look similar to the following:

-W setupTypes.selectedSetupTypeId=

Failure to delete the “Custom” setup type results in a Full installation of the product.

Interactive installation using a response file An interactiveinstallation using a response file allows you to accept the default valuesobtained from the response file that you have set up, or to change any of thosevalues for the specific installation. This is useful when you want multiple similar installations but with some minor differences that you want to change at installation time.

At the command line, execute the following command (enter the command all on one line):

./setup<platform> -console -options <responseFileName> -W SybaseLicense.agreeToLicense=true

Installing in silent mode A silent mode installation, sometimes referred toas an unattended installation, allows you to install the product with all responses being taken from the response file that you have set up. There is no user interaction. This is useful when you want multiple identical installations or when you want to automate the installation process.

At the command line, execute the following command (enter the command all on one line):

./setup<platform> -silent -options /<responseFileName> 
-W SybaseLicense.agreeToLicense=true

where responseFileName is the name of the file containing the installation options you chose. The -W option specifies that you agree with the Sybase License Agreement text.

Except for the absence of the GUI screens, all actions of InstallShield are the same, and the result of an installation in silent mode is exactly the same as one done in GUI mode with the same responses.





Copyright © 2005. Sybase Inc. All rights reserved. Configuring the data sources to connect to targets

View this book as PDF