如何为VS2017安装WiX安装程序扩展

时间:2019-07-23 11:29:45

标签: visual-studio-2017 wix visual-studio-extensions

我希望在那里有人可以启发我有关尝试安装WiX VS2017扩展的情况。当我尝试通过VS2017 Extension Manager安装时,该过程失败。以下是相关的错误日志的内容:

23/07/2019 11:58:02 - Command line parameters:
23/07/2019 11:58:02 - C:\Program Files (x86)\Microsoft Visual Studio\2017 \Professional\Common7\IDE\vsixinstaller.exe,/appidinstallpath:C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.exe,/skuName:Pro,/skuVersion:15.0.27428.2015,/appidname:Microsoft Visual Studio Professional 2017,/culture:en-US,C:\Users\TE602510\AppData\Local\Temp\VSIXl4vrmrr1.vsix
23/07/2019 11:58:02 - -------------------------------------------
23/07/2019 11:58:02 - Microsoft VSIX Installer
23/07/2019 11:58:02 - -------------------------------------------
23/07/2019 11:58:05 - Initializing Install...
23/07/2019 11:58:05 - Extension Details...
23/07/2019 11:58:05 -   Identifier         :  WixToolset.VisualStudioExtension.Dev15
23/07/2019 11:58:05 -   Name               : Wix Toolset Visual Studio 2017 Extension
23/07/2019 11:58:05 -   Author             : WiX Toolset
23/07/2019 11:58:05 -   Version            : 1.0.0.4
23/07/2019 11:58:05 -   Description        : Visual Studio integration for the WiX Toolset - the most powerful set of tools available to create your Windows installation experience.
23/07/2019 11:58:05 -   Locale             : en-US
23/07/2019 11:58:05 -   MoreInfoURL        : http://wixtoolset.org/
23/07/2019 11:58:05 -   InstalledByMSI     : False
23/07/2019 11:58:05 -   SupportedFrameworkVersionRange : [4.0,)
23/07/2019 11:58:05 - 
23/07/2019 11:58:07 -   SignatureState     : ValidSignature
23/07/2019 11:58:07 -   SignedBy           : WiX Toolset (.NET Foundation)
23/07/2019 11:58:07 -   Certificate Info   : 
23/07/2019 11:58:07 -       -------------------------------------------------------
23/07/2019 11:58:07 -       [Subject]       : CN=WiX Toolset (.NET Foundation), O=WiX Toolset (.NET Foundation), L=Redmond, S=wa, C=US, SERIALNUMBER=603 389 068
23/07/2019 11:58:07 -       [Issuer]        : CN=.NET Foundation Projects Code Signing CA, O=.NET Foundation, C=US
23/07/2019 11:58:07 -       [Serial Number] : 0D5EF90303C2280377DFE04D74E20861
23/07/2019 11:58:07 -       [Not Before]    : 03/04/2019 01:00:00
23/07/2019 11:58:07 -       [Not After]     : 07/04/2022 13:00:00
23/07/2019 11:58:07 -       [Thumbprint]    : C95FC39334E667F3DD3D82AF382E05719B88F7C1
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 -   Supported Products : 
23/07/2019 11:58:07 -       Microsoft.VisualStudio.Community
23/07/2019 11:58:07 -           Version : [15.0,16.0)
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 -   References         : 
23/07/2019 11:58:07 -       -------------------------------------------------------
23/07/2019 11:58:07 -       Identifier   : WixToolset.VisualStudioExtension.Schemas3
23/07/2019 11:58:07 -       Name         : WiX Toolset v3 Schemas for Visual Studio
23/07/2019 11:58:07 -       Version      : 
23/07/2019 11:58:07 -       MoreInfoURL  : 
23/07/2019 11:58:07 -       Nested       : Yes
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 -       -------------------------------------------------------
23/07/2019 11:58:07 -       Identifier   : WixToolset.VisualStudioExtension.Schemas4
23/07/2019 11:58:07 -       Name         : WiX Toolset v4 Schemas for Visual Studio
23/07/2019 11:58:07 -       Version      : 
23/07/2019 11:58:07 -       MoreInfoURL  : 
23/07/2019 11:58:07 -       Nested       : Yes
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 -   Prerequisites      : 
23/07/2019 11:58:07 -       -------------------------------------------------------
23/07/2019 11:58:07 -       Identifier   : Microsoft.VisualStudio.Component.CoreEditor
23/07/2019 11:58:07 -       Name         : Microsoft.VisualStudio.Component.CoreEditor
23/07/2019 11:58:07 -       Version      : [15.0,16.0)
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 - Signature Details...
23/07/2019 11:58:07 -   Extension is signed with a valid signature.
23/07/2019 11:58:07 - 
23/07/2019 11:58:07 - System.IO.FileLoadException: Could not load file or   assembly 'Microsoft.VisualStudio.Threading, Version=15.5.0.0,  Culture=neutral,   PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly   reference. (Exception from HRESULT: 0x80131040)
File name: 'Microsoft.VisualStudio.Threading, Version=15.5.0.0,  Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
   at VSIXInstaller.SupportedVSSKU.get_Host()
   at VSIXInstaller.SupportedVSSKU.CreateExtensionEngine()
   at System.Lazy`1.CreateValue()
   at System.Lazy`1.LazyInitValue()
   at System.Lazy`1.get_Value()
   at VSIXInstaller.App.GetExtensionEngineForApplicableSKU(SupportedVSSKU supportedSKU, IInstallableExtension installableExtension, List`1 applicableSKUs, Boolean isRepairSupported)
   at VSIXInstaller.App.GetInstallableData(String vsixPath, Boolean isRepairSupported, IEnumerable`1& skuData)
   at VSIXInstaller.App.Initialize(Boolean isRepairSupported)
   at VSIXInstaller.App.Initialize()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

VS2017是一个全新的安装,据我所知是完全成功的。安装VS2017之后,我立即转到VS Extension Manager,然后选择了WiX Installer Extension。按照指示关闭VS时,产生了以上错误。以管理员身份进行安装。

0 个答案:

没有答案