的Adobe AIR应用程序的EXE在USB记忆棒 [英] Adobe Air App EXE on a USB Stick

查看:229
本文介绍了的Adobe AIR应用程序的EXE在USB记忆棒的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:事实证明,这里所描述的问题,通过一个过时版本的Adobe AIR运行时被引发。 AIR应用程序我写的是编译AIR 2,但电脑正在运行空气1.5。更新计算机航2.7(当前版本在写作的时候)解决了这一问题。不幸的是,在旧的运行时中运行一个新的AIR应用程序产生一个误导性的错误。当心!

As it turns out, the issues described here were caused by an outdated version of the Adobe Air runtime. The Air app I had written was compiled for Air 2, but the computers were running Air 1.5. Updating the computers to Air 2.7 (the current version at the time of writing) fixed the problem. Unfortunately, running a newer Air app in an older runtime generates a misleading error. Beware!

原贴:

我要建一个内部应用的AIR应用程序在我的公司。我需要安装该应用USB数据棒,以使安装的应用程序,也可以迅速地从一台计算机移到另一。这只是正常的Mac电脑,用的.air产生的.app程序运行得很好无论Mac上它移动到。

I'm building an Air app for internal use at my company. I need to install the app to a USB data stick, so that the installed app may be quickly moved from one computer to another. This works just fine on Macs, with the .air generated .app program running just fine on whatever Mac it is moved to.

当我做这在Windows,但是,它只能是执行的.air文件的初始安装在计算机上。移动棒到另一台计算机并运行程序.EXE导致错误消息:该应用程序的安装已损坏尝试重新安装或寻求帮助联系发布

When I do this on Windows, however, it only works on the computer that performed the initial installation of the .air file. Moving the stick to a different computer and running the program .exe results in an error message: "The installation of this application is damaged. Try reinstalling or contacting the publisher for assistance".

这是预期的行为?有没有什么办法,无论是生成的EXE?计算机上运行一个USB数据棒的AIR的.exe

Is this the expected behaviour? Is there any way to run an AIR .exe on a USB data stick regardless of the computer that generated the EXE?

只是要清楚:我并不想在计算机之间移动的安装程序,但导致运行安装程序的.exe文件。我想运行的.air安装一次,走的.exe结果,把它放在一个数据棒,然后运行任何一台计算机上的.exe文件。

Just to be clear: I'm not looking to move the installer between computers, but the .exe that results from running the installer. I want to run the .air installer once, take the .exe result, put it on a data stick, and then run that .exe on any computer.

推荐答案

有一个简单的方法,我总是使用(我从来没有见过它没有工作的情况下)。

There's an easy method I always use (and I have never met the cases it hadn't worked).

编译的.air包,您的计算机上安装它。在此之后,复制从应用程序文件夹中的以下文件(保持目录结构不变),并运行任何Windows机器,安装了AIR框架上。

Compile ".air" package, install it on your computer. After that, copy the following files from the app folder (keeping the directory structure intact) and run on any Windows machine which has the AIR framework installed.

最小设定文件的复制:

\META-INF\AIR\application.xml
YourApp.exe
YourApp.swf

再次,限制 - 您的应用程序只能在Windows上运行

Once again, the limitation - your app can only be run on Windows.

这篇关于的Adobe AIR应用程序的EXE在USB记忆棒的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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