Reference/WriteRegBin
From NSIS Wiki
Jump to navigationJump to search
WriteRegBin
root_key subkey key_name valuedata
This command writes a block of binary data to the registry. Valid values for root_key are listed under WriteRegStr. Valuedata is in hexadecimal (e.g. DEADBEEF01223211151). The error flag is set if the binary data could not be written to the registry. If the registry key doesn't exist it will be created.
WriteRegBin HKLM "Software\My Company\My Software" "Binary Value" DEADBEEF01223211151