Editing control files (Windows)
Each computer on which you want to install an image must have the same product configuration values as those stored in the image's control file. You can either create a new image, or edit the control file associated with the existing image to change the product configuration values.
Editing control files using ctltool
Ctltool is a utility that you can use to change the product configuration values in an existing control file to create a new control file. The control file is used to install the same image on computers that require the different values.
- Open a command prompt.,
- Change to the \Install\instbin directory in the directory where the installable image is stored.
Enter the following command:
ctltool.exe drive:\path\inputfile.ctl drive:\path\outputfile.ctl
The option drive:\path\inputfile.ctl represents the path to and name of the control file that you want to edit (the control file that was created with the installable image), and the option drive:\path\outputfile.ctl represents the path to and name of the new control file that you want to create.
For example, you create an installable image and store the image in a directory on your D: drive called installable image. When you create the image, the installation utility creates a .ctl file named install.ctl and stores that file in that directory along with the image files. To edit this control file and create a new one in the same directory, at the command prompt, you would change to D:\installable image\Install\instbin, and enter ctltool.exe "D:\installable image\install.ctl" "D:\installable image\newfile.ctl".The installation utility displays the first value stored in the control file.
- Type a new value and press Enter to save your entry and display the next variable. To keep the existing value, press Enter. If you are changing a password variable, the value is encrypted in the new control file.
When the ctltool has finished displaying all the variables in the control file, the command prompt is displayed. Rename the new control file to install.ctl so that when you install the image, the installation utility uses the new control file. The installation utility looks for a control file named install.ctlto perform the installation.