首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Votive (Wix)的Visual Studio扩展证书验证失败

Votive (Wix)的Visual Studio扩展证书验证失败
EN

Stack Overflow用户
提问于 2019-12-01 06:05:16
回答 1查看 157关注 0票数 0

安装Votive是Wix - Windows安装程序的一个扩展,在Votive 2017和Votive 2019 Visual Studio扩展上都会失败。原因是证书验证错误。如何更新根证书并安装Visual Studio扩展而不出现证书验证错误?

EN

回答 1

Stack Overflow用户

发布于 2019-12-01 06:08:49

可以使用以下Powershell命令安装Votive,以使用Windows Update刷新根证书。

代码语言:javascript
复制
mkdir c:\certs #temporary folder where the certificates will be installed/updated
cd c:\certs 
certutil.exe -generateSSTFromWU roots.sst
$sstStore = ( Get-ChildItem -Path C:\certs\roots.sst )
$sstStore | Import-Certificate -CertStoreLocation Cert:\LocalMachine\Root

-generateSSTFromWU选项将所有证书下载到一个.sst文件中,该文件可以通过双击使用MMC打开,但我运行上面列出的Powershell命令也安装了所有证书。

这样做之后,安装了Votive扩展,我可以打开Visual Studio解决方案,其中包含.wixproj Wix项目。这对Votive 2017和Votive 2019都有效。

可以将WixToolset与Chocolatey一起安装,但我需要Visual Studio扩展-名为Votive。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/59120685

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档