Update the Windows answer file

The Windows answer file allows you to perform unattended installations by providing responses to prompts encountered during installation. Four sample answer files are provided with theToolkit, and another is provided by Microsoft.

The Toolkit sample answer files, win2008.xml, win2008x64.xml, win2011x64.xml, and win2012x64.xml are located in the Program \Files\Altiris\eXpress\Deployment Server\sgdeploy\SGTKWinPE\Altiris\ AnswerFiles directory.

Customizing the Windows Server 2008 answer file

To customize the Windows Server 2008 answer file:
  1. Open the file sgdeploy\SGTKWinPE\AnswerFiles\win2008x64.xml.
  2. Add the settings you want to customize, for example:
    <TimeZone>%TK_TimeZone%</TimeZone>
  3. Set the value of the setting you have added to a variable that you will add to the appropriate Scripting Toolkit scenario .ini file. Scripting Toolkit environment variables are surrounded by the percent sign (%), as shown in this example:
    [GuiUnattended]
    ...
    <TimeZone>%TK_TimeZone%</TimeZone>
    ...
    Typically you will add this value to the [NOS Installation Settings] section of the .ini file.
  4. For each environment variable you have assigned, include a value in the corresponding scenario .ini file. Use the format variable_name=value, where variable_name is the name you selected in the answer file and value is a valid value for the variable you are using, for example:
    TK_TimeZone=035
    or:
    TK_TimeZone=Pacific Standard Time
    Typically you will add this value to the [NOS Installation Settings] section of the .ini file.

During deployment, the environment variables specified in the answer file are replaced with the corresponding variables from the scenario .ini file.

Customizing the Windows Server 2012 answer file

To customize the Windows Server 2012 answer file:
  1. Open the file sgdeploy\SGTKWinPE\AnswerFiles\win2012x64.xml.
  2. Add the settings you want to customize, for example:
    <TimeZone>%TK_TimeZone%</TimeZone>
  3. Set the value of the setting you have added to a variable that you will add to the appropriate Scripting Toolkit scenario .ini file. Scripting Toolkit environment variables are surrounded by the percent sign (%), as shown in this example:
    [GuiUnattended]
    ...
    <TimeZone>%TK_TimeZone%</TimeZone>
    ...
    Typically you will add this value to the [NOS Installation Settings] section of the .ini file.
  4. For each environment variable you have assigned, include a value in the corresponding scenario .ini file. Use the format variable_name=value, where variable_name is the name you selected in the answer file and value is a valid value for the variable you are using, for example:
    TK_TimeZone=035
    or:
    TK_TimeZone=Pacific Standard Time
    Typically you will add this value to the [NOS Installation Settings] section of the .ini file.