Navigate to the directory that contains the setup script and other installation files.
Start the installation program.
The state file is created and saved in the installation directory, install-dir. The default name of the file is statefile, but the file name can be changed if desired. For information about using the state file for silent installation, see Running the Installer in Silent Mode.