The following task describes how to generate a state file for a web agent installation on a Windows system.
Change to the directory in which you unpacked the agent binaries.
Issue the command that applies as follows:
To use the GUI installation, issue the following command:
java agent_WINNT_proxy4 -saveState filename
To use the command-line installation, issue the following command:
java agent_WINNT_proxy4 -nodisplay -saveState filename
An option that saves all of your responses to installation prompts in a state file.
Represents the name that you choose for the state file.
Enter the installation information as described in GUI Installation of Agent for Sun Java System Web Proxy Server 4.0 on Windows Systems
Your answers to the prompts are recorded in the state file. When the installation is complete, the state file is created in the same directory where the installation program is located.
When generated, a state file will have read permissions for all users. However, because the state file contains clear text passwords, change the file permissions to restrict read and write access to the user root.