Installing the Custom Package on Windows Computers Using the Answer File
You can install the custom package in silent mode by using the answer file, rather than by using the installation wizard. The answer file is the .xml file that contains the parameters and values that were selected during the custom package creation and is included in the package.
Installations in silent mode are also known as unattended installations.
Note: If the custom package was configured to prompt for user input, the installation in silent mode skips the installation prompts and uses the default installation settings. To interact with the installation prompts, install the package by running the setup application. For instructions, see Installing the Custom Package on Windows Computers.
Before You Begin
- Obtain the custom package from the location specified by the user who created it.
If the package is in the Download Center, see Downloading a Software Package in Download Center - Web Console.
- Based on the agents that are included in the custom package, verify that the computer on which you want to install the package satisfies the minimum requirements specified in System Requirements.
- Find the answer file and review important considerations.
The answer file is the install.xml file that is included in the custom package. For example, suppose you have a Windows x64 computer and the name of the package is CustomPackageName. The install.xml file is located in the CustomPackageName\CustomPackageName_WinX64 folder.
- If the custom package consists of only the answer file, you must have a separate installation package on which you can run the file. The answer file needs the software binaries from an installation package to install the software.
- If you want to customize the .xml file, see Customizing the Answer File of a Windows Custom Package.
- If you have a 64-bit Windows computer and you need to protect 32-bit applications, you must configure a registry key to enable 32-bit agent installations. For more information, see the Alternate Method in Enabling 32-Bit Installations on 64-Bit Windows Computers.
- Log on to the computer as an Administrator or as a member of the Administrator group on that computer.
- At the command line, go to the location where you stored the custom package and find the Setup.exe file.
If the package consists of only the answer file, find the Setup.exe file from a separate installation package.
- To install the package in silent mode, run the following command:
start /wait Setup.exe /silent /play install.xml
Note: If the answer file is in a different location, update the command by replacing install.xml with the path to your answer file.You can monitor the installation from the install.log file in the %allusersprofile%\Commvault Systems\Galaxy\LogFiles folder.
Postinstallation TasksRegister the client by using the RegisterMe tab in the Process Manager application. For instructions, see Registering the Client Using the Process Manager.
If the RegisterMe tab is unavailable, the CommServe name was not defined during the custom package creation. In such a case, you can register the client by using the CommCell Console or through the command-line interface. If you do not have access to the console, a user with administrative rights in the CommCell must perform the registration for you.