不AIR运行时文件运行AIR应用程序 [英] Run AIR app without AIR runtime files

查看:155
本文介绍了不AIR运行时文件运行AIR应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我做了使用Flash Builder 4的AIR应用程序伟大的作品,但我想无需安装运行应用程序。所以.....当我安装的应用程序,我是从程序文件中的文件复制并粘贴在CD上,并把它送给别人。他在没有AIR运行时使用的结果是,这是行不通的另一台计算机上运行它。 我怎么能绕过这个?像一些发射器/设置一个安装AIR运行时的客户端,如果它是不是安装。如果已安装,运行AIR应用程序。

I've made an AIR app with Flash Builder 4. Works great but I want to run the app without installing it. So..... when I install the app, I copy the files from program files and paste it on a CD and give it to somebody. He runs it on another computer without AIR runtime with as result that it doesn't work. How can I bypass this? Like some launcher/setup that installs AIR runtime for the client if it aint installed. If it is installed, run the AIR app.

感谢。

推荐答案

创建AIR徽章将是一个不错的选择。 我们的想法是你通过一个链接到客户端,AIR徽章检查 AIR安装。如果是,安装在您的应用程序,否则安装AIR 第一位。

Creating an AIR Badge would be a good option. The idea is you pass a link to the client, the AIR Badge check if AIR is installed. If it is, installs your app, otherwise installs AIR first.

有一个pretty的良好在Adobe开发人员连接网站 AIR獾教程。 AIR獾是AIR应用程序格兰特斯金纳写道,使设置更简单。

There's a pretty good AIR Badger tutorial on the Adobe Developer Connection site. AIR Badger is an AIR App Grant Skinner wrote to make the setup easier.

还检查了新的 AIR Launchpad的,这是另一个AIR应用程序,可以帮助你开始与所有类型的AIR相关的功能,其中包括安装徽章。

Also check out the new AIR Launchpad, which is another AIR app that helps you get started with all sort of AIR related functions, including install badge.

不幸的是,AIR獾在线工作。

Unfortunately the AIR Badger works online.

您不能旁通空气安装。也许有一个第三方工具(批处理脚本/等),看起来航空相关的文件/文件类型的.air协会和基于该启动你提供的CD或应用程序本身的AIR安装程序。

You cannot bypass AIR install. Maybe have a third party utility(batch script/etc.) that looks for air related files/.air filetype associations and based on that launches an AIR installer you supply on CD or the app itself.

OSX 您在 MDLS 命令显示有关文件的信息。你可以检查 kMDItemKind

On osx you have the mdls command that displays information about a file. You could check for kMDItemKind:

mdls -name kMDItemKind /path/to/yourApp.air

如果它打印com.adobe.air.InstallerPackage,然后在空气中进行安装,否则将只打印一号文件。

If it prints "com.adobe.air.InstallerPackage", then air should be installed, otherwise it will just print "Document".

应该有相似的Windows命令提示符下,检查注册表文件类型关联的东西。 当你这样做了检查,第一个或只是应用程序安装AIR,根据结果。

There should be something similar for windows command prompt that checks registry file type associations. After you've done that check, install AIR first or just the app, depending on the result.

心连心

这篇关于不AIR运行时文件运行AIR应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆