Virtual
Registry - Text Format |
Previous Top Next |
REG_SZ,
REG_EXPAND_SZ, REG_BINARY, REG_DWORD, REG_DWORD_BIG_ENDIAN,
REG_LINK, REG_MULTI_SZ, |
REG_RESOURCE_LIST,
REG_FULL_RESOURCE_DESCRIPTOR, REG_RESOURCE_REQUIREMENTS_LIST
|
If you
need to represent a non-published registry type, alternatively you
can specify a decimal (base 10) number. For example:
|
453=#00 |
String
Types (REG_SZ, REG_MULTI_SZ, REG_EXPAND_SZ) - Values are represent
as escaped string values. A Unicode text file must be used to
represent non-ansi characters. Thinstall uses unicode text files by
default. The '#' , newline character, tab character, carriage
return, end-of-file, and NULL characters must be escaped if they
exist in the original string. |
Escaped
characters begin with '#' and are followed by 2 hex characters to
represent the ANSI value for the character. Non-ansi Unicode
characters do not need to be escaped but can only exist in unicode
text files. |
Examples:
|
REG_SZ=Both#00
|
This
represents a 5 character string value, the 5th character being a
NULL (0) character. |
|
REG_MULIT_SZ=String1#00String2#00#00
|
This
represents a multi-string value which contains a list of 2 values
"String1" and "String2" |
|
REG_DWORD=#27#c6#00#02
|
This
represents a 4 byte binary value. |
For
binary values, data is stored as a string of escaped bytes. For
DWORD values, data is stored in native intel order (little endian)
so no special processing needs to be performed for binary data.
|
|
|
Examples:
|
REG_SZ~%AppData%
|
Represents
the value of the "Application Data" folder on the host PC where
Thinstall is running. The length of this registry value will change
depending on what machine it runs on. |
|
REG_SZ~#23AppData#23
|
Represents
the value of the actual value "%AppData%". This value will always
be the literal string "%AppData%" regardless of the current shell
folder location. |
|