[英]How to install third party msi or exe or bin first and then when its done, start the main application?
Here is the problem, myapp.jar works and runs. 这是问题所在,myapp.jar可以运行。 But it has other native dependencies.
但是它还有其他本机依赖性。
It has other third party libraries dependencies, which need to be installed first in windows and linux/mac depending on the user platform. 它具有其他第三方库依赖项,具体取决于用户平台,需要首先将它们安装在Windows和linux / mac中。
How the third_ party _will_it_install_or_just_download_only.exe OR third_ party _will_it_install_or_just_download_only.bin 第三方 _will_it_install_or_just_download_only.exe或第三方 _will_it_install_or_just_download_only.bin
Can be installed automatically ? 可以自动安装吗? They are themselves separate installations also.
它们本身也是单独的装置。
> <?xml version="1.0" encoding="utf-8"?>
> <jnlp spec="1.0+" codebase="http://localhost:8080/"
> href="advance.jnlp" >
>
>
> <information>
> <title>Test</title>
> <vendor>Testing</vendor>
> <homepage href="http://localhost:8080/"/>
> <description>Demo</description>
> <offline-allowed/>
> </information>
>
>
> <security>
> <all-permissions/>
> </security>
>
>
> <resources>
> <property name="jnlp.packEnabled" value="true"/>
> <jar href="myapp.jar" />
> </resources>
>
> <resources os="Windows" arch="x86">
>
> <j2se version="1.5+"/>
>
> <jar href="third___party___will_it_install_or_just_download_only.exe"/>
>
> </resources>
>
> <resources os="Linux" arch="i386">
> <j2se version="1.5+"/>
> <jar href="third___party___will_it_install_or_just_download_only.bin"/>
> </resources>
>
> <application-desc main-class="web.Application" />
>
> </jnlp>
If the installers simply do the effect of adding natives to the run-time class-path, then the ExtensionInstallerService will not be required. 如果安装程序只是简单地执行将本机添加到运行时类路径的效果,则不需要ExtensionInstallerService。
In that case, just add the natives themselves to the root of a Jar file for each OS and add references to those Jars into the resources section (suitably partitioned for each OS) as nativelib elements. 在这种情况下,只需将本机本身添加到每个OS的Jar文件的根目录中,然后将对这些Jar的引用添加到资源部分(适合每个OS进行分区)中,作为nativelib元素。
@finnw BTW: Nice link to the EIS demo. @finnw BTW:到EIS演示的不错链接。 I might be biased though - I wrote it.
我可能还是有偏见-我写了它。 ;)
;)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.