自定义MSI安装程序 [英] Customizing MSI installer

查看:111
本文介绍了自定义MSI安装程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 http://docs.oracle.com/javafx/2/deployment/self-contained-packaging.htm :

要将自定义UI添加到MSI包中,可以自定义JavaFX使用的WiX模板文件 打包程序使用6.2.4中的技术.有关更多详细信息,请查阅WiX文档.

To add a custom UI to the MSI package, you can customize WiX template file used by JavaFX Packager using technique from 6.2.4. Consult WiX documentation for more details.

假设我知道如何创建自定义模板文件,如何将其传递给JavaFX Maven插件?

Assuming I figure out how to create a custom template file, how do I pass it into the JavaFX Maven Plugin?

推荐答案

借助javafx-maven-plugin(2.0)创建本机包时,我们不得不在main/deploy/package/windows中提及应用程序图标/demo.ico,然后将部署目录中存在的图标添加到类路径中,就像如果将wix模板添加到部署目录中一样,则wix模板可能在类路径中可用.

When native package is created with the help of javafx-maven-plugin(2.0) we have to mention the icon for application in main/deploy/package/windows/demo.ico then the icon present in the deploy directory added to classpath like that if wix template is added in deploy directory then it might be possible that the wix template is available at classpath.

然后,该wix脚本可以被javafxpackager使用,就像使用图标一样.最后,javafx插件在内部使用javafxpackager.

Then this wix script may be use by javafxpackager like the icon is use.ultimately the javafx plugin uses the javafxpackager internally.

这篇关于自定义MSI安装程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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