EnglishРусский  
The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

buf.regset

Writing a value. Write the data of an buf object as registry key value. If there is no key, it will be created.

method uint buf.regset (
   uint root,
   str subkey,
   str valname,
   uint regtype,
   arrstr ret
)

Parameters

root A root key.
$HKEY_CLASSES_ROOTClasses Root.
$HKEY_CURRENT_USERCurrent user's settings.
$HKEY_LOCAL_MACHINELocal machine settings.
$HKEY_USERSAll users' settings
subkey A name of the registry key.
valname The name of the value being written.
regtype Value type.
$REG_NONEUnknown.
$REG_SZString.
$REG_EXPAND_SZExpanded string. String with environment variables.
$REG_BINARYBinary data.
$REG_DWORDNumber.
$REG_MULTI_SZString sequence.
ret The array of strings all the created keys will be written to. It can be 0.

Return value

0No data has been written.
1The value of the key was created during the writing process.
2Data is written into the existing value.

Related links

Source