如何将许可协议添加到 AIR 应用程序安装程序?
我开发了一个 AIR 应用程序,现在我想将其中一个许可证文本框架添加到安装过程中。
这可能吗?
I developed an AIR Application, and now i want to add one of those License Text Frames to the install process.
Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我所做的是将 .air 安装程序包装在本机安装程序中。例如,在 Mac OS X 上,您可以使用应用程序 DMG Canvas(免费,15 美元的捐赠软件),其中包括 EULA 功能,用于为 .air 安装程序创建 .dmg。我确信 Windows 也可以采取类似的方法。
当然,虽然这种方法对于简单的 AIR 跨平台性来说并不理想,但在我的情况下,也许在您的情况下,我无论如何都必须打包 AIR 本机安装程序,因为我在应用程序中使用本机进程,因此添加此额外的 EULA这一步并没有那么困难。
what i've done is wrap the .air installer inside a native installer. for example, on Mac OS X, you could use the application DMG Canvas (free, $15 donationware), which includes an EULA feature, to create a .dmg for the .air installer. i'm sure a similar approach could be taken for Windows as well.
of course, though, this method isn't ideal for simple AIR cross-platformability, but in my case, and perhaps in yours, i had to package AIR native installers anyway since i was using native processes in my application so adding this extra EULA step wasn't so much of a stretch.
从我所看到的一切来看,这是不可能的。
http://www.adobe.com/devnet/air/articles/air_badge_install.html
看起来没有一种机制可以在安装时显示并让用户接受最终用户许可协议。如果我发现一些东西,我会进一步挖掘并更新这个答案。
您可以做的是在第一次运行应用程序时显示许可协议,如果他们不接受,则不允许他们继续。您还需要存储接受信息,这样您就不会再次显示它等。
From everything I am seeing, this isn't possible.
http://www.adobe.com/devnet/air/articles/air_badge_install.html
It doesn't look like there is a mechanism to show and have the user accept an end user license agreement at installation. I will dig around some more and update this answer if I find something.
What you could do instead is show the license agreement on the first run of the application and do not allow them to continue if they do not accept. You would also need to store the acceptance so you don't show it again, etc.