Reference/WriteRegBin: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
(Created page with "=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 [[Reference/WriteRegStr...")
 
(No difference)

Latest revision as of 17:05, 25 November 2011

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