我创建了一个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/):
- 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
发布评论