Install multiple webservices (in separate virtualdirectories)

Last post 07-03-2009 11:00 AM by guruparanlive. 2 replies.

Sort Posts:

  • Install multiple webservices (in separate virtualdirectories)

    06-22-2009, 1:47 PM

    Hi.

     Tried lot of web articles and solutions..but still i couldnt able to find out a way...

    I have, say for example 3 webservice applications...each has its own web.config...where i use the customdata to modify the web.config with the value the user inputs during installation...everything is fine if the setup project are for each webservice separtely..ie., i have 3 setup projects for 3 services..

    We dont not want all the 3 webservices into a single virtual directory due to our business logic approach...(but all the 3 webservice do share few of the libraries..(in the bin folder)

    If i include the "Custom webfolder" and do an installation ...customdata isnt applied to other webservices..

    is there any way to install multiple webservices with single we deployment project (not using installsheild..we r planning it after 6months only :-(

  • Re: Install multiple webservices (in separate virtualdirectories)

    06-26-2009, 3:30 AM
    Answer

    Hi,

    guruparanlive:

    We dont not want all the 3 webservices into a single virtual directory due to our business logic approach...(but all the 3 webservice do share few of the libraries..(in the bin folder)

    If you don't want to install these web services in one virtual directory, you can create virtual directories for another 2 web services and copy them to target directories in Custom Action.

    To deploy multiple applications using one Web Setup project, we can add other web services folders into one web services folder so that all web services will be copied to target machine. And then use Custom Action to create Virtual Directory and then retrieve these folders and copy them to created Virtual Directory.

    For more information about using Custom Action to create Sites and Virtual Directories in IIS with System.DirectoryServices, see http://msdn.microsoft.com/en-us/library/ms524896.aspx

    I look forward to receiving your test results.

    Thomas Sun
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question.
  • Re: Install multiple webservices (in separate virtualdirectories)

    07-03-2009, 11:00 AM

    Thanks for the reply...it worked fine..

    I will soon try to type in the method i followed (& if possible few codes i used)..such that it will help others in future

    Now we were able to deploy a dozen of virtual directories into 2 different websites on same machine (also created websites using the "installer.cs" itself..

    Thanks for your support..

    Might take a week or two to put in my code here or atleast the code link..

Page 1 of 1 (3 items)