Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Deployment: access to VirtualDirectory in installer?

Deployment: access to VirtualDirectory in installer?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminwindows-adminquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Niels Flensted Jensen
    wrote on last edited by
    #1

    I'm creating an installer for an ASP.NET application. As part of that I need to make another application on the same machine aware of the URL of a particular Web Service. To do this I want to set a registry value, but it seems I can only access the installers TARGETDIR property (which is something like c:\inetpub\wwwroot\blabla). What I would like were properties like VIRTUALDIR and PORT. I mean, you are entering them as part of the installation process anyway, so shouldn't there be a way? Thanks in advance, Niels

    G 1 Reply Last reply
    0
    • N Niels Flensted Jensen

      I'm creating an installer for an ASP.NET application. As part of that I need to make another application on the same machine aware of the URL of a particular Web Service. To do this I want to set a registry value, but it seems I can only access the installers TARGETDIR property (which is something like c:\inetpub\wwwroot\blabla). What I would like were properties like VIRTUALDIR and PORT. I mean, you are entering them as part of the installation process anyway, so shouldn't there be a way? Thanks in advance, Niels

      G Offline
      G Offline
      gokselm
      wrote on last edited by
      #2

      I am not sure but they might be in the Context parameters. But I am not sure. You can reach the Context parameters and the key values using the enumerator of Context.Parameters. They should be in this context parameters. You can reach this parameters class inside your Installer class.

      N 1 Reply Last reply
      0
      • G gokselm

        I am not sure but they might be in the Context parameters. But I am not sure. You can reach the Context parameters and the key values using the enumerator of Context.Parameters. They should be in this context parameters. You can reach this parameters class inside your Installer class.

        N Offline
        N Offline
        Niels Flensted Jensen
        wrote on last edited by
        #3

        I already tried the Context parameters (in my Installer class) with no luck. But thanks anyway. Anyone aware of any documentation of what Properties are available from the standard set of folders etc.?

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups