JAVA FX Deploy部分中未解析对符号'WixUI:WixUI

编程入门 行业动态 更新时间:2024-10-23 15:22:23
本文介绍了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(visualstudio.microsoft/):

  • VS :安装Visual Studio,不添加任何内容-仅安装核心安装程序( visualstudio.microsoft/).
  • VS :添加以下单个组件:
    • NET Framework 3.5开发工具
    • .NET编译器平台SDK.随之而来的是几个依赖包:
      • "C#和Visual Basic"
      • .NET编译器平台SDK"
      • 等等...
      • 分步教程 有关如何将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

    本文发布于:2023-11-12 20:36:06,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1582469.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:符号   中未   FX   JAVA   Deploy

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!