Publishing an Adobe Air Desktop Application
Learn how to publish your desktop Air App and how to create your own self certification.
Video Transcript
00:00An important thing to note is before we could actually publish our application we have to make
00:04sure that we have our XML file and our SWIFT file. Now if you're completely new to Flash the SWIFT
00:10file is actually the file that is automatically created and that's the file you would usually
00:15historically put up on the web. The creation of that file is really easy all you have to do
00:20is click on command enter or to go in your panel and select control test movie or test which
00:28would basically be the same thing. So in our case once I click on test it will automatically create
00:34two things for me because we're running an air application. For one it's going to create the
00:39SWIFT file so if I go into my directory it will create the SWIFT file but secondly it will create
00:44also my XML file. Now that I have both the XML file and the SWIFT file I'm ready to publish my
00:51file. Publishing is easy as well so from my file menu I'm going I'll go down and I'll select publish
00:59because this is the first time that we publish and there is no signature on our application
01:04it will automatically go into our air settings. You can reach the air settings as well by going
01:10into if I cancel this by going into file publish settings and then going into the settings of our
01:17air 3.6 for desktop. Once we're there we could go into the signature and in the signature itself
01:24literally what we need to do is we need to or put in our certificate which basically says who we are
01:32or create a new one. In our case because it's the first application that we ever create
01:37I'm going to create a new one by clicking on new. Once I've done that it's time for me to
01:42put inside the information of the name of the publisher. So in our case that would be zero to
01:48geek organization unit I don't know zero to geek organization name zero to geek country United
01:58States. I'm going to put here a password so I'm just going to put here an easy password to
02:03remember one two three four and I'm going to confirm that password by typing one two three
02:08four so I'll just put here instead of our real name let's put here example example
02:18we're going to unit example unit organization name zero to geek all right so our encryption type
02:27could be 1024 or 2048 we're going to keep it 1024 this is good enough for us and we can select
02:36where do we want to save our file I'm just going to make sure that I'm going to save it
02:39on the desktop and then I'll just move it into our working folder which is in hello air so inside
02:46of our low air I'm going to save the file air desktop p12 we could give it our name itself
02:53because it's not necessarily connected only to this specific application it's our publisher
02:57name in general so I'm going to call this maybe zero to geek example all right and I'm going to
03:02click on save once I clicked on save all that's left for me to do is click on okay once I've
03:08clicked on okay I've just created a signed certificate and now I'm ready to identify myself
03:15now all that's left for me to do is to put that password so I'm going to put my password of one
03:19two three four and I'm just going to click on remember password for this session so we don't
03:24need to redo it over and over and that's all we really had to do once we click on the publish
03:29button we will now be able to publish our application and export it as an air application
03:35the application has been successfully published and if we go into our file we should find now an
03:41air application if we double click on it to try to get into it we'll see that an air application
03:47will open up um and it will request us to install air because we don't have air on our
03:55application oh do we want to install this application we sure do we don't know who
03:59the publisher is and the reason why we don't know the publisher is because it's not a real
04:05to to be able to be a known publisher you have to purchase a certificate although we're self
04:11certifying ourselves we could actually purchase a certificate and once we purchase a certificate
04:17then the publisher itself would be known as well so I'm going to click on that install button
04:22and once I click on install it's going to ask me where do I want to install my application I'm
04:26going to keep it there in the applications and once I created the application here we go we just
04:31have an application we both store the process of setting up a certificate which is mandatory
04:37all the way through to publishing and actually working on our application now one thing that you
04:43should note is if we close our application down is that the application extension is dot air
04:49and in other words if the user doesn't have air installed on their system they wouldn't even know
04:54what to do with this extension and we're going to look into that in a later video about how
04:58could you create as we talked in one of our intro videos how could you create a captivate experience
05:04where your file would include also all that libraries that come with the air application
05:08but notice how smaller application is because we didn't bundle into it the sdk once we will add
05:15that in our application will automatically be much larger all right so that's it for how to create
05:20a basic desktop low world application
