0

我有一个单独的 MSIdevenv /setup作为我的安装包的一部分运行,但是这个包总是失败。

WXS 看起来像这样,我是否遗漏了什么:

<Product Id="*" Name="$(var.Prep_ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="fdd723a3-5072-437b-a0c4-88cca6173fc7">
    <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

    <MajorUpgrade AllowDowngrades="yes" />

    <PropertyRef Id="VS2015DEVENV" />
    <CustomActionRef Id="VS2015Setup" />
    <UIRef Id="WixUI_ErrorProgressText" />

    <InstallExecuteSequence>
      <Custom Action="VS2015Setup" Before="InstallFinalize">
        <![CDATA[VS2015DEVENV]]>
      </Custom>
    </InstallExecuteSequence>
4

2 回答 2

1

这里的问题是捆绑包没有组件表,这导致安装程序发生灾难性故障。这永远不会奏效。

于 2015-12-31T01:03:55.083 回答
0

这很可能会失败,因为您无法运行递归 MSI 安装。您的 MSI 执行序列中不能有自定义操作来安装另一个基于 MSI 的设置。这就是为什么(例如)有安装要求的必备 setup.exe 程序的原因。在这种情况下,您应该制作一个 WiX 捆绑包并单独安装它们。

于 2015-12-29T18:21:16.903 回答