On Aug 15, 2011, at 10:22 AM, Darryl C. Griffin wrote:

> Hi,
> 
>                I’m looking for an easy way to remove and restore cosign in 
> IIS7 for testing purposes. Currently we are removing the cosign module in 
> IIS, Does anyone have an easier method? In IIS5+ we simply dropped the isapi 
> filter and replaced it. Any info is appreciated

You can batch the removal and installation. Use the README's Installation notes 
as a guide:

        == Installation ==

        Here are the command line options for adding and removing the cosign 
module.

        @REM remove module
        appcmd delete module "Cosign" /app.name:"Default Web Site/"
        appcmd uninstall module "Cosign"
        iisreset
        @REM copy Cosign_Schema.xml
        copy /Y Cosign_Schema.xml C:\Windows\System32\inetsrv\config\schema
        @REM add module
        copy /Y CosignModule.dll C:\Windows\System32\inetsrv
        appcmd install module /name:"Cosign" /image:"CosignModule.dll" 
/add:"false"
        appcmd add module /name:"Cosign" /app.name:"Default Web Site/"

You probably don't need to keep reinstalling the XML schema.

andrew
------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________
Cosign-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cosign-discuss

Reply via email to