WriteRegistryKey (open)
Set a registry key if it exists. Module registry keys can be written using the key "modulename.registrykey...".
Syntax
LOADLIB "mod::system/lib/configure.whlib";
MACRO WriteRegistryKey(STRING confkey, VARIANT newval, RECORD options)
Parameters
STRING confkey
Key name
VARIANT newval
New value (must be of the same type as the existing key)
RECORD options
Options
createifneeded
Create the registry key if it doesn't exist yet.
initialcreate
is the initial create (don't overwrite, only create)