(Developer)
Install WebSphere Commerce development environment silently
We can install WebSphere Commerce development environment by using a silent response file. To install silently, IBM Installation Manager requires a response file to provide the input.
Before beginning
- Ensure that the machine on which we are installing WebSphere Commerce development environment meets all prerequisites. See Setup prerequisites for WebSphere Commerce Developer
- Stop any applications running on your machine.
- Disable any Web server that is on your machine.
- Ensure that we are logged on as a user with Administrator privileges.
- Download and extract WebSphere Commerce Developer Version 9.
- Login to Passport Advantage.
- Download the eAssembly:
- (Enterprise) Search for part number CJ2ZNML.
This is the eAssembly for HCL Commerce Developer Enterprise V9.0 for Multiplatform Multilingual eAssembly. Download all parts and extract the packages.
(Professional) Search for part number CJ2ZQML.
This is the eAssembly for HCL Commerce Developer Professional V9.0 for Multiplatform Multilingual eAssembly. Download all parts and extract the packages.
- Download the latest Update Package for WebSphere Commerce Developer.
Procedure
- Create a response file: If we already have a response file, skip to Step 4.
- Copy the contents of the following directory to a temporary, writable directory (the agent_data_location).
- drive:\Program Files\IBM\Installation Manager
Note: If the path names are too long, we might need to use the XCOPY command to copy the files.
For example, the agent_data_location can be C:\temp_agent_data. This folder is used by the IBM Installation Manager to read and write information about the installation that we are recording. For the IBM Installation Manager to detect previous Rational Application Developer installations, the agent_data_location must contain this copied data.
- On a command line, go to the eclipse subdirectory in the directory where you installed IBM Installation Manager. For example, drive:\Program Files\IBM\Installation Manager.
- Run the IBM Installation Manager using one of the following commands to create a response file:
Note: Ensure that you enter a file path that exists. Installation Manager does not create directories for the response file and the log file.
- To create the response file and install the product:
IBMIM –record response_file_pathFor example, IBMIM –record C:\temp_agent_data\installresponse.txt.
- To create the response file only:
IBMIM –record response_file_path -skipInstall agent_data_location
- The agent_data_location must be a temporary writable directory, such as c:\temp_agent_data.
For example, IBMIM –record C:\temp_agent_data\installresponse.txt -skipInstall C:\temp_agent_data
The Installation Manager starts.
- Follow the steps in Installing WebSphere Commerce Developer using the IBM Installation Manager to make your installation choices. Remember: Set the repository preferences to the location of the WebSphere Commerce development environment installation image during the recording of the response file.
- Click Finish, then close Installation Manager to save and finalize the response file.
- Optional: Open the response file createdd, response_file_path, in a text editor.
- Optional: Modify the entries in the response file to match the installation options we want.
- On the command line, run the following command to start the silent installation process:
- Go to the eclipse/tools subdirectory of Installation Manager.
- Run the following command.
imcl.exe -input response_file_path -log log_file_path -acceptLicense
Note: Add the -sP parameter to obtain more installation progress information.
Where
- response_file_path is the full path of the response file
- log_file_path is the full path of log file, for example c:\logs\fep_install.log. The full path must exist.
- Ensure that the installation was successful:
- Check the log specified by using -log in Step 5 to see whether there are any errors or warnings. If the log file for the -log parameter is empty, then the installation was successful. For example,
<?xml version="1.0" encoding="UTF-8"?> <result> </result>We can also review the IBM Installation Manager log files for any important information or errors. The timestamped logs can be found in the following default locations.
- drive:\Program Files\IBM\Installation Manager\logs
Alternatively, we can view the logs in the IBM Installation Manager interface under File > View Log.
Note: You might notice java.lang.RuntimeException: Unable to aquire PluginConverter service during generation errors in the setupPlugins.log file. We can safely ignore these errors. For example: C:\Documents and Settings\Administrator\Local Settings\Temp\wc_toolkit.log
What to do next
Set your workspace to use a Db2 , or Oracle database. See Configure a Db2 Database or Preparing an Oracle database.