Deployment: access to VirtualDirectory in installer?
-
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
-
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
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.
-
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.
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.?