473,394 Members | 1,699 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,394 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 1841
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: 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: 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
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
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
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...
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
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.