Details
This method will set mixed data into a specified registry location.
Arguments
system.registry.set(string keyPath, [mixed data]);
keyPath: The key path / filter used to specify a registry location.
data: A string / Integer / Object that is being stored.
If the data argument is missing, the given keyPath will be erased
Examples
Setting a string
//Setting a string
system.registry.set('HKEY_LOCAL_WEBDOWS/explorer/theme', 'classic');

Setting an object
//Setting an object
var object = {
this: {
that: 'awsome',
is: 'Cool'
},
that: 'nice'
}
system.registry.set('HKEY_LOCAL_DEMONSTRATION', object);

Removing a registry object
//Running this method will remove what was done in the previous example.
system.registry.set('HKEY_LOCAL_DEMONSTRATION');