Previous Topic: Add OSIM Parameters to Created ImagesNext Topic: Extend the Image with Special Drivers


Example: Add OSIM OS Image Parameters

Important! Only administrators with a good understanding of .inf and default files should change parameters or add new ones.

For example, you create an OS image named myImage and you want to add parameters setting the Language variable of the regional settings in the auto answer file of the OSIM OS image, myImage.inf.

The parameter that should drive this variable is named "localeID" and its default value should be 1033.

To add a parameter to the image

  1. Load …\ManagedPC\CAMENU\myImage.inf into an UTF-8 enabled editor, for example, Notepad. The CAMENU directory is in parallel to the IMAGES directory.

    Note: See createosimage -x for the exact path to the myImage directory.

  2. Go to the [RegionalSettings] section in myImage.inf.
  3. If there is already a value for Language, change it to the following:
    Language=$localeID$
    

    Otherwise, add this line to the section.

  4. Save the file and close the editor.
  5. Load …\ManagedPC\IMAGES\myImage\default.ini into a UTF-8 enabled editor, for example, Notepad.

    See createosimage -x for the exact path to myImage.

  6. Go to the [Default] section, and insert the following line in this section:
    localeID=1033 
    
  7. Add the following new section at the end of the file:
    [localeID]
     Type=MapListExt
     MaxLength=128
     Comment=Language/locale to be installed
     Trans=yes
     item=5124 Chinese_Macau
     item=1030 Danish
     item=1033 English US
     item=2057 English UK
     item=1036 French Standard
    

    For details about the parameters, types, and attributes, see Default.ini Parameters.

  8. Save the file and close the editor.