tags:

views:

30

answers:

1

I have an AIR application that is the following:

<h1>Hello World</h1>

It runs on my local machine: C:\inetpub\wwwroot\AIR\HelloWorldDestination.air

And it runs if I choose "preview in Adobe AIR" in Dreamweaver.

But I can't get it to download and install from my website. Here is the application.xml that Dreamweaver created:

<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/2.0"&gt;
    <filename>HelloWorldFileName</filename>
    <copyright>Hello World Copyright</copyright>
    <description>Hello World Description</description>
    <customUpdateUI>false</customUpdateUI>
    <name>HelloWorldAppName</name>
    <id>com.PhillipSenn.HelloWorldID</id>
  <version>1</version>
  <initialWindow>
    <content>HelloWorld.htm</content>
    <height>600</height>
    <width>800</width>
    <systemChrome>standard</systemChrome>
    <transparent>false</transparent>
    <visible>true</visible>
  </initialWindow>
</application>

It's giving me an error 2032. I have uploaded these files as well:

  • AC_RunActiveContent.js
  • badge.swf
  • HelloWorldDestination.air

Here's my line of code in Index.htm:

'flashvars','appname=HelloWorldAppName&appurl=http://www.PhillipSenn.com/AIR/HelloWorldDestination.air&amp;airversion=2.0&amp;imageurl=css/Install.gif',

When I create the AIR file, Dreamweaver gives me the following warning:

In order to install this application on your machine, you need the Adobe AIR runtime that can be downloaded from: http://www.adobe.com/go/air

+1  A: 

The application to be installed cannot be found at http://www.phillipsenn.com/AIR/HelloWorldDestination.air

Alin Purcaru
http://blogs.adobe.com/ashutosh/2009/02/setting_the_correct_mime_type.html
cf_PhillipSenn
By adding the correct mime type, my program began working. Thanks Alin!
cf_PhillipSenn

related questions