WiseScript Editor Reference
57
To import from a .REG file, select the parent key in Registry Keys, click the New
Key button, and select Import.
When you add a key, you are not necessarily adding it to the registry on the
destination computer. If the key already exists, this action might add a value to it,
update it, or delete it and all its associated values.
z
Delete Key
Removes the selected key from the current installation. This does not remove it
from the destination computer. To do that, you must change the Operation field in
the key’s details dialog box.
z
New Value
To add a new value, select the parent key in Registry Keys, then click the New
Value button. A dialog box appears, where you enter information about the new
value.
z
Delete Value
Removes the selected value from the current installation. This does not remove it
from the destination computer. To do that, you must change the Operation field in
the value’s details dialog box.
z
Data Settings
These fields in this section of the dialog box correspond to fields you set when
creating the value.
See
Registry Key Settings Dialog Box
on page 57.
The sample script RunOnce.wse uses this action. For details on sample scripts, see
ScriptHelp.htm in the Samples subdirectory of this product’s installation directory.
Registry Key Settings Dialog Box
This dialog box appears when you double-click the Edit Registry action and create or edit
a registry key on the Edit Registry Settings dialog box.
To complete the dialog box
z
Operation
Select the operation to apply to the key or its associated value.
Create/update key and value
The value is updated if it already exists. If the key or value does not exist, it is
created.
Create empty key
Creates the key but does not add any values.
Remove key and all subkeys
Deletes the key, its subkeys, and all named values associated with the key and
its subkeys on the destination computer.
Remove key and value only
Removes the named value from the key on the destination computer. If the key
has other named values, they are preserved.
Preserve existing key and value
Adds a new key or value if the specified item does not exist, but leaves the
existing value in place if one already exists. This option is not available with the
Edit Registry for SVS Layer script action.
Summary of Contents for ALTIRIS INVENTORY 7.0 SP2 - FOR NETWORK DEVICES V1.0
Page 1: ...WiseScript Editor Reference ...
Page 31: ...WiseScript Editor Reference 31 ...
Page 91: ...WiseScript Editor Reference 91 ...
Page 148: ...WiseScript Editor Reference 148 ...