473,770 Members | 1,994 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Web Setup projects - how to allow install multiple times?

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
instances - e.g., DEV, TEST, etc., as I see fit.

However, when once instance has already been installed, the web setup
project will not install further instances; instead, I get a message
that it has already been installed and I must use Control Panel
Add/Remove programs to remove it before I can install it again.

Is there a way to override this, so that I can run it multiple times
for install different virtual folders? I am sick of using Copy Project
to do this becuase there are other steps that I have ecapsulated in
the web setup project...
Nov 17 '05 #1
1 2827
This is how Windows Installer is designed. What you would need to do is
create another setup.msi for each instance with a different UpgradeCode and
ProductCode, so that you could install and remove each independant instance.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: go********@hotm ail.com (Luther Miller)
Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
Subject: Web Setup projects - how to allow install multiple times?
Date: 15 Oct 2003 09:33:48 -0700
Organization : http://groups.google.com
Lines: 15
Message-ID: <8c************ **************@ posting.google. com>
NNTP-Posting-Host: 67.96.43.11
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google. com 1066235628 18124 127.0.0.1 (15 Oct 2003 16:33:48 GMT)X-Complaints-To: gr**********@go ogle.com
NNTP-Posting-Date: Wed, 15 Oct 2003 16:33:48 +0000 (UTC)
Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!new s-out.cwix.com!ne wsfeed.cwix.co
m!news.maxwell. syr.edu!postnew s1.google.com!n ot-for-mailXref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1843 61
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet

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
instances - e.g., DEV, TEST, etc., as I see fit.

However, when once instance has already been installed, the web setup
project will not install further instances; instead, I get a message
that it has already been installed and I must use Control Panel
Add/Remove programs to remove it before I can install it again.

Is there a way to override this, so that I can run it multiple times
for install different virtual folders? I am sick of using Copy Project
to do this becuase there are other steps that I have ecapsulated in
the web setup project...


Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4203
by: Wilson Ricardo Passos Oliveira | last post by:
Hi fellows, I have two simple questions regarding the Framework's deploy and the Setup and Deploy Projects: 1. As I've read in another posts and newsgroups (and as I can imagine), VS.NET IDE isn't capable of create a setup and deploy project and, in a elegant way, during the setup process, detect the absence of the Framework. In this case, I'd like to run the Dotnetredist.exe file, first, and the
6
2035
by: Paul | last post by:
Hello everyone: I am developing a VB.Net Windows Application and I am now ready to create the deployment project for it. This application needs to be installable on a different number of users / clients, and the application has an Access DB out on their network. How can I create a deployment routine where I can have a dialog box prompt for the network share (i.e. \\server\dbfolder) at install-time? Once network the share is specified...
1
3218
by: StevenBarnes | last post by:
I have a solution with 6 or so projects, some dts dll's, a couple images, etc. I have a working setup project that creates a nice installation msi. Cool. Now I want to obfuscate my .exe and my .dll's, & have the Setup project build using the obfuscated files. I manually copy the obfuscated files back into each project's obj/release folder. Then I build the setup project (while not re-building anything else, of course). That seems to...
3
1760
by: John | last post by:
Hi I have an app to deal with two companies A & B within a group of companies depending on which database is selected. Is it possible for setup to ask the user at install time which company they want to install the app for and then pass the relevant database path as parameter in the desktop shortcut? Thanks Regards
3
1927
by: Gina_Marano | last post by:
Hey All, I have created an application and an installer for it using Visual Studios "Setup and Deployment" project template. It works great (for the simplicity that I require) except that it doesn't allow multiple instances. The user needs to be able to install 1 or more copies of the program on to their computer (in different directories).
14
1466
by: =?Utf-8?B?R2F1cmF2?= | last post by:
Hi, I use the Setup project in C# to create a .msi file to be distributed to the clients. The size of .msi is 12 MB. This file works fine on all the target machines, but on the development machine every time I remove the existing .msi (from add/remove programs) and install a new version, the size increases by 13-14 MB. Since i have to install the .msi multiple times... this size increase is
6
4069
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is an issue, what else is available?
1
2542
by: =?Utf-8?B?Qi4gQ2hlcm5pY2s=?= | last post by:
I am reviewing Windows service programming. I'm running VS2005 and programming in VB. I've just found an example in Support: 'How to create a Setup project for a Windows Service in Visual Basic .NET or in Visual Basic 2005' http://support.microsoft.com/kb/317421 I've been able to program and run this example without problems. However, I wonder if I'm missing the point here. How do you deploy a service like this to a machine...
1
1498
by: harry_noble1902 | last post by:
Hello I have a "solution" that has 7 VB.Net projects in it. Some of the VB.Net projects are dll librarys but 3 are applications (so there are 7-3=4 dlls) I want to install with a setup program/application. I have created a Setup application as part of my "solution" using the wizard. One of the windows in my Setup application has a check box that says "Install Application 1". Another checkbox says "Install Application 2". The last one...
0
9618
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10259
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10101
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10038
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.