Académique Documents
Professionnel Documents
Culture Documents
Silent installation
Administrators can install Data Protection for SQL using silent installation. A silent installation runs on its own without any intervention so that administrators are freed from the task of monitoring the installation and providing input to dialog boxes. This method is especially useful when Data Protection for SQL must be installed on a number of different computers with identical hardware. For example, a company may have 25 SQL Servers spread out across 25 different sites. To ensure a consistent configuration and to avoid having 25 different people enter Data Protection for SQL parameters, an administrator may choose to produce an unattended install and make it available to the 25 sites by cutting and sending out 25 CDs or by placing the unattended install package on a file server. You can perform a silent installation using one of the following methods: Setup Program Use the setup command with the command-line invocation and special silent installation options. Microsoft Installer (MSI) If you are running Windows 2000 (or later) or if msiexec.exe is installed on your Windows NT system, you can bypass the setup.exe method and directly install the MSI package. The following options are used in this procedure: Table 14. Silent installation options
Option /i /l*v /qn /s /v Description Specifies the program is to install the product. Specifies verbose logging. Runs the installation without running the external user interface sequence. Specifies silent mode. Specifies the Setup Program to pass the parameter string to the call it makes to the MSI executable (msiexec.exe). Note the following syntax requirements when invoking the /v option:
A backslash (\) must be placed in front of any quotation marks (" ") that reside within existing quotation marks. Do not include a space between the /v command line option and its arguments. Multiple parameters entered with the /v command line option must be separated with a space.
Specifies the program is to uninstall the product. Specifies features to install. Specifies which users can use the installtion package. Specifies the directory where Data Protection for SQL is to be installed. Specifies whether or not to prompt the user to reboot the system after silent installation.
installation. Suppress Suppress prompt to reboot after silent installation. ReallySuppress Suppress all reboots and prompts to reboot after silent installation.
rebootyesno
Specifies whether or not to reboot the system after silent installation. Specify Yes to reboot the system after silent installation. Specify No not to reboot the system after silent installation. Specifies language to install.
transforms
The following features are used in this procedure: Table 15. Silent installation features
Feature TDP_SQL_Client TDP_SQL_Paid_License TDP_SQL_TryBuy_License TDP_SQL_PTF_License OnLine_Main OnLine_TDP_SQL_Readmes Books_PDF chs cht deu esp fra ita jpn kor ptb Description Main Data Protection for SQL client. Paid license (Paid version only) Try and Buy license (Try and Buy version only) PTF license (PTF version only) HTML books and readme files HTML books and readme files PDF book Chinese (Simplified) language files Chinese (Traditional) language files German language files Spanish language files French language files Italian language files Japanese language files Korean language files Brazilian (Portuguese) language files
The following transforms are used in this procedure: Table 16. Silent installation transforms
Transform 1028.mst 1031.mst 1033.mst 1034.mst 1036.mst 1040.mst 1041.mst 1042.mst 1046.mst 2052.mst Language CHT Chinese (Traditional) DEU German ENG English ESP Spanish FRA French ITA Italian JPN Japanese KOR Korean PTB Portuguese CHS Chinese (Simplified)
"IBM Tivoli Storage Manager for Databases - MS SQL.msi" RebootYesNo="No" Reboot="Suppress" ALLUSERS=1 INSTALLDIR=\"c:\program files\tivoli\tsm" ADDLOCAL=\"TDP_SQL_Client,TDP_SQL_Paid_License,OnLine_Main, OnLine_TDP_SQL_Readmes,Books_PDF,jpn" TRANSFORMS=1033.mst /qn /l*v "e:\log.txt" Notes: 1. You must place a backslash (\) before each quotation mark that is within an outer set of quotation marks ("). 2. You must place quotation marks (") around the following: o A directory path that contains spaces. o An argument that specifies multiple features. Although quotation marks are needed around the complete argument, you must still place a backslash before each internal quotation mark. 3. All features listed in a custom installation must be specified after the addlocal option.
First you will need to choose a location for the package. If you are burning a CD it is convenient to use a staging directory. If you are placing the package on a file server you can use a staging directory or you can build the package directly on the file server. The following example uses c:\tdpdpkg as a staging directory. It is recommended you have a minimum of 14 MB of free space in the staging directory. The following commands can be executed to create the package. mkdir c:\tdpdpkg cd /d c:\tdpdpkg xcopy g:\*.* . /s copy c:\setup.bat - Create a staging directory for the silent install package - Go to the staging directory - Copy the Data Protection for SQL CD distribution files to the staging directory - Replace the existing setup.bat with the one created in the previous step
At this point the silent install should be tested. When testing is complete the package can be placed on CD or it can be made available from a shared directory.
When you get an error message, it appears in a message box. Every error message has a number. These are system error messages and there is no way to suppress them in your script. If you encounter an error you can go to the InstallShield support Web site at URL: http://support.installshield.com/default.asp, and use the Search facility to obtain information on the error.