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

Force REG_MULTI_SZ registry entry

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.22 KiB) Viewed 2933 times
Is there any way to force this? This is supported in Regedit.
regedit.png
regedit.png (10.91 KiB) Viewed 2933 times
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Force REG_MULTI_SZ registry entry

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

Hi Catalin

thank you thats works for me.

Regards,
René
Catalin
Posts: 6584
Joined: Wed Jun 13, 2018 7:49 am

Re: Force REG_MULTI_SZ registry entry

You are always welcome, René!

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

Return to “Common Problems”