Skip to content
⌘ NSIS Forum Archive

write a REG_MULTI_SZ

3 posts

furrymitn#

write a REG_MULTI_SZ

Is there a way to write a REG_MULTI_SZ value to the registry? I need to set a service dependency under HKLM\SYSTEM\CurrentControlSet\Services, which requires DependOnService to be a REG_MULTI_SZ, not a REG_SZ.

Thanks..
justin#
Right now NSIS can't natively do this. What you can do however, is make a .REG file of what you want, and then ShellExecute it ... or something to that effect...

-Justin
Joost Verburg#
Originally posted by justin
Right now NSIS can't natively do this. What you can do however, is make a .REG file of what you want, and then ShellExecute it ... or something to that effect...

-Justin
That doesn't work when access to regedit has been disabled.