LrngToFly
Posts: 16
Joined: Fri Nov 03, 2017 6:28 pm

appending data to existing REG_BINARY regkey

Mon May 16, 2022 2:54 pm

Hello-

I need to author an installer that appends data to an existing REG_BINARY registry key that a prior installer has created.

Does anyone know if Advanced Installer has a mechanism to help with this or do I need to script something? I see the ability in the "Edit Registry Entry" dialog box to "Append to existing value" for String, but not for Binary.

Thanks for any help or pointers.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: appending data to existing REG_BINARY regkey

Mon May 16, 2022 3:11 pm

Hello,

I'm afraid we do not have an option to "append" something at the end of a REG_BINARY key, but what we can do here is overwriting the value.

For instance, if the value of the previous key was:

Code: Select all

00 00 01 11
and we would like to append something to that, we can recreate the structure of the key in Advanced Installer and then use the following value as the "Data":

Code: Select all

00 00 01 11 01 10
After installation, the second value should be displayed in the registry.

Hope this helps!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”