VS2003 web deployment question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Roper

    #1

    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
  • John Roper

    #2
    RE: VS2003 web deployment question

    I can partially answer this question...

    [TARGETDIR] is the folder in which the web app is placed e.g.
    c:\inetpub\wwwr oot\myapp and I can pass it into an installerclass using the
    CustomActionDat a 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:
    [color=blue]
    > 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[/color]

    Comment

    • Stephen

      #3
      RE: VS2003 web deployment question

      Have you any ideas what i've done wrong??

      "John Roper" wrote:
      [color=blue]
      > 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[/color]

      Comment

      Working...