【问题标题】:Azure Web Platform Installer cmdline fails to download predefined feedsAzure Web 平台安装程序 cmdline 无法下载预定义的源
【发布时间】:2012-12-03 11:09:15
【问题描述】:

今天(2012-12-03)使用从this page 上的链接下载的 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 中的按钮删除缓存,似乎没有任何解决问题的方法。

关于如何解决这个问题的任何想法?

【问题讨论】:

    标签: windows powershell azure web-platform-installer


    【解决方案1】:

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

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

    【讨论】:

    • 谢谢,伙计!我希望微软更新他们的下载链接,因为 Windows 没有包管理器......你知道任何只能从某个地方下载 cmdline 的方法吗?
    • 仅限预览版:go.microsoft.com/fwlink/?LinkId=233753。如果你想要决赛,我认为你需要先安装完整的 WPI 并使用 WebpiCmd.exe 和 Microsoft.Web.PlatformInstaller.dll。
    • 微软对非 Windows 开发者的喜爱一如既往。好吧,无论如何,非常感谢,我几乎把头发都扯掉了。
    猜你喜欢
    • 2016-03-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-09-06
    • 2012-10-30
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多