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

  • 相关阅读:
    .NET版UEditor报请求后台配置项http错误,上传功能无法使用的错误解决
    [Asp.net mvc]Asp.net mvc 中使用LocalStorage
    Asp.net mvc Kendo UI Grid的使用(三)
    [Asp.net mvc]Asp.net mvc 使用Json传递数据
    Asp.net mvc Kendo UI Grid的使用(二)
    接口
    结构
    多态
    继承
    方法
  • 原文地址:https://www.cnblogs.com/hqbird/p/2013299.html
Copyright © 2011-2022 走看看