473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

VB 2005 Multiple instance deployment

balabaster
797 Expert 512MB
Hi, I'm trying to figure out how to install multiple instances of a Windows Service on a single machine using the deployment Setup Project.

We have a Windows Service that's configurable through the app.config file so that the service can be configured to do different things when it's fired up. We have a number of different configurations that aren't compatible with each other and consequently need multiple instances of this service installed (on the same box).

Using the InstallUtil application, I was able to customize my Installer Initialize routine to ask the user for the name that is needed to be assigned to this Windows Service at install time. All of this works perfectly is far from professional. So my next step is to change the installer to receive the user input from the Project installer, which again all works fine and the service installs and runs as I would expect - I now have a professional setup program that installs my service.

The issue I'm running into is when I come to install the second instance of this component. The only issue with this is that the Setup Project doesn't seem to allow you the ability to install multiple instances of the same application on the same box.

Anyone have any ideas? I've scoured through books and all over the internet and have drawn a blank. Is there any way to do this with the Visual Studio 2005 Setup Project?

Cheers in advance!
Mar 27 '07 #1
1 1545
balabaster
797 Expert 512MB
I'm wondering if there's some way for the person installing the application to set the name of the application in the setup project, i.e. a page that says "What should this service be called?" and then it uses that for the name of the application in the Add/Remove programs list as well as the service name in the services list.

If anyone could give me a pointer in the direction of how I would go about achieving this, I would be most grateful.

Cheers again.
Apr 3 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Luther Miller | last post by:
I've created a web setup project that works great for installing an ASP.NET application to a virtual directory on a server. I'd like to be able to use the same setup program to install multiple...
2
by: Marcus | last post by:
I have seen many posts of people with the same problem as me (attached below), but I have yet to see any solutions posted. Has anyone figured out how to deploy an Asp.net web site to the webserver...
16
by: Kent | last post by:
We have created several Assemblies that we add to the GAC on our web servers. In an ASP.NET app in VS2003, Adding a reference to strong named GAC'd Assembly meant that the web app would use...
10
by: Steven Spits | last post by:
Hi, Because we have a large WebApp, back in 2002 we decided to use the following method: http://support.microsoft.com/default.aspx?scid=kb;en-us;307467 In short: Create a project "a" at...
0
by: Mart | last post by:
Hi, I have just written (my first) VB.net app using MS Visual Basic 2005 Express Edition Beta. It is fairly simple, it reads some configuration data from an XML file then opens a new window...
1
by: John Shadel | last post by:
I have the following setup: 1. ASP.NET 2.0 web app hosted on a web server (inetpub directory hosting physical files of the web site on a different drive name, E: than the SQL Server Instance,...
2
by: farseer | last post by:
Hi, I have SQL Server 2005 installed on my dev system. I am working on an app that i would like to distribute SQL Server with. SQL Server EXpress edition seem to be ideal for this. My questions...
10
by: =?Utf-8?B?UHVuaXQgS2F1cg==?= | last post by:
Hi, I am developing a windows application in VS.NET 2005. The application is database driven and I need to deploy it on a client's pc. How should I go about developing such an application. I...
6
by: Adam Clauss | last post by:
We have a service written in C#. The generated code "hardcodes" the service name into the exe. We have a situation where we would like to allow multiple Windows Services to be defined. These...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.