Convert string to hex for registry write
Hi,
I'm a newbie in NSIS developement and I've few problems with registry.
I need to convert the following string "$EXEDIR\App\Chainer\VstPlugins" to hex values for import in the registry like that :
WriteRegBin HKCU "Software\Xlutop\Chainer\1.0" "VstPaths" xxxxxxxx
where xxxxxxxx must be replaced by the hex value of "$EXEDIR\App\Chainer\VstPlugins".
I've found the registry function ${registry::StrToHex} but I have no idea how to use it.
Here's my code :
${registry::StrToHex} "$EXEDIR\App\Chainer\VstPlugins" $varThanks you
- Read more about Convert string to hex for registry write
- 4 comments
- Log in or register to post comments