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 confkeyKey name
VARIANT newvalNew value (must be of the same type as the existing key)
RECORD optionsOptions
createifneededCreate the registry key if it doesn't exist yet.
initialcreateis the initial create (don't overwrite, only create)