<?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=Dialer_plug-in</id>
	<title>Dialer 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=Dialer_plug-in"/>
	<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Dialer_plug-in&amp;action=history"/>
	<updated>2026-04-07T06:51:40Z</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=Dialer_plug-in&amp;diff=24912&amp;oldid=prev</id>
		<title>Bugmenot: + Category:Plugins</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Dialer_plug-in&amp;diff=24912&amp;oldid=prev"/>
		<updated>2017-05-12T09:13:37Z</updated>

		<summary type="html">&lt;p&gt;+ &lt;a href=&quot;/Category:Plugins&quot; title=&quot;Category:Plugins&quot;&gt;Category:Plugins&lt;/a&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 09:13, 12 May 2017&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-l97&quot;&gt;Line 97:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 97:&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;:* offline - system is offline&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;:* offline - system is offline&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;:Requires Internet Explorer 4 or later&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;:Requires Internet Explorer 4 or later&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;[[Category:Plugins]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key n22049_wiki-wiki_:diff::1.12:old-24911:rev-24912 --&gt;
&lt;/table&gt;</summary>
		<author><name>Bugmenot</name></author>
	</entry>
	<entry>
		<id>https://nsis.sourceforge.io/mediawiki/index.php?title=Dialer_plug-in&amp;diff=24911&amp;oldid=prev</id>
		<title>Bugmenot: created from http://nsis.sourceforge.net/Docs/Dialer/Dialer.txt</title>
		<link rel="alternate" type="text/html" href="https://nsis.sourceforge.io/mediawiki/index.php?title=Dialer_plug-in&amp;diff=24911&amp;oldid=prev"/>
		<updated>2017-05-12T09:11:57Z</updated>

		<summary type="html">&lt;p&gt;created from http://nsis.sourceforge.net/Docs/Dialer/Dialer.txt&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Written by Amir Szekely aka KiCHiK&amp;lt;br/&amp;gt;&lt;br /&gt;
Readme by Joost Verburg&lt;br /&gt;
&lt;br /&gt;
The Dialer plugin for NSIS provides five functions related to internet connections.&lt;br /&gt;
&lt;br /&gt;
To download files from the internet, use the [[NSISdl plugin]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
Example of usage:&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
ClearErrors           ;Clear the error flag&lt;br /&gt;
Dialer::FunctionName  ;Call Dialer function&lt;br /&gt;
IfErrors &amp;quot;&amp;quot; +3        ;Check for errors&lt;br /&gt;
  MessageBox MB_OK &amp;quot;Function not available&amp;quot;&lt;br /&gt;
  Quit&lt;br /&gt;
Pop $R0               ;Get the return value from the stack&lt;br /&gt;
MessageBox MB_OK $R0  ;Display the return value&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example function ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;highlight-nsis&amp;gt;&lt;br /&gt;
; ConnectInternet (uses Dialer plugin)&lt;br /&gt;
; Written by Joost Verburg &lt;br /&gt;
;&lt;br /&gt;
; This function attempts to make a connection to the internet if there is no&lt;br /&gt;
; connection available. If you are not sure that a system using the installer&lt;br /&gt;
; has an active internet connection, call this function before downloading&lt;br /&gt;
; files with NSISdl.&lt;br /&gt;
; &lt;br /&gt;
; The function requires Internet Explorer 3, but asks to connect manually if&lt;br /&gt;
; IE3 is not installed.&lt;br /&gt;
&lt;br /&gt;
Function ConnectInternet&lt;br /&gt;
&lt;br /&gt;
  Push $R0&lt;br /&gt;
    &lt;br /&gt;
    ClearErrors&lt;br /&gt;
    Dialer::AttemptConnect&lt;br /&gt;
    IfErrors noie3&lt;br /&gt;
    &lt;br /&gt;
    Pop $R0&lt;br /&gt;
    StrCmp $R0 &amp;quot;online&amp;quot; connected&lt;br /&gt;
      MessageBox MB_OK|MB_ICONSTOP &amp;quot;Cannot connect to the internet.&amp;quot;&lt;br /&gt;
      Quit ;Remove to make error not fatal&lt;br /&gt;
    &lt;br /&gt;
    noie3:&lt;br /&gt;
  &lt;br /&gt;
    ; IE3 not installed&lt;br /&gt;
    MessageBox MB_OK|MB_ICONINFORMATION &amp;quot;Please connect to the internet now.&amp;quot;&lt;br /&gt;
    &lt;br /&gt;
    connected:&lt;br /&gt;
  &lt;br /&gt;
  Pop $R0&lt;br /&gt;
  &lt;br /&gt;
FunctionEnd&lt;br /&gt;
&amp;lt;/highlight-nsis&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Functions ==&lt;br /&gt;
&lt;br /&gt;
If a function is not available on the system, the error flag will be set.&lt;br /&gt;
&lt;br /&gt;
;AttemptConnect&lt;br /&gt;
:Attempts to make a connection to the Internet if the system is not connected. &lt;br /&gt;
:Return values:&lt;br /&gt;
:* online - already connected / connection successful&lt;br /&gt;
:* offline - connection failed&lt;br /&gt;
:Requires Internet Explorer 3 or later&lt;br /&gt;
&lt;br /&gt;
;AutodialOnline&lt;br /&gt;
:Causes the modem to automatically dial the default Internet connection if the system is not connected to the internet. If the system is not set up to automatically connect, it will prompt the user.&lt;br /&gt;
:Return values:&lt;br /&gt;
:* online - already connected / connection successful&lt;br /&gt;
:* offline - connection failed&lt;br /&gt;
:Requires Internet Explorer 4 or later&lt;br /&gt;
&lt;br /&gt;
;AutodialUnattended&lt;br /&gt;
:Causes the modem to automatically dial the default Internet connection if the system is not connected to the internet. The user will not be prompted.&lt;br /&gt;
:Return values:&lt;br /&gt;
:* online - already connected / connection successful&lt;br /&gt;
:* offline - connection failed&lt;br /&gt;
:Requires Internet Explorer 4 or later&lt;br /&gt;
&lt;br /&gt;
;AutodialHangup&lt;br /&gt;
:Disconnects an automatic dial-up connection.&lt;br /&gt;
:Return values:&lt;br /&gt;
:* success - disconnection successful&lt;br /&gt;
:* failure - disconnection failed&lt;br /&gt;
:Requires Internet Explorer 4 or later&lt;br /&gt;
&lt;br /&gt;
;GetConnectedState&lt;br /&gt;
:Checks whether the system is connected to the internet.&lt;br /&gt;
:Return values:&lt;br /&gt;
:* online - system is online&lt;br /&gt;
:* offline - system is offline&lt;br /&gt;
:Requires Internet Explorer 4 or later&lt;/div&gt;</summary>
		<author><name>Bugmenot</name></author>
	</entry>
</feed>