It doesn't appear to work. I am trying to do the following:
<Property id="WebSitePort" value="[PUBLICSITEPORT]" />
And this property is used in the IIS:Website table as this value can be set by
other setup packages too whcih include this wxs file.
<iis:WebSite Id="MyWebServer" Directory="C:\MyApp"
Description="[SITENAMEPROPERTY]"> <iis:WebAddress Id="SitePort"
Port="[WebSitePort]" /> </iis:WebSite>
When i do this, i get the following error:
ConfigureIIs: Error 0x8007000d: invalid port provided for web site:
ConfigureIIs: Error 0x8007000d: failed to read IIsWebSite tableMSI (s) (74!00)
[09:56:20:798]: Product: Test Web Server -- Error 26002. Failed to read
IIsWebSite table. (-2147024883 )
Thanks
Ravi
From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; [EMAIL PROTECTED]: Sun, 14 Jan 2007
13:22:16 -0800Subject: RE: [WiX-users] Setting Port value through property...
That should work. However, only upper-case Properties can be specified from
the command-line.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ravikumar
GopinathSent: Sunday, January 14, 2007 11:11 AMTo: [EMAIL PROTECTED]:
[WiX-users] Setting Port value through property...
I need to set the "Port" and "description" value of a website based on user's
input. I am trying to use a property, but the install fails. If I was using a
CustomTable, I could have used "session.FormatString" method. However, since
this is a wix defined table, I am not sure how to tell it to format it. Is
there any other way of achieving the same result? <iis:WebSite
Id="MyWebServer" Directory="C:\MyApp"
Description="[SITENAMEPROPERTY]"> <iis:WebAddress Id="SitePort"
Port="[WebSitePort]" /> </iis:WebSite>ThanksRavi
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users