如何添加“-ext WixUIExtension”在Netbeans的蚂蚁脚本? [英] How to add "-ext WixUIExtension " to ant script in Netbeans?
问题描述
这是 JavaFX
, Netbeans IDE
中我的本机构建脚本的输出。
This is output of my native build script in JavaFX
, Netbeans IDE
.
这是通过Netbeans的默认版本。
This is default build via Netbeans.
Running [light, -nologo, -spdb, -sice:60,
C:\Users\Firma\AppData\Local\Temp\build7911949220829827228.fxbundler\tmp\Client.wixobj, **-ext, WixUtilExtension**, -out,
C:\devjava\rms\client\src\trunk\Client\dist\bundles\Client-2.0.msi] in
C:\Users\Firma\AppData\Local\Temp\build7911949220829827228.fxbundler\images\win-msi\Client
我正在尝试自定义Wix UI界面,这是我需要使用的方式 WixUIExtension
。
I'm trying to customize Wix UI interface, that is way I need to use WixUIExtension
.
如何在NB中的构建过程中添加 - ext WixUIExtension
。
How can I add "-ext WixUIExtension "
to my building process in NB.
我不知道这是否可以在NB中自定义。
推荐答案
<这很棘手。我认为在Netbeans 8中,当涉及到原生包装时,他们仍在解决问题。但是,如果您使用标准的JavaFX ANT任务,那么只需在调用< fx时打包图像:部署>
。之后你会想要调用WIX ANT任务。这些可以在 http://ant.apache.org/antlibs/bindownload.cgi
It is tricky. I think that they're still ironing out the kinks when it comes to native packaging in Netbeans 8. However, if you're using the standard JavaFX ANT tasks then just package the image when calling <fx:deploy>
. After that you'll want to call WIX ANT tasks. These can be downloaded at http://ant.apache.org/antlibs/bindownload.cgi
将 ant-dotnet-1.1.jar 添加到ANT类路径后,您将能够使用UI扩展调用WIX喜欢......
Once you add ant-dotnet-1.1.jar to your ANT classpath then you'll be able to call WIX with the UI extension like so...
<wix mode="candle" source="package/windows/<YOUR_PROJECT>.WSX" wixobjdestdir="${dist.dir}/bundles"/>
<wix mode="light" source="${dist.dir}/bundles/YOUR_PROJECT.wixobj" target="${dist.dir}/YOUR_PROJECT_NAME.msi">
<lightarg line="-ext WixUIExtension"/>
</wix>
这篇关于如何添加“-ext WixUIExtension”在Netbeans的蚂蚁脚本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!