WriteReg function gives error for large registry values
In NSIS i am using WriteRegBin. But if the length of value is large(about more than 15000 characters) then while compiling nsi code it will not work and compiling stops.
For example(Below code has if has about more than 1500 characters then error comes)
WriteRegBin HKEY_LOCAL_MACHINE "SOFTWARE\nnn\qwrtt\B4CA2970-DD2B-11D0-9DFA-00AA00AF3494020000000000500002000000000000003070693300000000000000000400000000.....etc etc etc..
So how it can be solved. I know i can use importing registry file as shown below.
ExecWait '"regedit.exe" /s "$TEMP\registryfile.reg"'
But how i can i manage in WriteRegBin function