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

  • 相关阅读:
    前端学习 -- Css -- 盒子模式
    前端学习 -- Css -- 文本样式
    Shell脚本学习
    前端学习 -- Css -- 行间距
    前端学习 -- Css -- 字体的几个属性学习
    前端学习 -- Css -- 字体分类
    前端学习 -- Css -- 字体
    前端学习 -- 颜色
    前端学习 -- 长度单位
    前端学习 -- Css -- 定义列表
  • 原文地址:https://www.cnblogs.com/hqbird/p/2013299.html
Copyright © 2011-2022 走看看