<?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=NT_Profile_Paths</id>
	<title>NT Profile Paths - 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=NT_Profile_Paths"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;action=history"/>
	<updated>2026-06-02T09:16:01Z</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=NT_Profile_Paths&amp;diff=17925&amp;oldid=prev</id>
		<title>Zinthose: moved Get Default Profiles Directory to NT Profile Paths:&amp;#32;Expanded original into a collection of macros and encapsulated them into an NSH</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17925&amp;oldid=prev"/>
		<updated>2009-12-04T18:47:39Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Get_Default_Profiles_Directory&quot; class=&quot;mw-redirect&quot; title=&quot;Get Default Profiles Directory&quot;&gt;Get Default Profiles Directory&lt;/a&gt; to &lt;a href=&quot;/NT_Profile_Paths&quot; title=&quot;NT Profile Paths&quot;&gt;NT Profile Paths&lt;/a&gt;: Expanded original into a collection of macros and encapsulated them into an NSH&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;â† Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:47, 4 December 2009&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key n22049_wiki-wiki_:diff::1.12:old-17924:rev-17925 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zinthose</name></author>
	</entry>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17924&amp;oldid=prev</id>
		<title>Zinthose: Expanded into a full set of macros that are encapsolated in a NSH</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17924&amp;oldid=prev"/>
		<updated>2009-12-04T18:45:50Z</updated>

		<summary type="html">&lt;p&gt;Expanded into a full set of macros that are encapsolated in a NSH&lt;/p&gt;
&lt;a href=&quot;https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;amp;diff=17924&amp;amp;oldid=17923&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Zinthose</name></author>
	</entry>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17923&amp;oldid=prev</id>
		<title>Zinthose: /* The Macro */</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17923&amp;oldid=prev"/>
		<updated>2009-12-03T19:52:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The Macro&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;â† Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:52, 3 December 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose push&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose push&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose 0&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         ReadRegStr ${_OUTVAR} &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HKEY_LOCAL_MACHINE &lt;/del&gt;&amp;quot;SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&amp;quot; ProfilesDirectory&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         ReadRegStr ${_OUTVAR} &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HKLM &lt;/ins&gt;&amp;quot;SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&amp;quot; ProfilesDirectory&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         ExpandEnvStrings ${_OUTVAR} ${_OUTVAR}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         ExpandEnvStrings ${_OUTVAR} ${_OUTVAR}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose pop&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;         !verbose pop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key n22049_wiki-wiki_:diff::1.12:old-17922:rev-17923 --&gt;
&lt;/table&gt;</summary>
		<author><name>Zinthose</name></author>
	</entry>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17922&amp;oldid=prev</id>
		<title>Zinthose: Initial Release</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=NT_Profile_Paths&amp;diff=17922&amp;oldid=prev"/>
		<updated>2009-12-03T19:51:52Z</updated>

		<summary type="html">&lt;p&gt;Initial Release&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PageAuthor|Zinthose}}&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Simple implementation to retrieve the default path for user profiles.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
    ${ProfilesDirectory} $0&lt;br /&gt;
    DetailPrint &amp;quot;Profiles Directory = $0&amp;quot;&lt;br /&gt;
    ; OutPut: Profiles Directory = C:\Documents and Settings&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Macro ==&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
## Windows 2000 and newer required.&lt;br /&gt;
## Retrieve the default path for user profiles.&lt;br /&gt;
    !define ProfilesDirectory `!insertmacro _ProfilesDirectory`&lt;br /&gt;
    !macro _ProfilesDirectory _OUTVAR&lt;br /&gt;
        !verbose push&lt;br /&gt;
        !verbose 0&lt;br /&gt;
        ReadRegStr ${_OUTVAR} HKEY_LOCAL_MACHINE &amp;quot;SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&amp;quot; ProfilesDirectory&lt;br /&gt;
        ExpandEnvStrings ${_OUTVAR} ${_OUTVAR}&lt;br /&gt;
        !verbose pop&lt;br /&gt;
    !macroend&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
[[Category:Disk, Path &amp;amp; File Functions]]&lt;/div&gt;</summary>
		<author><name>Zinthose</name></author>
	</entry>
</feed>