Displays an edit field with an optional spinner control (an up-down control) that accepts a numeric value. The value is set in the registry with the REG_DWORD type.
The NUMERIC part type accepts the following options:
For example:
PART !!MyVariable NUMERIC
VALUENAME ValueToBeChanged
END PART
The valid keywords for NUMERIC are:
Displays text only.
For example:
PART !!MyVariable TEXT
END PART
Writes a value to registry with data type REG_DWORD. This is the default unless another type is specified.
For example:
PART !!MyVariable NUMERIC
VALUENAME ValueToBeChanged
END PART
Writes a value to registry with data type REG_EXPAND_SZ.
For example:
PART !!MyVariable EDITTEXT EXPANDABLETEXT
VALUENAME ValueToBeChanged
END PART
Writes a value to the registry with data type REG_SZ.
For example:
PART !!MyVariable EDITTEXT
VALUENAME ValueToBeChanged
END PART
Generates an error if the user does not enter a value when required.
For example:
PART !!MyVariable EDITTEXT REQUIRED
VALUENAME ValueToBeChanged
END PART
Specifies maximum length of text.
For example:
PART !!MyVariable EDITTEXT
VALUENAME ValueToBeChanged
MAXLEN 4
END PART
Specifies a default value. This can be used for text or numeric data.
For example:
PART !!MyVariable EDITTEXT
DEFAULT !!MySampleText
VALUENAME ValueToBeChanged
END PART
or:
PART !!MyVariable NUMERIC
DEFAULT 5
VALUENAME ValueToBeChanged
END PART
Specifies lowest and highest valid values.
For example:
PART !!MyVariable NUMERIC
MIN 100 MAX 999 DEFAULT 55
VALUENAME ValueToBeChanged
END PART
Displays a list box of options from which to choose.
For example:
PART !!MyVariable DROPDOWNLIST
VALUENAME ValueToBeChanged
ITEMLIST
NAME "First" VALUE NUMERIC 1
NAME "Second" VALUE NUMERIC 2
NAME "Third" VALUE NUMERIC 3
NAME "Fourth" VALUE NUMERIC 4
END ITEMLIST
END PART
Optional action list to be used if this value is selected.
ACTIONLIST can be used only as part of an ITEMLIST. See the example in the ITEMLIST section.
Two variants of ACTIONLIST exist (ACTIONLISTON and ACTIONLISTOFF), and they may be used with the POLICY tag and the CHECKBOX tag. See the example in the CHECKBOX section.