<?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=Talk%3AServices_plug-in</id>
	<title>Talk:Services plug-in - 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=Talk%3AServices_plug-in"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Services_plug-in&amp;action=history"/>
	<updated>2026-05-10T17:20:50Z</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=Talk:Services_plug-in&amp;diff=18022&amp;oldid=prev</id>
		<title>95.132.238.85: /* Mjog upplysandi */ new section</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Services_plug-in&amp;diff=18022&amp;oldid=prev"/>
		<updated>2010-01-17T06:38:42Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Mjog upplysandi: &lt;/span&gt; new section&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 06:38, 17 January 2010&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-l102&quot;&gt;Line 102:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 102:&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;   USGE:     Abort&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;   USGE:     Abort&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;   USGE:   success:&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;   USGE:   success:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Mjog upplysandi ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&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;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lart mikid&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key n22049_wiki-wiki_:diff::1.12:old-15378:rev-18022 --&gt;
&lt;/table&gt;</summary>
		<author><name>95.132.238.85</name></author>
	</entry>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Services_plug-in&amp;diff=15378&amp;oldid=prev</id>
		<title>132.146.190.144 at 10:30, 9 June 2008</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Talk:Services_plug-in&amp;diff=15378&amp;oldid=prev"/>
		<updated>2008-06-09T10:30:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Function Level Docs : [ extracted from the source ]&lt;br /&gt;
---------------------&lt;br /&gt;
&lt;br /&gt;
GetServiceNameFromDisplayName:&lt;br /&gt;
  DESC: Find the internal service name of all services whose display name (as&lt;br /&gt;
  DESC: seen in the Services Control Panel) contains the given name or name&lt;br /&gt;
  DESC: fragment (case insensitive match).&lt;br /&gt;
  ARGS: Push the display name or display name fragment onto the stack&lt;br /&gt;
  RETN: One or more values on the stack.&lt;br /&gt;
  RETN:   The first will be the count of matches found.&lt;br /&gt;
  RETN:   The second will be the reason for finding no matches, OR the first match.&lt;br /&gt;
  RETN:   The third and so on will be the remaining matches upto the count.&lt;br /&gt;
  USGE: See the FindServices.nsi example.&lt;br /&gt;
&lt;br /&gt;
IsProcessUserAdministrator:&lt;br /&gt;
  DESC: Find out if the user (the owner of the current process) is a member of&lt;br /&gt;
  DESC: the administrators group on the local computer (not on the domain!).&lt;br /&gt;
  ARGS: Push the service name onto the stack.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Yes&amp;#039; or &amp;#039;No&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::IsProcessUserAdministrator&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
HasLogonAsAService:&lt;br /&gt;
  DESC: Find out if the current user (the owner of the process) has the LSA&lt;br /&gt;
  DESC: (Local Security Authority) policy right &amp;#039;SeServiceLogonRight&amp;#039;.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Yes&amp;#039; or &amp;#039;No&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::HasLogonAsAService &amp;#039;3B2\Ximon_Eighteen&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
GrantLogonAsAService:&lt;br /&gt;
  DESC: Grant the current user (the owner of the process) the LSA&lt;br /&gt;
  DESC: (Local Security Authority) policy right &amp;#039;SeServiceLogonRight&amp;#039;.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Ok&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::GrantLogonAsAService &amp;#039;3B2\Ximon_Eighteen&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
RemoveLogonAsAService:&lt;br /&gt;
  DESC: Deny the current user (the owner of the process) the LSA&lt;br /&gt;
  DESC: (Local Security Authority) policy right &amp;#039;SeServiceLogonRight&amp;#039;.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Ok&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::RemoveLogonAsAService &amp;#039;3B2\Ximon_Eighteen&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
IsServiceInstalled:&lt;br /&gt;
  DESC: Find out if the named service is installed.&lt;br /&gt;
  ARGS: Push the service name onto the stack.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Yes&amp;#039; or &amp;#039;No&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::IsServiceInstalled &amp;#039;MyServiceName&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
IsServiceRunning&lt;br /&gt;
  DESC: Find out if the named service is installed and running.&lt;br /&gt;
  ARGS: Push the service name onto the stack.&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Yes&amp;#039; or &amp;#039;No&amp;#039; if there were no problems, otherwise&lt;br /&gt;
  RETN: the reason for the failure will be in the result string.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::IsServiceRunning &amp;#039;MyServiceName&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   ; $0 now contains either &amp;#039;Yes&amp;#039;, &amp;#039;No&amp;#039; or an error description&lt;br /&gt;
&lt;br /&gt;
SendServiceCommand:&lt;br /&gt;
  DESC: Send a command (Start, Stop, Pause, Continue or Delete) to the Service&lt;br /&gt;
  DESC: Control Manager (SCM) for a given service.&lt;br /&gt;
  ARGS: Push service command string onto the stack&lt;br /&gt;
  ARGS: Push service name string onto the stack&lt;br /&gt;
  RETN: Pop the result string from the stack.&lt;br /&gt;
  RETN: The result will be &amp;#039;Ok&amp;#039; if there were no problems, or the reason for&lt;br /&gt;
  RETN: failure otherwise.&lt;br /&gt;
  USGE: Use it like this :-&lt;br /&gt;
  USGE:&lt;br /&gt;
  USGE:   services::SendServiceCommand &amp;#039;start&amp;#039; &amp;#039;MyServiceName&amp;#039;&lt;br /&gt;
  USGE:   Pop $0&lt;br /&gt;
  USGE:   StrCmp $0 &amp;#039;Ok&amp;#039; success 0&lt;br /&gt;
  USGE:     MessageBox MB_OK|MB_ICONSTOP &amp;#039;Failed to send service command: Reason: $0&amp;#039; 0 0&lt;br /&gt;
  USGE:     Abort&lt;br /&gt;
  USGE:   success:&lt;/div&gt;</summary>
		<author><name>132.146.190.144</name></author>
	</entry>
</feed>