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.

str.regset

Write a string as a registry key value. If there is no key, it will be created.

method uint str.regset (
   uint root,
   str subkey,
   str valname,
   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.
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.


str.regset

Write a string as a registry key value. If there is no key, it will be created.

method uint str.regset (
   uint root,
   str subkey,
   str valname
)

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.

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