<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=REG_MULTI_SZ_Editor</id>
	<title>REG MULTI SZ Editor - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nsis.sourceforge.io/mediawiki/index.php?action=history&amp;feed=atom&amp;title=REG_MULTI_SZ_Editor"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=REG_MULTI_SZ_Editor&amp;action=history"/>
	<updated>2026-04-13T08:02:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=REG_MULTI_SZ_Editor&amp;diff=24560&amp;oldid=prev</id>
		<title>Kichik: Created page with &quot;{{PageAuthor|KiCHiK}}  This header file makes it easier to edit, replace or add single strings in a REG_MULTI_SZ value without any size limitations or the need to operate on a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=REG_MULTI_SZ_Editor&amp;diff=24560&amp;oldid=prev"/>
		<updated>2015-09-10T05:49:01Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{PageAuthor|KiCHiK}}  This header file makes it easier to edit, replace or add single strings in a REG_MULTI_SZ value without any size limitations or the need to operate on a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageAuthor|KiCHiK}}&lt;br /&gt;
&lt;br /&gt;
This header file makes it easier to edit, replace or add single strings in a REG_MULTI_SZ value without any size limitations or the need to operate on all of the strings at once.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;attach&amp;gt;RegMultiSzEditor.zip&amp;lt;/attach&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Advantages ==&lt;br /&gt;
&lt;br /&gt;
* Doesn&amp;#039;t require any plugins&lt;br /&gt;
* Supports values longer than 1024 characters&lt;br /&gt;
* Supports strings longer than 1024 characters as part of an even longer value&lt;br /&gt;
* Provides editing functionality per string&lt;br /&gt;
* Shared code for both Unicode and ANSI installers&lt;br /&gt;
* Has unit tests&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
* Not very fast&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
&lt;br /&gt;
=== Append ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
!include RegMultiSzEditor.nsh&lt;br /&gt;
&lt;br /&gt;
Function keep&lt;br /&gt;
&lt;br /&gt;
  ${EditRegMultiSZ_Keep}&lt;br /&gt;
&lt;br /&gt;
FunctionEnd&lt;br /&gt;
&lt;br /&gt;
Function append&lt;br /&gt;
&lt;br /&gt;
  ${EditRegMultiSZ_Add} &amp;quot;something that goes last&amp;quot;&lt;br /&gt;
&lt;br /&gt;
FunctionEnd&lt;br /&gt;
&lt;br /&gt;
Section test&lt;br /&gt;
&lt;br /&gt;
  !insertmacro EditRegMultiSZ ${HKEY_LOCAL_MACHINE} Software\NSIS\test multi &amp;quot;&amp;quot; keep append&lt;br /&gt;
&lt;br /&gt;
SectionEnd&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Prepend ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
!include RegMultiSzEditor.nsh&lt;br /&gt;
&lt;br /&gt;
Function prepend&lt;br /&gt;
&lt;br /&gt;
  ${EditRegMultiSZ_Add} &amp;quot;something that goes first&amp;quot;&lt;br /&gt;
&lt;br /&gt;
FunctionEnd&lt;br /&gt;
&lt;br /&gt;
Function keep&lt;br /&gt;
&lt;br /&gt;
  ${EditRegMultiSZ_Keep}&lt;br /&gt;
&lt;br /&gt;
FunctionEnd&lt;br /&gt;
&lt;br /&gt;
Section test&lt;br /&gt;
&lt;br /&gt;
  !insertmacro EditRegMultiSZ ${HKEY_LOCAL_MACHINE} Software\NSIS\test multi prepend keep &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
SectionEnd&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Replace ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
!include LogicLib.nsh&lt;br /&gt;
!include RegMultiSzEditor.nsh&lt;br /&gt;
&lt;br /&gt;
Function replace&lt;br /&gt;
&lt;br /&gt;
  ${If} $rSTR == &amp;quot;something to replace&amp;quot;&lt;br /&gt;
    ${EditRegMultiSZ_Add} &amp;quot;replacement&amp;quot;&lt;br /&gt;
  ${Else}&lt;br /&gt;
    ${EditRegMultiSZ_Keep}&lt;br /&gt;
  ${EndIf}&lt;br /&gt;
&lt;br /&gt;
FunctionEnd&lt;br /&gt;
&lt;br /&gt;
Section test&lt;br /&gt;
&lt;br /&gt;
  !insertmacro EditRegMultiSZ ${HKEY_LOCAL_MACHINE} Software\NSIS\test multi &amp;quot;&amp;quot; replace &amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
SectionEnd&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:INI, CSV &amp;amp; Registry Functions]]&lt;/div&gt;</summary>
		<author><name>Kichik</name></author>
	</entry>
</feed>