<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Serge Jespers &#187; deploying</title>
	<atom:link href="http://www.webkitchen.be/tag/deploying/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webkitchen.be</link>
	<description>Life as an Adobe platform evangelist</description>
	<lastBuildDate>Tue, 31 Jan 2012 17:35:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Deploying AIR applications</title>
		<link>http://www.webkitchen.be/2008/06/16/deploying-air-applications/</link>
		<comments>http://www.webkitchen.be/2008/06/16/deploying-air-applications/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 09:53:02 +0000</pubDate>
		<dc:creator>Serge Jespers</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[onAIR Tour]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[custom badge]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[deploying]]></category>
		<category><![CDATA[install badge]]></category>
		<category><![CDATA[onAIR]]></category>
		<category><![CDATA[tour]]></category>

		<guid isPermaLink="false">http://www.webkitchen.be/?p=142</guid>
		<description><![CDATA[My presentation at the On AIR tour through Europe was about signing, deploying and updating your AIR applications. If you didn&#8217;t make it to the tour or just want to read up on these topics, I wrote three separate posts about them on the train somewhere between Prague and Munich. You created your AIR file&#8230; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fdeploying-air-applications%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fdeploying-air-applications%2F&amp;source=sjespers&amp;style=normal&amp;service=bit.ly&amp;service_api=R_f11b21ad05448f9b4029b73b124e8d0e&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div class="note">My presentation at the On AIR tour through Europe was about <a href="http://www.webkitchen.be/2008/06/16/signing-air-applications" target="_blank">signing</a>, <a href="http://www.webkitchen.be/2008/06/16/deploying-air-applications/" target="_blank">deploying</a> and <a href="http://www.webkitchen.be/2008/06/16/updating-air-applications/" target="_blank">updating</a> your AIR applications. If you didn&#8217;t make it to the tour or just want to read up on these topics, I wrote three separate posts about them on the train somewhere between Prague and Munich.</div>
<p>You created your AIR file&#8230; so now what? The easiest thing to do is to upload the file to your server and put a link to it on your website. But this is not very user-friendly for whoever is going to download and install your application. In some cases, when your server isn&#8217;t configured to handle AIR files, it may even fail altogether. That&#8217;s why we created the concept of install badges. Install badges are basically a small Flash application that handles download and install in such a way that it becomes very easy for the end user to install your application.<br />
<span id="more-142"></span><br />
There are 3 different flavors of the install badge: The standard version, the &#8220;currently in beta&#8221; version and the custom install badge.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-149" style="border: 1px solid black;" title="defaultbadge" src="http://www.webkitchen.be/wp-content/uploads/2008/06/defaultbadge.jpg" alt="" width="216" height="127" /></p>
<p>The standard install badge is part of the <a href="http://www.adobe.com/products/air/tools/sdk/" target="_blank">AIR SDK</a>. If you download and extract that zip file, there&#8217;s a folder called samples that includes a ready-to-go sample. Just change some parameters in the source of the html, upload the files and your AIR file to your server and you&#8217;re done. I have to be honest and tell you that I don&#8217;t really like the standard badge. It&#8217;s fine if you just want a simple install badge but the beta badge is so much better.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-147 aligncenter" title="betabadge" src="http://www.webkitchen.be/wp-content/uploads/2008/06/betabadge.jpg" alt="" width="219" height="183" /></p>
<p>The beta badge is available on <a href="http://labs.adobe.com/wiki/index.php/AIR_Badge" target="_blank">Adobe Labs</a>. It is actually created by Grant Skinner. The first thing you notice when you launch the sample, is that it has a much cooler/smooth look. But this badge also has a bunch of extra features that the default badge doesn&#8217;t have. For one, this badge can determine if the application is already installed and then prompt the user to launch the application right from within the browser. It also detects if the user has the correct version of the runtime installed; if not, it will offer to download it. This badge also allows you to add a little bit of support information when the user clicks on the question-mark icon. But my favorite feature is that this badge uses SWFObject which is my preferred way of adding SWF content to a web page. If you compare the source of the default and beta badge, you&#8217;ll see that SWFObject and the way it handles FlashVars is a lot more readable compared to the name-value pairs in the default badge.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-148" title="custombadge" src="http://www.webkitchen.be/wp-content/uploads/2008/06/custombadge.jpg" alt="" width="250" height="344" /></p>
<p>The third option would be to build your own install badge. Don&#8217;t worry&#8230; you don&#8217;t have to start from scratch. The sources for both the default and beta badge are available so you can use these as the basis for your own. It&#8217;s as simple as that ;-) The great thing is that this can be anything you want to it to be and can have all the features you want it to have &#8217;cause well&#8230; you are building it. If you want to ping your server whenever someone starts the install of your application for instance, that is absolutely possible.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fdeploying-air-applications%2F&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:75px"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.webkitchen.be/2008/06/16/deploying-air-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Signing AIR applications</title>
		<link>http://www.webkitchen.be/2008/06/16/signing-air-applications/</link>
		<comments>http://www.webkitchen.be/2008/06/16/signing-air-applications/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 09:30:17 +0000</pubDate>
		<dc:creator>Serge Jespers</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[onAIR Tour]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[deploying]]></category>
		<category><![CDATA[onAIR]]></category>
		<category><![CDATA[signing]]></category>
		<category><![CDATA[tour]]></category>
		<category><![CDATA[updating]]></category>

		<guid isPermaLink="false">http://www.webkitchen.be/?p=143</guid>
		<description><![CDATA[My presentation at the On AIR tour through Europe was about signing, deploying and updating your AIR applications. If you didn&#8217;t make it to the tour or just want to read up on these topics, I wrote three separate posts about them on the train somewhere between Prague and Munich. First of all, why is [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fsigning-air-applications%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fsigning-air-applications%2F&amp;source=sjespers&amp;style=normal&amp;service=bit.ly&amp;service_api=R_f11b21ad05448f9b4029b73b124e8d0e&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<div class="note">My presentation at the On AIR tour through Europe was about <a href="http://www.webkitchen.be/2008/06/16/signing-air-applications" target="_blank">signing</a>, <a href="http://www.webkitchen.be/2008/06/16/deploying-air-applications/" target="_blank">deploying</a> and <a href="http://www.webkitchen.be/2008/06/16/updating-air-applications/" target="_blank">updating</a> your AIR applications. If you didn&#8217;t make it to the tour or just want to read up on these topics, I wrote three separate posts about them on the train somewhere between Prague and Munich.</div>
<p>First of all, why is signing an application important? Easy. When your application is unsigned or signed with a self-signed certificate, the user will get two red icons on the install screen. The first one is related to your code signing certificate. It&#8217;s telling you that the &#8220;publisher is unknown&#8221; which is very normal since we have no idea who actually signed this application.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-121 aligncenter" title="unknown" src="http://www.webkitchen.be/wp-content/uploads/2008/05/unknown.jpg" alt="" width="354" height="42" /></p>
<p>When you do get a code signing certificate and sign the application with it, the icon will turn green or in some cases yellow. The yellow icon will appear when you are using the file I/O API.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-120 aligncenter" title="known" src="http://www.webkitchen.be/wp-content/uploads/2008/05/known.jpg" alt="" width="354" height="31" /></p>
<p><span id="more-143"></span><br />
So where do you get a code signing certificate? Well, maybe you already have one. If you already bought one to sign Java or Cocoa applications for instance, chances are that this certificate is 100% compatible and you can use that. To make sure, check that your certificate is a Class 3 code signing certificate and you should be ready to go. If you don&#8217;t have, there&#8217;s a number of companies like Thawte.com that actually sell these. But if you upload your application to the <a href="http://www.adobe.com/go/marketplace" target="_blank">Adobe AIR marketplace</a>, you may get a complimentary code signing certificate from us. More info <a href="http://www.adobe.com/products/air/assets/popup/thawte_popup.html" target="_blank">here</a>.</p>
<p>I&#8217;m mainly using Flex for AIR development but the workflow is very similar in Flash or Dreamweaver. In case of Flex, you are actually going to build a release version of your application. To do that, you click the &#8220;export release build&#8221;-button. That will popup a little wizard window. In the first window, you can specify where you want to save your .AIR file. In this case, I&#8217;m saving it on the desktop.<br />
<a href="http://www.adobe.com/go/marketplace" target="_blank"></a></p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-145 aligncenter" title="exportreleasebuild" src="http://www.webkitchen.be/wp-content/uploads/2008/06/exportreleasebuild.jpg" alt="" width="450" height="407" /></p>
<p>When you click &#8220;next&#8221;, Flex will ask you to specify which digital certificate you want to use. If you don&#8217;t have one but still want to build a .AIR file for testing, click on the &#8220;create&#8221; button. When you fill out all the details of that form, you can save that self signed certificate so you don&#8217;t have to fill out that form every time. I saved mine in my home folder. Once you have created it, you can easily reuse it by just entering your password.</p>
<p style="text-align: center;"><img class="alignnone size-full wp-image-146 aligncenter" title="exportreleasebuild2" src="http://www.webkitchen.be/wp-content/uploads/2008/06/exportreleasebuild2.jpg" alt="" width="450" height="407" /></p>
<p>If you already have a code signing certificate, you can browse to the location you saved it to use it. Click &#8220;finish&#8221; and your AIR file is going to be baked. That&#8217;s it.</p>
<iframe id="basic_facebook_social_plugins_likebutton" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.webkitchen.be%2F2008%2F06%2F16%2Fsigning-air-applications%2F&amp;layout=standard&amp;show_faces=true&amp;width=500&amp;action=like&amp;font=arial&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:500px; height:75px"></iframe>]]></content:encoded>
			<wfw:commentRss>http://www.webkitchen.be/2008/06/16/signing-air-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

