Skip to content
⌘ NSIS Forum Archive

Binary InstallDirRegKey possible?

5 posts

Breepee#

Binary InstallDirRegKey possible?

Can I somehow use a binary key (which contains a directory where I want to put some files in) as InstallDirRegKey?

Windows Registry Editor shows the binary data also as letters (a valid path).
Joost Verburg#
It should be a string. I don't see why you would use binary data. You could write a plug-in and set $INSTDIR in the .onInit function.
Breepee#
It's not my choice really. It's a addon for an existing program. Strangely it stores it's installdir as a binary string in the registry. Nontheless I need to use that string.

Can you/someone write the code that does what I want? I'm afraid I'm not smart enough to do that myself.