J
jacky kwok
Dear All:
In VS2005 WebSetup installer InstallAddress dialog, there is field to
let user to select which website to install the webapp (if there are
more than one WebSite in the IIS).
I want to know how can I get the WebStie info in the customAction.
I can use "/VDIR=[TARGETVDIR]" in customActiondata to get the installed
VirtualDirectory.
However, I cannot find any info how to receive the "WebSite" info.
There is a old example,
http://msdn.microsoft.com/library/d...internetinformationserverduringdeployment.asp
to use "/PORT=[TARGETPORT]" to find out the Site, but it does not work
in VS2005 websetup installer.
I need to website info to explicitly set the webapp to use ASPNET2.0 in
case of the machine to have multiple different version Dotnet runtime to
be installed.
The function to set the ASPNET runtime ,
http://www.asp.net/faq/SideBySide.aspx?tabindex=0&tabid=1
,need to use such format ,
aspnet_regiis -s w3svc/1/ROOT/VirtualDirectoy
for different website the "w3svc/[1]/ROOT/..." is different , e.g.
"w3svc/2/ROOT/..."
I need a method to get the information.
Thank you very much
In VS2005 WebSetup installer InstallAddress dialog, there is field to
let user to select which website to install the webapp (if there are
more than one WebSite in the IIS).
I want to know how can I get the WebStie info in the customAction.
I can use "/VDIR=[TARGETVDIR]" in customActiondata to get the installed
VirtualDirectory.
However, I cannot find any info how to receive the "WebSite" info.
There is a old example,
http://msdn.microsoft.com/library/d...internetinformationserverduringdeployment.asp
to use "/PORT=[TARGETPORT]" to find out the Site, but it does not work
in VS2005 websetup installer.
I need to website info to explicitly set the webapp to use ASPNET2.0 in
case of the machine to have multiple different version Dotnet runtime to
be installed.
The function to set the ASPNET runtime ,
http://www.asp.net/faq/SideBySide.aspx?tabindex=0&tabid=1
,need to use such format ,
aspnet_regiis -s w3svc/1/ROOT/VirtualDirectoy
for different website the "w3svc/[1]/ROOT/..." is different , e.g.
"w3svc/2/ROOT/..."
I need a method to get the information.
Thank you very much