473,406 Members | 2,713 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,406 software developers and data experts.

VS2003 web deployment question

Hi,

I have developed a ASP.NET app and made a web deployment project. I wish to
add a custom action to change some of the files. In order to do this I need
to know the location of my installed files. The only thing the user may
change is the virtual directory and the port of the site my app is installed
to. I know there's this [TARGETDIR] property which relates to these values,
but I'm not clear whether it's the virtual directory name, or the actual path
to my files. Either way, how do I pass the path of my files to the custom
action?

Thanks in advance
John Roper
Jul 21 '05 #1
2 1842
I can partially answer this question...

[TARGETDIR] is the folder in which the web app is placed e.g.
c:\inetpub\wwwroot\myapp and I can pass it into an installerclass using the
CustomActionData property thus:

/targetdir="[TARGETDIR]\"

However, I am at a loss as to how to find out which port the user has
selected (which is in the same dialog as they set the virtual root). Does
anyone have any ideas??
"John Roper" wrote:
Hi,

I have developed a ASP.NET app and made a web deployment project. I wish to
add a custom action to change some of the files. In order to do this I need
to know the location of my installed files. The only thing the user may
change is the virtual directory and the port of the site my app is installed
to. I know there's this [TARGETDIR] property which relates to these values,
but I'm not clear whether it's the virtual directory name, or the actual path
to my files. Either way, how do I pass the path of my files to the custom
action?

Thanks in advance
John Roper

Jul 21 '05 #2
Have you any ideas what i've done wrong??

"John Roper" wrote:
Hi,

I have developed a ASP.NET app and made a web deployment project. I wish to
add a custom action to change some of the files. In order to do this I need
to know the location of my installed files. The only thing the user may
change is the virtual directory and the port of the site my app is installed
to. I know there's this [TARGETDIR] property which relates to these values,
but I'm not clear whether it's the virtual directory name, or the actual path
to my files. Either way, how do I pass the path of my files to the custom
action?

Thanks in advance
John Roper

Jul 21 '05 #3

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

Similar topics

0
by: John Roper | last post by:
Hi, I have an issues with my web app deployment project. The project actually has an ASP.NET site and a web service site, which are both destined to be virtual directories under a root website...
2
by: EmmanuelE | last post by:
Just installed VS2003 and tried a hello world app. Getting 404 error even when I explictly specify the start page in the url. In IIS Mgr (v 5.1), App has .aspx mapped to...
5
by: Dan Smith | last post by:
When I try to create a new C# Web Reference in Visual Studio 2003, I get an error message "The proxy settings on this computer are not configured correctly for web discovery. ..." This web...
7
by: tonelab | last post by:
I currently have VS2003 .net 1.1 installed with a number of 1.1 projects built in it. All of these projects create the /bin dll for deployment and have been running on remote servers that have the...
6
by: EmmanuelE | last post by:
Just installed VS2003 and tried a hello world app. Getting 404 error even when I explictly specify the start page in the url. In IIS Mgr (v 5.1), App has .aspx mapped to...
2
by: John Roper | last post by:
Hi, I have developed a ASP.NET app and made a web deployment project. I wish to add a custom action to change some of the files. In order to do this I need to know the location of my installed...
5
by: Tony | last post by:
Hi all, Here's the link to the issue we were seeing on our ASP.NET system when modifying, adding and deleting directories in framework 2.0....
2
by: Peter Bradley | last post by:
We have upgraded an ASP.NET solution from VS2003 (.NET 1.1) to VS2005 (.NET 2.0). On rebuilding the solution, no dll appears in the bin folder of the Web site. Is this the usual case for VS2005...
5
by: nicknack | last post by:
Hello. I have a pc with visual studio 2005 working well. I tried to install VS2003 along with the VS2003 so I can work on an old project built with VS2003 and FW1.1. The problem is that when...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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,...
0
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.