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

  • 相关阅读:
    今天还做了点有意义的事
    读“记当年的公开课”
    无语
    小议如何控制学生机结束学生端多媒体控制平台程序
    今天去了中山
    Windows服务创建及安装
    SQL Server数据库表锁定原理以及如何解除表的锁定示例演示
    本地SQL脚本操作外部服务器结果集
    list.FindAll
    一个高效的数据分页的存储过程 可以轻松应付百万数据
  • 原文地址:https://www.cnblogs.com/hqbird/p/2013299.html
Copyright © 2011-2022 走看看