VS2003 web deployment question

G

Guest

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
 
G

Guest

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??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top