In the help file, there is a section called Deploying .NET Applications:
Lifecycle Guide. This guide will help with custom installers and may answer
all of your questions.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
Author: ADO.NET and XML: ASP.NET on the Edge

************************************************** **************************
****
Think Outside the Box!
************************************************** **************************
****
"Yurai Núñez Rodríguez" <yurain@cadicsa.com> wrote in message
news:eyiENQ7SDHA.2724@TK2MSFTNGP10.phx.gbl...
> Hello!!
>
> I need to get Virtual Directory and Port information (which is
> shown/modified in the Installation Address dialog) to be used in a Custom
> Action during installation of a Web Application.
>
> To explain it in details: I need to get the information respecting Port
and
> Target Directory of a Web Project during its installation. That
information
> can be entered by the user in the Installation Address form but... as long
> as I know it can not be got from this dialog as is can be done in any
custom
> User Interface Dialog using one of its properties. I need to use it later
in
> the setup process as parameters in a Custom Action. Is there any variable
or
> registry value or anyplace where I can get this information from??
>
> Thanks in advance
>
> Yurai
>
>
>
>