Skip to content
⌘ NSIS Forum Archive

Maximum length of a registry value

5 posts

jakorsme#

Maximum length of a registry value

I seem to have hit a limit using WriteRegStr to write a registry value. The value is truncated at 1024 characters.

I don't believe this is a Windows registry issue (per Microsoft docs).
Is this the WriteRegStr truncating this, or is this a limit of nsis variables? What is the workaround?

Thanks,
John
Red Wine#
You've reached the limit of max length string for common NSIS release.

See here for other options,
jakorsme#
Thanks, I'll try that. Should I be concerned about injecting other bugs with this new release, or is it just a compile option that uses the same release/code?

John