0

使用今天(2012-12-03)从本页链接下载的 WebPICmd ,每当我尝试安装任何软件包时都会收到一些错误消息。

显然它无法下载预定义的 Microsoft 提要(我没有通过 cmdline args 提供任何自定义提要)。谷歌搜索这些消息给我零结果。

这是输出:

PS E:\approot\bin\webpicmdline> .\WebpiCmdLine.exe /Products:whatever

The software that you obtain using the Web Platform Installer Command Line Tool is licensed to you by its owner.  Micros
oft grants you no rights for third party software.

Successfully loaded metadata from feed https://www.microsoft.com/web/webpi/3.0/webproductlist.xml
Failed to Load feed: https://www.microsoft.com/web/webpi/3.0/webapplicationlist.xml
More than one product with productId 'DotNetNukePro'
Failed to Load feed: https://www.microsoft.com/web/webpi/3.0/mediaproductlist.xml
An item with the same key has already been added.
Failed to Load feed: https://www.microsoft.com/web/webpi/3.0/toolsproductlist.xml
Failed to resolve OS List with id: 'OSList_VS2010_Shell'
Failed to Load feed: https://www.microsoft.com/web/webpi/3.0/enterpriseproductlist.xml
An item with the same key has already been added.

通过 GUI PI 安装可以正常工作。

我尝试删除所有临时提要 XML 文件,通过 GUI PI 中的按钮删除缓存,似乎没有任何解决问题的方法。

有想法该怎么解决这个吗?

4

1 回答 1

2

GUI 可以工作,因为您可能正在使用 Web Platform Installer 4.0。你下载的命令行工具还是老的3.0版本。

只需使用 4.0 命令行工具,一切都会正常工作。您可以在 Web Platform Installer 安装目录中找到它(它与 GUI 应用程序一起提供):C:\Program Files\Microsoft\Web Platform Installer\WebpiCmd.exe

于 2012-12-03T11:46:06.803 回答