rmoc
Posts: 19
Joined: Tue Mar 14, 2017 8:27 pm

Force REG_MULTI_SZ registry entry

Mon Oct 17, 2022 11:14 am

My application requires that I create a registry entry of the type "REG_MULTI_SZ". Currently, however, I can only force this if my current value contains at least 2 lines or the second line also has at least one character.
reg_multi_sz.png
reg_multi_sz.png (14.22KiB)Viewed 2897 times
Is there any way to force this? This is supported in Regedit.
regedit.png
regedit.png (10.91KiB)Viewed 2897 times

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

Re: Force REG_MULTI_SZ registry entry

Mon Oct 17, 2022 3:31 pm

Hello,

Please have a look over the following thread in which the same issue is discussed:

Make a single line value with type REG_MULTI_SZ

Hope it helps!

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

rmoc
Posts: 19
Joined: Tue Mar 14, 2017 8:27 pm

Re: Force REG_MULTI_SZ registry entry

Wed Nov 16, 2022 9:42 pm

Hi Catalin

thank you thats works for me.

Regards,
René

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

Re: Force REG_MULTI_SZ registry entry

Fri Nov 18, 2022 1:21 pm

You are always welcome, René!

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

Return to “Common Problems”