Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 171395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:58:49+00:00 2026-05-11T12:58:49+00:00

I need to deploy my web service. It needs to run in a separate

  • 0

I need to deploy my web service. It needs to run in a separate application pool in IIS with its own credentials.

Is it possible to do this by using a Web Setup Project in VS 2008?

By default, I seem to only be able to choose an existing application pool.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T12:58:50+00:00Added an answer on May 11, 2026 at 12:58 pm

    I’ve been down this road before and unfortunately you’ll need to create the application pool manually or write a Custom Action to manage this for you.

    Further to Grzenio’s question in the comments below:

    ‘Could you give me a hint where to start looking for the code/helper classes? And do you keep your project a Web Setup Project, or just use the standard application setup project?’

    I added a new project called InstallHelper to the solution containing the setup project. In that project I created a class called InstallActions which derives from:

    System.Configuration.Install.Installer (MSDN).

    There are four methods you can override on the Installer base class to allow you to specify custom actions depending on whether you’re in the Install, Commit, Uninstall or Rollback phases when the installer is running.

    I also added a number of text box dialogues to the setup project user interface. Input and state captured from these dialogues is passed to your custom install action via a dictionary. i.e.:

    using System.Collections.Specialized; using System.ComponentModel; using System.Configuration.Install; using System.Windows.Forms;  namespace InstallHelper {   [RunInstaller(true)]   public partial class PostInstallActions : Installer   {        public override void Install(IDictionary state)     {       base.Install(state);       // Do my custom install actions     }      public override void Commit(IDictionary state)     {       base.Commit(state);       // Do my custom commit actions     }      public override void Uninstall(IDictionary state)     {       base.Uninstall(state);       // Do my custom uninstall actions     }     public override void Rollback(IDictionary state)     {       base.Uninstall(state);       // Do my custom rollback actions     }   } } 

    To add your custom action project to the setup project, open the Custom Actions viewer/editor and specify the output from the InstallHelper project.

    That’s the basics and should get you started. The Web Setup Project also supports custom actions and additional user input dialogue boxes, so you may wish to re-use your existing project, in addition to a custom action.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 83k
  • Answers 83k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I have seen it happen in Delphi 7 when a… May 11, 2026 at 4:48 pm
  • Editorial Team
    Editorial Team added an answer That's correct, there's no tooltip/alt text property in a HyperlinkField.… May 11, 2026 at 4:48 pm
  • Editorial Team
    Editorial Team added an answer Take a look at GWT's Overlay Types. I think this… May 11, 2026 at 4:48 pm

Related Questions

I need to consume an external web service from my VB6 program. I want
Currently I am evaluating number of web service frameworks in Java. I need web
I am now in the process of planning the deployment of a SharePoint solution
I need to deploy a webservice as part of a DotNetNuke 4.x module that

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.