Title: Get portnumber of IIS

Hi.

I am installing webservices with WiX below the "Default Web Site". I have a number of different servers to install on and some of them use non-standard ports like 81, 82 and so on.

Is there a way for WiX to get this information? I saw a post that indicates that the portnr is stored in the metadatabase (http://weblogs.asp.net/kennykerr/archive/2004/08/10/IIS-Web-Site-Port-Numbers.aspx

) but I couldn't find any WiX actions that could read values from this database.

It's the PORT_NR here that I would like to detect. Now I have to specify it on the command line (or GUI).

<WebSite Id='DefaultWebSite' Description='Default Web Site'>
      <WebAddress Id='AllUnassigned' Port='[PORT_NR]' />
</WebSite>

>MyApp.msi PORT_NR=82

-Christer

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to