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

  • 相关阅读:
    1009 说反话 (20 分)
    1007 素数对猜想 (20 分)
    Visual Studio2017下载方法
    百词斩和扇贝打卡测试与评估
    创建者模式->工厂模式
    STM32F427|----------IO讲解与应用
    MySQL的索引
    STM32F103RCt6 与 MG996R
    2020物联网实验室的考核题目
    初学数据库-MySQL&IDEA&Navicat
  • 原文地址:https://www.cnblogs.com/hqbird/p/2013299.html
Copyright © 2011-2022 走看看