简单的默认 Wix MSIX 项目在构建时引发 FgExcludeDarwinFeatures 错误
Simple Default Wix MSIX Project Throws a FgExcludeDarwinFeatures Error On Build
我正在测试 WiX 框架的 MSIX 功能。当我尝试构建时收到以下错误:
light.exe(0,0): error LGHT0221: The definition for the
'FgExcludeDarwinFeatures' table's 'Feature_' column is a foreign key
relationship to the 'Feature' table's column number 1. The
modularization types of the two column definitions differ: one is
Column and the other is None. Change one of the modularization types
so that they match.
我的设置:
遵循以下安装说明:https://www.firegiant.com/wix/wep-documentation/getting-started
在 visual studio 2019 年创建了一个默认的 wix 安装项目。包括 FgMsixExtension.wixext.dll,包括 Wix 元素上的 fgmsix.xsd 属性。
我是 运行 工具集 v3.11.2.4516(最新)。扩展包 v3.11.476 - 2020-12-22(最新)
项目在没有 MSIX 行的情况下编译良好,并且包含 FgMsixExtension.wixext
知道我遗漏了什么吗?
还有谁有我也可以比较的工作 WiX msix 示例吗?
为了以防万一,这里是对 Wix 模板的默认安装项目的快速编辑:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:fga="http://www.firegiant.com/schemas/v3/wxs/fgmsix.xsd">
<Product Id="*" Name="SetupProject3" Language="1033" Version="1.0.0.0" Manufacturer="test1" UpgradeCode="77c4b832-ed73-4ba2-825c-7eee7837a8f4">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<fga:Msix Id="testy" Publisher="CN=test1" Target="desktop" />
<!--<fga:Application Id="MyApp" ExecutableFile="prodFile" />-->
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Media Id="1" Cabinet="test.cab" EmbedCab="yes" />
<Feature Id="ProductFeature" Title="SetupProject3" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="SetupProject3" />
</Directory>
</Directory>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
<Component Id="ProductComponent">
<File Id="prodFile" Source="C:\Program Files (x86)\WiX Toolset v3.11\bin\FireGiant.LicensingTool.exe" />
</Component>
</ComponentGroup>
</Product>
</Wix>
刚刚结束与 FireGiant 支持的对话。这是由于一个错误:
The dev team published the fix in v3.11.479. This should solve the issue you faced.
Let us know if you have any other questions or problems.
Happy packaging!
-- FireGiant Support
v3.11.479 于 2021 年 1 月 15 日发布
我正在测试 WiX 框架的 MSIX 功能。当我尝试构建时收到以下错误:
light.exe(0,0): error LGHT0221: The definition for the 'FgExcludeDarwinFeatures' table's 'Feature_' column is a foreign key relationship to the 'Feature' table's column number 1. The modularization types of the two column definitions differ: one is Column and the other is None. Change one of the modularization types so that they match.
我的设置:
遵循以下安装说明:https://www.firegiant.com/wix/wep-documentation/getting-started
在 visual studio 2019 年创建了一个默认的 wix 安装项目。包括 FgMsixExtension.wixext.dll,包括 Wix 元素上的 fgmsix.xsd 属性。
我是 运行 工具集 v3.11.2.4516(最新)。扩展包 v3.11.476 - 2020-12-22(最新)
项目在没有 MSIX 行的情况下编译良好,并且包含 FgMsixExtension.wixext
知道我遗漏了什么吗?
还有谁有我也可以比较的工作 WiX msix 示例吗?
为了以防万一,这里是对 Wix 模板的默认安装项目的快速编辑:
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:fga="http://www.firegiant.com/schemas/v3/wxs/fgmsix.xsd">
<Product Id="*" Name="SetupProject3" Language="1033" Version="1.0.0.0" Manufacturer="test1" UpgradeCode="77c4b832-ed73-4ba2-825c-7eee7837a8f4">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
<fga:Msix Id="testy" Publisher="CN=test1" Target="desktop" />
<!--<fga:Application Id="MyApp" ExecutableFile="prodFile" />-->
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<Media Id="1" Cabinet="test.cab" EmbedCab="yes" />
<Feature Id="ProductFeature" Title="SetupProject3" Level="1">
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="SetupProject3" />
</Directory>
</Directory>
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
<!-- TODO: Remove the comments around this Component element and the ComponentRef below in order to add resources to this installer. -->
<Component Id="ProductComponent">
<File Id="prodFile" Source="C:\Program Files (x86)\WiX Toolset v3.11\bin\FireGiant.LicensingTool.exe" />
</Component>
</ComponentGroup>
</Product>
</Wix>
刚刚结束与 FireGiant 支持的对话。这是由于一个错误:
The dev team published the fix in v3.11.479. This should solve the issue you faced.
Let us know if you have any other questions or problems.
Happy packaging!
-- FireGiant Support
v3.11.479 于 2021 年 1 月 15 日发布