473,385 Members | 1,402 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.

Deploying on non-standard port w/multiple virtual directories

In our setup project, we have the standard web
application folder, but we also have 4 web custom folders
(virtual directories) that are created at the same level
as the web application folder (i.e. not subdirectories).
The setup works fine as long as the user leaves the
default setting of port 80. If they choose something
different, the install program loads the web application
folder correctly at the non-standard port, but it
installs the other 4 virtual directories (web custom
folders) in the standard port 80 web. I realize I can
hardcode a port number in the properties for each web
custom folder, but then the install program becomes
specific to each customer. Does anyone know of a way to
tell a web custom folder to use the same port that was
selected by the end-user during the install process for
the main web application folder?

-Greg W.
Nov 17 '05 #1
2 2191
So, there is a way to do this... You need to know the Property property
values for each of your Web Custom Folders. Typically, they are something
like NEWWEBPROPERTY1.

Then, you need to run your install from the command line. Let's say your
web server is on port 20 instead. You also need to include TARGETPORT for
the Web Application Folder. So, your command line would look like this for
just one web folder, add more PROPERTY=VALUE pairs for each web folder...

msiexec /i mywebsetup.msi TARGETPORT=20 NEWWEBPROPERTY1PORT=20

That should redirect each listed folder's port to the specified port.

You might want to remove the Installation Address dialog, since if someone
changes the port in the UI during install time, the Custom Web Folders will
use the command line value.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Greg W." <an*******@discussions.microsoft.com>
Sender: "Greg W." <an*******@discussions.microsoft.com>
Subject: Deploying on non-standard port w/multiple virtual directories
Date: Thu, 13 Nov 2003 11:39:46 -0800
Lines: 18
Message-ID: <03****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOqHeTFIi70zHrCSt+2NoOrTsBwvg==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:190742
NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

In our setup project, we have the standard web
application folder, but we also have 4 web custom folders
(virtual directories) that are created at the same level
as the web application folder (i.e. not subdirectories).
The setup works fine as long as the user leaves the
default setting of port 80. If they choose something
different, the install program loads the web application
folder correctly at the non-standard port, but it
installs the other 4 virtual directories (web custom
folders) in the standard port 80 web. I realize I can
hardcode a port number in the properties for each web
custom folder, but then the install program becomes
specific to each customer. Does anyone know of a way to
tell a web custom folder to use the same port that was
selected by the end-user during the install process for
the main web application folder?

-Greg W.


Nov 17 '05 #2
That's great. Thanks for the info David.

-Greg
-----Original Message-----
So, there is a way to do this... You need to know the Property propertyvalues for each of your Web Custom Folders. Typically, they are somethinglike NEWWEBPROPERTY1.

Then, you need to run your install from the command line. Let's say yourweb server is on port 20 instead. You also need to include TARGETPORT forthe Web Application Folder. So, your command line would look like this forjust one web folder, add more PROPERTY=VALUE pairs for each web folder...
msiexec /i mywebsetup.msi TARGETPORT=20 NEWWEBPROPERTY1PORT=20
That should redirect each listed folder's port to the specified port.
You might want to remove the Installation Address dialog, since if someonechanges the port in the UI during install time, the Custom Web Folders willuse the command line value.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.--------------------
Content-Class: urn:content-classes:message
From: "Greg W." <an*******@discussions.microsoft.com>
Sender: "Greg W." <an*******@discussions.microsoft.com>
Subject: Deploying on non-standard port w/multiple virtual directoriesDate: Thu, 13 Nov 2003 11:39:46 -0800
Lines: 18
Message-ID: <03****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOqHeTFIi70zHrCSt+2NoOrTsBwvg==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:190742NNTP-Posting-Host: TK2MSFTNGXA09 10.40.1.161
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

In our setup project, we have the standard web
application folder, but we also have 4 web custom folders(virtual directories) that are created at the same levelas the web application folder (i.e. not subdirectories).The setup works fine as long as the user leaves the
default setting of port 80. If they choose something
different, the install program loads the web applicationfolder correctly at the non-standard port, but it
installs the other 4 virtual directories (web custom
folders) in the standard port 80 web. I realize I can
hardcode a port number in the properties for each web
custom folder, but then the install program becomes
specific to each customer. Does anyone know of a way totell a web custom folder to use the same port that was
selected by the end-user during the install process for
the main web application folder?

-Greg W.


.

Nov 17 '05 #3

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

Similar topics

0
by: Sean Campbell | last post by:
Hi, My group have a ASP.NET based application ( currently running on 1.0.3705 ). Ideally, we would like to deploy new components(asp files/assemblies/db updates) into a live environment without...
1
by: Terry H | last post by:
Hi I am deploying a winforms app via the windows installer and a VS.Net 2003 setup and deploymnet project. At the moment, I am adding launch conditions for the .Net Framework 1.1 and MDAC 2.7...
0
by: Corvettious | last post by:
I have been deploying my ../Bin/*.dlls with no problem until finally I tried to deploy the latest and the FTP site will not longer allow me to upload a certain DLL.... So I thought, fine I will do...
2
by: Flip | last post by:
I am deploying webapps using XP (IIS5) and deploying them to a Windows 2003 Server box (IIS6). So far so good. However, when I try to manage my w2k3 server from XP, I get an error message saying...
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
4
by: Ronny Salomonsen | last post by:
Hi, I'm soon going to deploy my application using InstallShield (Professional). I'm going to add MSDE and .NET Framework, but just wanted to know how I'm supposed to create the actual database...
4
by: john | last post by:
I think some of the changes to Asp.net are rediculous. Take the ability to deploy source code to production that is compiled on the fly. If this is such a great model, why not distribute your...
0
by: Dave | last post by:
Hello The application I'm building an installer for uses dlls which were developed originally in C. Since the application itself is developed in C#, these dlls were wrapped using SWIG....
6
by: Ryan | last post by:
Is there any way to save a VB 2005 created application as an .MSI install file? The only method I see is to publish as a .EXE. Curious because I want to push out an application with Group Policy....
0
by: rote | last post by:
I have a project i created using TableAdapters(Datasets with .xsd) and everything works well on my PC. But when i create a websetup project and deploy it to another server. I keep getting Error...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: 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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.