Re: How to get the installed WebSite in VS2005 WebSetup installer customAction?



Yuan Ren[MSFT] wrote:
Hi Jacky,

Thank for posting!

For the current issue, my understanding is that you want to get the web info via using ASDI for IIS. If I have misunderstood anything, please let me know.

Based on my experience, the article you mentioned in the previous thread is specified for IIS 5.0. So I want to know the current version of the IIS in your machine. In another word, could you please tell my about the version of the current OS?

BTW, I'll perform the test to figure out how to get the information for IIS. It will take me some period to approach this. So, I appreciate your understanding and patience. I'll reply you ASAP when I get some information. If you have any concerns, please feel you free to let me know.

Regards,

Yuan Ren [MSFT]
Microsoft Online Support
======================================================
PLEASE NOTE the newsgroup SECURE CODE and PASSWORD were updated on February 14, 2006. Please complete a re-registration process by entering the secure code mmpng06 when prompted. Once you have entered the secure code mmpng06, you will be able to update your profile and access the partner newsgroups.
====================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from this issue. ======================================================
This posting is provided "AS IS" with no warranties, and confers no rights. ======================================================


Thank you very much.

In my case, I do not care what is the IIS version.
My question is I need to make the WebSetup installer which can set the web application to suitable dotnet version in case of the machine has multiple framweork installed.

The target machine may be XP or 2003, IIS may be 5 or 6.

In fact, I know how to queue how many websites in the IIS.

In VS2005 Websetup installer, user can select which website to install the application in the Windows to input VirtualDirectory.

My main question is that how can I know my webapp has been installed in which website? (in the customAction of the websetup installer)


i.e. "w3svc/1/ROOT/..." or "w3svc/2/ROOT/..." ...

Then my installer can set the suitable framework version by call script
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.xxxx\aspnet_regiis -s w3svc/N/ROOT/..."


--
Jacky Kwok
jacky@alumni_DOT_cuhk_DOT_edu_DOT_hk
jacky@compose_DOT_com_DOT_hk
.



Relevant Pages

  • RE: Remove WSUS 3.0
    ... C:\Program Files\Update Services folder should not be compressed, ... Also confirm that the source (where the installer is kept) is ... Gather IIS log and metabase ... Gather IIS Metabase: ...
    (microsoft.public.windows.server.sbs)
  • Re: 1.1 SP1 doesnt install
    ... There are posts elsewhere from MS that say perhaps the W3SVC and SMPTP ... They depend on IIS, so I plan to shut down IIS ... Definitive Guide to Windows Installer ... > To get it installed properly, I had to uninstall 1.1, which then lead me ...
    (microsoft.public.dotnet.framework)
  • Re: Detect in C# the name of the ASP.NET user.
    ... And under Windows 2003 and up, ... Depending on the settings of your IIS you can have multiple aspnet_wp or w3wp's running under different credentials. ... In my installer process I need to get ... Asking IIS somehow? ...
    (microsoft.public.dotnet.framework.aspnet)
  • I need a way to uninstall IIS 7 (and ASP) under WOW64
    ... more luck under this forum, since ASP is involved, somewhat, in my problem. ... In a Web server installer that I'm maintaining, we keep track of whether or ... value is there and no other Web sites are using IIS on that machine, ... The following is the command that we launch in order to remove IIS 7 and ASP ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: 2 Subdomains - 1 IP Address
    ... Also from your comments I think my understanding on how ... The real reason for my problem seems to be that IIS ... >Home Directory specified for site2 and look for one of the documents listed ... >entries are for the default website. ...
    (microsoft.public.inetserver.iis)

Loading