Wix 3.11主要升级问题“设置WebAppPool身份时,WriteIIS7ConfigChanges失败”

时间:2019-01-02 03:37:41

标签: wix major-upgrade wix3.11

我是WIX的新手。我正在尝试使用wix对我们的产品实施升级。我在某处读到WIX的新版本带有“ MajorUpgrade”标记,该标记负责升级产品。这就是我所使用的。

<Product Id="*" Name="$(var.ProductName)" 
        Language="1033" Version="$(var.ProductVersion)"  Manufacturer="$(var.Manufacturer)"
        UpgradeCode="$(var.ProductUpgradeCode)">

<Package Id ="*" 
         InstallerVersion="200" Compressed="yes" InstallScope="perMachine"
         InstallPrivileges="elevated" />

<MajorUpgrade Schedule="afterInstallValidate" AllowDowngrades="no" AllowSameVersionUpgrades="yes" MigrateFeatures="yes"
              DowngradeErrorMessage="A later version of [ProductName] is already installed. Setup will now exit." 
             />

我现在有以下问题。

1)Wix 3.11的主要升级标签给了我这个错误。 “ 设置WebAppPool身份时,WriteIIS7ConfigChanges失败。 因此,升级失败。我知道这是WIX 3.10的问题。不知道问题是否在3.11中仍未解决。如果问题仍未解决,我们如何克服上述错误?

我引用的链接是:

https://github.com/wixtoolset/issues/issues/5451

对我们来说是一个障碍。在这方面的任何帮助对我们都将非常有用。

谢谢。

0 个答案:

没有答案