« Previous Next »

Thread: custom deployment method?

Last post 06-20-2009 1:35 AM by kateroh. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-26-2009, 6:18 PM

    • heph
    • Not Ranked
    • Joined on 03-26-2009, 10:11 PM
    • Posts 2

    custom deployment method?

    Are there any plans to allow custom providers or methods in version 1 of msdeploy? In my environment, I would like to be able to run either batch files or commands to stop or start iis and/or stop or start services both before and after a deployment. It looks like a custom Method would most likely do the trick but I cannot find any guidance on how to do this or if it is even possible.

     Any help would be appreciated.

  • 03-26-2009, 7:48 PM In reply to

    Re: custom deployment method?

    As of version 1, the API is public.  There are two parts of the API. 

    1) The consumer side which is basically the side that MSDEPLOY.EXE, our UI, Web Platform Installer, etc. use. 

    2) The provdier side which allows people to write providers (like dirPath, setAcl, appHostConfig, etc).  This is the side that you could extend to write a "remote batch/command execution" provider. 

    In the next few weeks, some folks will be posting samples to show how to write a provider. 

    That's a long winded way to say "yes, you'll be able to extend MSDEPLOY to do this, and you can do it today."

    (BTW, the team has been considering writing such a provider as you describe)

     

  • 03-27-2009, 8:57 AM In reply to

    • heph
    • Not Ranked
    • Joined on 03-26-2009, 10:11 PM
    • Posts 2

    Re: custom deployment method?

    excellent! thank you for the info.

  • 03-30-2009, 3:08 PM In reply to

    • yaminij
    • Top 50 Contributor
    • Joined on 09-25-2007, 12:41 AM
    • Posts 182

    Re: custom deployment method?

    Thanks
    Yamini Jagadeesan, SDET, Microsoft IIS Team
  • 06-20-2009, 1:35 AM In reply to

    • kateroh
    • Top 50 Contributor
    • Joined on 10-27-2008, 11:19 PM
    • Posts 137

    Re: custom deployment method?

    And here is an article on how to write a batch file provider with code and explanations. Based on RC version of MSDeploy.

    Thanks,
    Katerina Rohonyan, SDET, Microsoft IIS Team
Page 1 of 1 (5 items)