zoukankan      html  css  js  c++  java
  • 安装Feature

    cd "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"

    set FeatureFilePath=DMContentTypeSettings\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_CreateBaseLineFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_DeleteDocFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_DocPlanNewVersionFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_SubmitDocFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_ViewDocAttrFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    set FeatureFilePath=DMS_ViewDocPlanFeature\feature.xml
    set TargetSiteUrl=http://localhost:1979

    stsadm -o installfeature -filename  "%FeatureFilePath%"

    stsadm -o activatefeature -filename "%FeatureFilePath%" -url "%TargetSiteUrl%"

    iisreset /timeout:0

  • 相关阅读:
    适用于ASP.NET的留言本(翻译)
    大足石刻一日游
    Zonet 宽带路由器eMule端口映射设置
    在公式编辑器中使用键盘
    TAU G2的错误信息:TSC0134: Transition must end with stop, nextstate or join action
    Sony DV的CCD也是有问题的
    使用UltraEdit实现从UNIX文件到DOS文件的批量转换
    在PowerPoint中改变公式编辑器的颜色
    如何在Visual Studio.NET 2003下编译ANTLR 2.77
    如何修复修复损坏的TAU G2的.u2文件
  • 原文地址:https://www.cnblogs.com/hqbird/p/2013299.html
Copyright © 2011-2022 走看看