Unable to set Binary value in windows registry



1 comment

  • Avatar

    The value for REG_BINARY is expected to be in binary form already.

    In general, it is recommended to simply ship a .reg file and simply run reg import command. For example it is possible to ship registry.reg as one of the files - such as:

    Windows Registry Editor Version 5.00


    And then run reg command:

        <programArguments>import "${installdir.dos}\registry.reg"</programArguments>

    However, in this case it is also possible to use <decodeBase64> action to decode a binary 1 value (binary 0 value is AA== when base64-encoded):


Please sign in to leave a comment.