<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Auto update for Adobe Air executable (exe)</title>
	<atom:link href="http://www.kleptomac.com/auto-update-for-adobe-air-executable-exe.htm/feed" rel="self" type="application/rss+xml" />
	<link>http://www.kleptomac.com/auto-update-for-adobe-air-executable-exe.htm</link>
	<description>A series of experiences on life and technology</description>
	<lastBuildDate>Thu, 05 Aug 2010 16:03:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: screenworker</title>
		<link>http://www.kleptomac.com/auto-update-for-adobe-air-executable-exe.htm/comment-page-1#comment-10004</link>
		<dc:creator>screenworker</dc:creator>
		<pubDate>Tue, 29 Jun 2010 21:42:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.kleptomac.com/?p=151#comment-10004</guid>
		<description>That still shows the default update dialogbox!

To prevent them use the code as follows and stoping the updater:

----------------

			private function checkForUpdate():void 
	        {
	        	// Find the current version so we can show it below
	            setApplicationVersion(); 
	            // Server-side XML file describing update
	            appUpdater.updateURL = ApplicationController.UPDATE_URL; 
	            // We won&#039;t ask permission to check for an update
	            appUpdater.isCheckForUpdateVisible = false; 
				//versions detection
	            appUpdater.isNewerVersionFunction = compareVersion;
	            // Once initialized, run onUpdate
	            appUpdater.addEventListener(UpdateEvent.INITIALIZED, updateInitializedHandler); 
	            // If something goes wrong, run onError
	            appUpdater.addEventListener(ErrorEvent.ERROR, updateErrorHandler); 
	            // Initialize the update framework
	            appUpdater.initialize(); 
	        }
			private function compareVersion(currentVersion:String, updateVersion:String):Boolean
			{
				//stop showing default updater dialogbox
				appUpdater.cancelUpdate();
				//compare versions
				if(currentVersion != updateVersion)
				{
					 // set an information text for the user
				 	 var dialogCopy:String = &quot;An updated version &quot; +updateVersion + &quot; is available. Click here to download.&quot;;
				    // or directly display a download prompt
				    //var urlReq:URLRequest = new URLRequest(“”);
				    //navigateToURL(urlReq);
				}
				
				return false;
			}</description>
		<content:encoded><![CDATA[<p>That still shows the default update dialogbox!</p>
<p>To prevent them use the code as follows and stoping the updater:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>			private function checkForUpdate():void<br />
	        {<br />
	        	// Find the current version so we can show it below<br />
	            setApplicationVersion();<br />
	            // Server-side XML file describing update<br />
	            appUpdater.updateURL = ApplicationController.UPDATE_URL;<br />
	            // We won&#8217;t ask permission to check for an update<br />
	            appUpdater.isCheckForUpdateVisible = false;<br />
				//versions detection<br />
	            appUpdater.isNewerVersionFunction = compareVersion;<br />
	            // Once initialized, run onUpdate<br />
	            appUpdater.addEventListener(UpdateEvent.INITIALIZED, updateInitializedHandler);<br />
	            // If something goes wrong, run onError<br />
	            appUpdater.addEventListener(ErrorEvent.ERROR, updateErrorHandler);<br />
	            // Initialize the update framework<br />
	            appUpdater.initialize();<br />
	        }<br />
			private function compareVersion(currentVersion:String, updateVersion:String):Boolean<br />
			{<br />
				//stop showing default updater dialogbox<br />
				appUpdater.cancelUpdate();<br />
				//compare versions<br />
				if(currentVersion != updateVersion)<br />
				{<br />
					 // set an information text for the user<br />
				 	 var dialogCopy:String = &#8220;An updated version &#8221; +updateVersion + &#8221; is available. Click here to download.&#8221;;<br />
				    // or directly display a download prompt<br />
				    //var urlReq:URLRequest = new URLRequest(“”);<br />
				    //navigateToURL(urlReq);<br />
				}</p>
<p>				return false;<br />
			}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jai.chandra</title>
		<link>http://www.kleptomac.com/auto-update-for-adobe-air-executable-exe.htm/comment-page-1#comment-9874</link>
		<dc:creator>jai.chandra</dc:creator>
		<pubDate>Sat, 03 Apr 2010 10:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.kleptomac.com/?p=151#comment-9874</guid>
		<description>appUpdater.updateURL provides the location of the descriptor file. It contains information on where to download the file from as well as the version. But you still need to verify if the client copy needs an update or not (based on versions) and then provide a prompt to the client for upgrade, if required.</description>
		<content:encoded><![CDATA[<p>appUpdater.updateURL provides the location of the descriptor file. It contains information on where to download the file from as well as the version. But you still need to verify if the client copy needs an update or not (based on versions) and then provide a prompt to the client for upgrade, if required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rahul</title>
		<link>http://www.kleptomac.com/auto-update-for-adobe-air-executable-exe.htm/comment-page-1#comment-9873</link>
		<dc:creator>rahul</dc:creator>
		<pubDate>Sat, 03 Apr 2010 07:14:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.kleptomac.com/?p=151#comment-9873</guid>
		<description>Hi,
 
    Is it possible to update using appUpdater.updateURL ??</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>    Is it possible to update using appUpdater.updateURL ??</p>
]]></content:encoded>
	</item>
</channel>
</rss>
