如何正确地强制黑莓的Java应用程序中使用Loader.exe是安装 [英] How to properly force a Blackberry Java application to install using Loader.exe

查看:173
本文介绍了如何正确地强制黑莓的Java应用程序中使用Loader.exe是安装的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想包括应用程序加载过程中的软件安装,以确保用户得到的时候他们的BlackBerry安装了我们的软件,我们的安装软件完成。

我知道这是可能的,因为Aerize卡装载机( http://aerize.com/blackberry/软件/装载机/ )做到这一点。当您安装他们的软件,如果你的黑莓连接应用程序加载上来了,迫使.COD文件安装到设备上。

我不能使它工作。看着RIM自己的文件,我需要:


  • 在这里放置ALX和COD文件到子文件夹:C:\\ Program Files文件\\ Common Files文件\\ Research In Motion公司\\共享\\应用程序\\

  • 添加路径在HKCU \\ SOFTWARE \\研究的ALX文件In Motion公司\\黑莓\\装载机\\包

  • 指数的应用,通过在命令行中执行此:Loader.exe是/指数

  • 启动力载荷,这样做:Loader.exe是/ defaultUSB /的forceload

当我执行这最后的命令,应用程序加载器来了,并说所有的应用程序都是最​​新的,没有什么需要做的事情。

如果我通过双击它(或者在打字的命令不带参数)执行Loader.exe是,我拿到常规应用程序加载器向导。这表明我的程序作为上市,但取消检查。如果我选中它并点击下一步,它将安装到黑莓。 (这是我想避免的一部分,这Aerize卡装载机的安装过程中避免了。)

我在想什么?看来,Aerize安装程序正在做一些不同的东西,但我一直没能确定的东西。


解决方案

您可以轻松地用下面的命令做到这一点:


   C:\\ RIM \\ JDE_4.7.0 \\ BIN \\ JavaLoader.exe -u负荷< .cod文件>

使用这个命令你不需要ALX所有,只是COD文件。看看JavaLoader使用帮助,查看完整的选项。

I want to include the Application Loader process in a software installation, to ensure that users get our software installed on their Blackberry by the time our installer software finishes.

I know this is possible, because Aerize Card Loader (http://aerize.com/blackberry/software/loader/) does this. When you install their software, if your Blackberry is connected the Application Loader will come up and force the .COD file to install to the device.

I can't make it work. Looking at RIM's own documentation, I need to:

  • Place the ALX and COD files into a subfolder here: C:\Program Files\Common Files\Research In Motion\Shared\Applications\
  • Add a path to the ALX file in HKCU\Software\Research In Motion\Blackberry\Loader\Packages
  • Index the application, by executing this at the command line: loader.exe /index
  • Start the force load, by doing this: loader.exe /defaultUSB /forceload

When I execute that last command, the Application Loader comes up and says that all applications are up to date and nothing needs to be done.

If I execute loader.exe by double-clicking on it (or typing in the command with no parameters), I get the regular Application Loader wizard. It shows my program as listed, but un-checked. If I check it and click next, it will install to the Blackberry. (This is the part that I want to avoid, and that Aerize Card Loader's install process avoids.)

What am I missing? It appears that the Aerize installer is doing something different but I haven't been able to ascertain what.

解决方案

You can do it easily with the following command:

   C:\RIM\JDE_4.7.0\bin\JavaLoader.exe -u load <.cod file>

With this command you don't need an alx at all, just the cod file. Look at JavaLoader usage help to see full options.

这篇关于如何正确地强制黑莓的Java应用程序中使用Loader.exe是安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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