【问题标题】:Web Platform Installer - Customize Web Application Installation UIWeb 平台安装程序 - 自定义 Web 应用程序安装 UI
【发布时间】:2013-02-21 18:08:03
【问题描述】:

我正在尝试实现一个 Web 应用程序,它可以通过 Microsoft Web 平台安装程序部署以供私人使用(我不想发布我的应用程序,所以我制作了一个自定义提要)。 我可以通过 Web 平台安装程序在我的 IIS 上部署我的 Web 应用程序,但不是以我想要的方式,因为我无法调整安装 UI。

我在我的项目中创建了一个 paramaters.xml:

<?xml version="1.0" encoding="utf-8" ?>
<parameters>
<parameter name="Paramètre 1" description="Blablabla" defaultValue="MySite/MyApplication" tags="IisApp">
    <parameterEntry kind="ProviderPath" scope="iisApp" match="MySite/MyApplication" />
</parameter>
<parameter name="Paramètre 2" description="Blablabla" defaultValue="MySite" tags="AppHostConfig">
    <parameterEntry kind="ProviderPath" scope="appHostConfig" match="MySite" />
</parameter>
<parameter name="Paramètre 4" description="Blablabla" defaultValue="C:\inetpub\wwwroot\MySite\MyApplication" tags="PhysicalPath">
    <parameterEntry kind="DestinationVirtualDirectory" scope="MySite/MyApplication/" match="" />
</parameter>
<parameter name="Paramètre 5" description="Blablabla" defaultValue="MyAppPool" tags="AppPoolConfig">
    <parameterEntry kind="ProviderPath" scope="appPoolConfig" match="MyAppPool" />
</parameter>

感谢您的帮助,对不起我的英语。

【问题讨论】:

  • 您的具体问题是什么?
  • 我想用我的参数调整这部分安装:link

标签: iis web-applications web-platform-installer


【解决方案1】:

您不能让 Web PI 自动加载您的自定义提要。但是,您可以使用 WebPICmdLine tool 自动执行该过程。

【讨论】:

    【解决方案2】:

    我没有将 manifest.xml 文件放入我的包中,因此配置屏幕没有出现。

    <?xml version="1.0" encoding="utf-8"?>
    <MSDeploy.iisApp>
    <iisapp path="application" />
    </MSDeploy.iisApp>
    

    虽然,您必须在 Web Platform Installer 的选项中激活 Web 应用程序的所有参数的配置。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多