JAVA FX Deploy部分中未解析对符号'WixUI:WixUI_InstallDir'的引用 [英] Unresolved reference to symbol 'WixUI:WixUI_InstallDir' in section for JAVA FX Deploy

查看:58
本文介绍了JAVA FX Deploy部分中未解析对符号'WixUI:WixUI_InstallDir'的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个Java fx应用程序,并且正在自定义MSI安装程序.我将我的Software.wxs添加到package/windows目录,但出现错误:

I created a java fx application and am customizing the MSI installer. I added my Software.wxs to the package/windows directory and I am getting the error:

Unresolved reference to symbol 'WixUI:WixUI_InstallDir' in section 

我了解我需要引用C:\ Program Files(x86)\ WiX Toolset v3.11 \ bin \ WixUIExtension.dll,我已经在Visual Studio&在命令行中,但是我将eclipse与build.xml ANT部署一起使用.

I understand I need to reference C:\Program Files (x86)\WiX Toolset v3.11\bin\WixUIExtension.dll which I have seen documentation for in visual studios & in command line but I am using eclipse with the build.xml ANT deploy.

如果我未引用任何WixUIExtension,则我的项目会完美创建MSI,但我想自定义安装程序.关于如何将此参考纳入我的项目的想法?

If i do not reference any WixUIExtension's my project creates the MSI perfectly, but I want to customize the installer. ANy ideas on how to get this reference into my project?

我已经尝试过:在software.wxs中,但这不认可Itemgroup元素

I have tried: this in the software.wxs but it does not acknowledge the Itemgroup element

<ItemGroup>
    <WixExtension Include="WixUIExtension">
      <HintPath>C:\Program Files (x86)\WiX Toolset v3.11\bin\WixUIExtension.dll</HintPath>
      <Name>WixUIExtension</Name>
    </WixExtension>
</ItemGroup>

推荐答案

VS最小安装 :作为替代答案,我想列出您需要安装的最小组件使WiX项目可以与Visual Studio一起编译.这也适用于其他看到此答案的人,因此请忽略它是否不适合您和您的环境:

VS Minimal Installation: As an alternative answer I want to list the minimal components you need to install to get WiX projects to compile with Visual Studio. This is also for others who see this answer, so please just ignore if it is not for you and your environment:

步骤 :这是基于Visual Studio 2017(https://visualstudio.microsoft.com/):

  1. VS :安装Visual Studio,不添加任何内容-仅安装核心安装程序(
  2. .NET编译器平台SDK"
  3. 等等...


分步教程 有关如何将Visual Studio与Votive配合使用来处理WiX项目.


Step-By-Step tutorial on how to use Visual Studio with Votive to deal with WiX projects.

这篇关于JAVA FX Deploy部分中未解析对符号'WixUI:WixUI_InstallDir'的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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